Loading...
 
Skip to main content

Payments, registermemberpayment plugin; Payment is done but user is not assigned in the right group

Status
Closed
Subject
Payments, registermemberpayment plugin; Payment is done but user is not assigned in the right group
Version
23.x
24.x
25.x
Category
  • Bug
  • Regression
  • Developer Training
  • Easy for Newbie Dev
Feature
Shopping cart and payment
Wiki Plugin (extends basic syntax)
Resolution status
Duplicate
Submitted by
Bernard Sfez / Tiki Specialist
Keep informed
Adrien
Lastmod by
Bernard Sfez / Tiki Specialist
Rating
(0)
Related-to
Description

I'm testing the PayPal capabilities of Tiki and this is about the "memberpayment" wiki plugin : https://doc.tiki.org/PluginRegisterMemberPayment

Following the doc I used the plugin as simple as possible as well as other requirements;
https://doc.tiki.org/Payment


Groups
I created a group;

  • Enabled "User can assign himself or herself to the group"
  • Set Membership expiry, Number of Days to 365
  • Set Pro-rata Membership to "year".


Payments

  • Payment system: Paypal
  • Currency: Euro
  • PayPal ID: paypal email
  • PayPal environment: Production
  • Enable PayPal instant payment notification (IPN)
  • Enable Payment data transfer (PDT)
  • Set the Payment data transfer (PDT) token
  • Redirect after PDT payment: https://dev.domain.org/BernardPremium_homepage


Subscribe page
I set a plugin:

Copy to clipboard
{registermemberpayment group="BernardPremium " price="1" returnurl="https://dev.domain.org/BernardPremium_homepage"}


Use cases (Paypal payment is completed in all cases)

If a member of the Admins group subscribe himself and do a manual payment: I got a WSoD (https://dev.domain.org/tiki-payment.php). (bad)

If a member of the Admins group subscribe himself and do a Paypal payment: The user is NOT assigned to the group, he is not returned to the Tiki site automatically. If he clicks on "return to merchant" the user is redirected to tiki-payment.php?invoice=nn (bad)

If a registered user and do a Paypal payment: The user is NOT assigned to the group, he is not returned to the Tiki site automatically. If he clicks on "return to merchant" he is returned back to "tiki-payment.php?invoice=nn" (bad)

While I'm not getting into the code I understand 2 mechanism are invoked and not working.
Group assignment
Returning from Paypal

I'm not sure if they are required together to have the user assigned.

Solution
This is duplicate, see "Related-to" field.
Importance
5
Easy to solve?
5
Priority
25
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
8052
Created
Monday 31 January, 2022 11:01:49 UTC
by Bernard Sfez / Tiki Specialist
LastModif
Wednesday 06 April, 2022 08:58:10 UTC


Show PHP error messages