i'm trying to make my own gateway payment

  • angotsai
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 6 months ago #70305 by angotsai
I'm trying to make my own gateway payment because it's for Taiwan market, it's specialized, so I made my payment based off paypal payment.
cloudgoodtest2.ilv.tw/index.php?option=c...mS8RFbvM7&Itemid=114

when customer completed the payment, it is still shown as "pending" in the backend, what do I need to modify so when i received a payment completed callback from the gateway that I can make the "pending" into "active"?


Attachments:

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

More
9 years 6 months ago #70319 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic i'm trying to make my own gateway payment
Hi

That depends on the payment gateway you are using. Usually, after users complete payment at the payment gateway, the payment gateway will make a call back to the following url:

yoursite.com/index.php?option=com_osmemb...me_of_payment_plugin

When that URL is called by the payment gateway, the method verifyPayment in the payment plugin will be called. In that method, you will need to validate the payment, make sure it is valid, then update status of the record, perform sending emails.....

In your case, I think you haven't handled this callback notification properly and that's the reason causing the issue

Regards,

Tuan

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