Jump to content

Recommended Posts

Posted

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?

Posted

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.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...