|
Welcome,
Guest
|
|
|
Is there a way to get the transaction status and the amount donated back from pesapal? need this to create a site database in wordpress showing the amount of donations every time someone donates...
|
|
|
|
Hi Habu,
You can only query the transaction status but not the amount donated. We have an API for this developer.pesapal.com/how-to-integrate/api-reference. My advice you to is that you store the donation details(donor's details and the amount they have selected) every time a donor gets to the iframe (payments page) but set the donation status as "PLACED" them after the donor has completed making his/her donation, in your callback url call a function to query the status of that payment and update the donation that you had previously stored as "PLACED" to either "PENDING/COMPLETED/FAILED". Regards, Lazaro O |
|
Regards,
Lazaro Ong'ele Web Developer Skype: Lazrotep +254-020-249-5438 ; +254-706-191-729 Dagoretti Lane, Off Naivasha Road. Facebook: www.facebook.com/pesapal Twitter: twitter.com/PesaPal Helpdesk: support.pesapal.com This e-mail address is being protected from spambots. You need JavaScript enabled to view it. |
|
Does the redirect URL when making a Pesapal iframe call affect which URL the IPN will call back?
Is it possible to have the redirect_url when making the iframe call be something like demo.ajagwe.com/paymentcomplete and have the IPN call a listener URL that is based on the primary domain like ajagwe.com/pesapallisten.php which would be set as a listener url under the website domain ajagwe.com (in the merchant account settings) I ask because the system I am building a plugin for dynamically generates sub-domains of the primary domain and payments occur in these generated sub-domains. |
|
There are 10 kinds of people in the world; those who understand binary and those who don't.
|
|
Is it possible to have more than one IPN website/listening URL combo in one merchant account?
|
|
There are 10 kinds of people in the world; those who understand binary and those who don't.
|
|
Last question, does the old method of getting transaction status via an xmlhttprequest still work? And if so, it will work for how much longer? Need to know hoe much time I have to move older systems to new IPN way of doing things...
|
|
There are 10 kinds of people in the world; those who understand binary and those who don't.
|
|
yes it is posible
|
|
|
|
good to know...any take on the subdomain thing or deprecation of status request method?
|
|
There are 10 kinds of people in the world; those who understand binary and those who don't.
|
|
Hi Ajagwe,
The callback URL and the IPN url can be different. Actually it's best if you separate them. As it stands your system will respond well. It's possible to have more than one IPN listener link. The field to add other links will be automatically generated for you. The old method we used to check the pesapal status still works,the new way is a cleaner and better way to fetch the transaction status. You shouldn't be alarmed by this since we are not planning to deactivate the old method. |
|
Regards,
Lazaro Ong'ele Web Developer Skype: Lazrotep +254-020-249-5438 ; +254-706-191-729 Dagoretti Lane, Off Naivasha Road. Facebook: www.facebook.com/pesapal Twitter: twitter.com/PesaPal Helpdesk: support.pesapal.com This e-mail address is being protected from spambots. You need JavaScript enabled to view it. |
|