|
Welcome,
Guest
|
|
|
Hi,
I'm trying to integrate Pesapal with Blesta. How i get total amount of each transaction from Blesta via Pesapal API? |
|
|
|
Hello trongtho1410,
Currently we do not have an API that returns the amount paid. You need to capture and record all transaction details on your system. PesaPal APIs can give you the status, tracking ID and payment Method of any transaction. - If i pay less than the amount to be paid, the transaction fails automatically. - If i pay more than required, the merchant(you) receives his/her share (amount that was to be paid) and the rest goes to my PesaPal e-wallet account. If i do not have an account, one will be automatically created and this excess amount can be used later on for future purchases using PesaPal. Have a look at these 3 links: |
|
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. |
|
Hi Lazaro,
Thanks for your message. My site is "Sale Hosting", When customer buy a hosting or domain, they will pay via Pesapal. And i need to get total amount to save into my database for each customer account. How i do that now? |
|
|
|
Hello trongtho1410,
One of the mandatory parameters when sending data to PesaPal is the amount. As you send this info to PesaPal, why don't you update your database? Kindly note there is no API to fetch the amount Paid. |
|
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.
The following user(s) said Thank You: trongtho1410
|
|
Thanks for your suggestion.
I did it before. I just want to confirm we can/can't get total amount from API. |
|
|
|