Problem with Registration History Page and PayPal Plugin

  • Joshua Goldberg
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
5 months 2 weeks ago #157662 by Joshua Goldberg
I've just discovered something rather disturbing. I had given my participants the ability to pay for their events/past events where they had previously chosen offline payment using the "Make Payment" button on the Registration History page.
But it turns out, that by allowing that, there's a bug where they can make themselves dissapear from the roster and their debt is wiped away.
When the user clicks "Make Payment" and then chooses a payment method and then clicks "Process registration" their payment method is immediately changed, and their payment status set to "Pending" and they are taken to the payment processor Page (iDeal, PayPal, etc).
If they choose "cancel and go back to merchant", they are taken to a page that says "Your registration has been cancelled."
They no longer show up at all in backend registrant management, even though they're in the DB. 
I knew the registration id of the test case, so I was able to load it. 
His payment method shows as "PayPal" and his payment status still shows "Pending". It seems this is not a use case you allowed for in your display code, so the registration is totally hidden.
This is a BIG problem, as it's a get-out-of-debt free card for users who registered and are now trying to make payment

The registration history page needs to restore their previous payment method and status if they back out of the payment process.
 

File Attachment:

File Name: Problemwit...ory.docx
File Size:570 KB
Attachments:

Please Log in or Create an account to join the conversation.

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
5 months 2 weeks ago #157663 by Tuan Pham Ngoc
This honestly, quite hard because when users redirect to PayPal website for example, they can just close the browser and do not make payment

I will try to find a solution for this problem. But it would require modifying code on different places in the extension

Will update you if I can come up with a solution

Tuan

Please Log in or Create an account to join the conversation.

  • Joshua Goldberg
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
4 months 4 days ago #158438 by Joshua Goldberg
Replied by Joshua Goldberg on topic Problem with Registration History Page and PayPal Plugin
Hi Tuan,

I'm not sure if this is possible, but I think the simplest solution would be to not alter the registration status of the historical registration before sending the user to the payment page. It should be left on "Offline Payment" / "Pending" until a successful payment is made. Once the payment processor returns them to our page, then we would update the Payment method, transaction ID, and payment status all at once.

Please Log in or Create an account to join the conversation.

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
4 months 4 days ago #158440 by Tuan Pham Ngoc
Unfortunately, that won't work. I will need to find a different solution.

Please Log in or Create an account to join the conversation.

Moderators: Tuan Pham Ngoc