EB_INVALID_REGISTRATION_CODE -> error with payflow

  • WACuser
  • Topic Author
  • Offline
  • New Member
  • New Member
More
11 years 10 months ago - 11 years 10 months ago #42968 by WACuser
I am getting the error: "EB_INVALID_REGISTRATION_CODE" upon completing a registration. The registration itself however is succesful, and the system also sends out an email confirming the registration.

Any idea why the error message shows?

Thanks

UPDATE:
Have done some additional debugging and I am pretty sure it is related to the payment method used. If I change the event price so no credit card transaction takes place, I get the correct confirmation of success etc. However, processing a payment causes this error to occur. I am using the Paypal Payflow extension.
Last edit: 11 years 10 months ago by WACuser. Reason: update

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

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
11 years 10 months ago #43007 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic EB_INVALID_REGISTRATION_CODE -> error with payflow
Hi

Please try to use the solution below to get the issue fixed :

1. Open the file components/com_eventbooking/payments/os_payflowpro.php

2. Find the code below :
Code:
$mainframe->redirect(JRoute::_('index.php?option=com_eventbooking&view=complete&id='.$row->id.'&Itemid='.$Itemid));

3. Change it to:
Code:
$mainframe->redirect(JRoute::_('index.php?option=com_eventbooking&view=complete&registration_code='.$row->registration_code.'&Itemid='.$Itemid));

After that, the issue should be fixed.

Tuan
The following user(s) said Thank You: WACuser

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

  • WACuser
  • Topic Author
  • Offline
  • New Member
  • New Member
More
11 years 10 months ago #43010 by WACuser
Tuan,

Made the code changes and it works like a charm. Thanks for the fix!

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

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
11 years 10 months ago #43033 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic EB_INVALID_REGISTRATION_CODE -> error with payflow
Great. Thanks for confirming. I just updated the download package on server with the modified code, so you won't get the issue again if you download it in the future !

Tuan

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

Moderators: Tuan Pham Ngoc