Jump to content

Ipn Listener In Pesapal Gateway


trongtho1410

Recommended Posts

Hi All,

 

I'm trying to create a Pesapal Gateway plugin.

 

And i completed 90%: 

- Config Pesapal Gateway in the admin site.

- Perform a payment in the client site, get status, amout of transaction, save to database.

 

But i have a issue with the IPN listener from pesapal.

 

I don't know how to create a public page in Blesta to add IPN listener.

In this page, i need to get all current gateway configuration and re-update database by transaction_id

 

Can you help me?

Link to comment
Share on other sites

Thanks for your suggestion.

 

In the validate function of my gateway, how do it get the current meta of system?

 

I'm not sure what you're asking? The service validation method accepts two parameters--the package and the input vars. If there is anything else you need, you would need to query for it directly, or otherwise implement a different solution.

 

I think I looked into Pesapal recently and I had concerns with their IPN. The documentation appeared to suggest that Blesta must continuously request updates from Pesapal regarding a transaction rather than Pesapal sending those updates to Blesta after they update the transaction status. Most gateways I'm aware of don't work this way.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...