Pesapal.com

Forum

Welcome, Guest
Username
Password:
 

IPN
(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: IPN

IPN 12 years, 9 months ago #435

  • habu
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
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...

Re: IPN 12 years, 9 months ago #440

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

multiple subdomains and IPN 12 years, 9 months ago #457

  • ajagwe
  • OFFLINE
  • Fresh Boarder
  • Skilled web developer and web consultant.
  • Posts: 9
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.

Multiple IPN URLs in single merchant account 12 years, 9 months ago #458

  • ajagwe
  • OFFLINE
  • Fresh Boarder
  • Skilled web developer and web consultant.
  • Posts: 9
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.

Deprecated old method of getting txn status 12 years, 9 months ago #459

  • ajagwe
  • OFFLINE
  • Fresh Boarder
  • Skilled web developer and web consultant.
  • Posts: 9
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.

Re: Multiple IPN URLs in single merchant account 12 years, 9 months ago #462

  • n.sylar
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
yes it is posible

Re: Multiple IPN URLs in single merchant account 12 years, 9 months ago #463

  • ajagwe
  • OFFLINE
  • Fresh Boarder
  • Skilled web developer and web consultant.
  • Posts: 9
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.

Re: Multiple IPN URLs in single merchant account 12 years, 9 months ago #464

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