Invalid registration Record

  • dudumizi
  • Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 8 months ago #101293 by dudumizi
Invalid registration Record was created by dudumizi
Hello, i have integrated Eventbooking with Payment plugin, all goes well, user can complete payment and i can receive payment from provider, but when redirecting, it show Invalid Registration Record and on back end no user in registrants list.

What might be a cause for this?

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

More
8 years 8 months ago #101324 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Invalid registration Record
Hi

I guess you only done the first part of the integration (redirect users to payment gateway to allow them to make payment)

There is still an important task needs to be done. When payment is completed, payment gateway needs to notify the payment plugin somehow so that the payment plugin can update status of registration record to Paid (published = 1), sending emails to admin and registrants about the registration...

See eventbookingdoc.joomservices.com/develop...n/dev-payment-plugin , we have quite good documentation about develop payment plugin

Tuan

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

  • dudumizi
  • Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 8 months ago #101339 by dudumizi
Replied by dudumizi on topic Invalid registration Record
I make the code as per your demo code but always getting the same error.

below is the file of plugin

File Attachment:

File Name: pesapal.docx
File Size:14.53 KB

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

More
8 years 8 months ago #101360 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Invalid registration Record
Hi

I don't have experience with this payment gateway, so I could not help much.

1. First of all, you need to check and make sure the payment gateway is configured to send notification to this URL

domain.com/index.php?option=com_eventboo...nt_method=os_pesapal

2. Please make sure your site is public accessible (not offline)

3. The payment plugin access level must be set to public

4. In the validate method, you can add the command below after $this->notificationData = $_REQUEST;

$this->params->set('ipn_log', 1);
$this->logGatewayData();

Then try to make payment again. If the payment gateway notify the system, the data passed from them back to your site will be logged in a text file ipn_os_pesapal.txt under components/com_eventbooking folder. You can check the log to see the data passed back, then alter the code in the verifyPayment method to get it works

Regards,

Tuan

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

  • dudumizi
  • Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 8 months ago #101397 by dudumizi
Replied by dudumizi on topic Invalid registration Record
Hello,
First of all I am ready to pay you just help me to finish this job.

In payment plugin, Remain things is After complete payment its redirect to site and display message payment confirm but its not comes back in plugin function verifyPayment so its always display published= 0.

Can you help me to sort it out the things.

I have submitted my skype through ticket for discussion as its a bit urgent

Thanks.

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

Moderators: Tuan Pham Ngoc