Pesapal.com

Forum

Welcome, Guest
Username
Password:
 

How to get total Amount of the transaction
(1 viewing) (1) Guest
Welcome to the Pesapal integration forum!

This forum discusses everything about Pesapal integration on your web site. Having any problems? This is the right place to post a question and we are sure you will get an answer
  • Page:
  • 1

TOPIC: How to get total Amount of the transaction

How to get total Amount of the transaction 11 years ago #1109

Hi,

I'm trying to integrate Pesapal with Blesta.
How i get total amount of each transaction from Blesta via Pesapal API?

Re: How to get total Amount of the transaction 11 years ago #1115

  • lazro
  • OFFLINE
  • Administrator
  • Pesapal
  • Posts: 404
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.

Re: How to get total Amount of the transaction 11 years ago #1116

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?

Re: How to get total Amount of the transaction 11 years ago #1117

  • lazro
  • OFFLINE
  • Administrator
  • Pesapal
  • Posts: 404
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

Re: How to get total Amount of the transaction 11 years ago #1119

Thanks for your suggestion.

I did it before. I just want to confirm we can/can't get total amount from API.
  • Page:
  • 1