|
Welcome,
Guest
|
|
|
Dear team,
For IPN , if my server is down at that time ? what would be ideal solution? |
|
|
|
Hi rahul0611,
Our API allows you to send back a response that you were actually able to update your database using the code below: if(DB_UPDATE_IS_SUCCESSFUL){ $resp="pesapal_notification_type=$pesapalNotification&pesapal_transaction_tracking_id=$pesapalTrackingId&pesapal_merchant_reference=$pesapal_merchant_reference"; ob_start(); echo $resp; ob_flush(); exit; } If the server goes down before getting into <if> statement above, PesaPal will make an assumption that an update was not done and will call the IPN related to that specific transaction repeatedly till we get the response that you updated your database. |
|
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: rahul0611
|
|
Hi Lazro,
if i am not sending the response as "pesapal_notification_type=$pesapalNotification&pesapal_transaction_tracking_id=$pesapalTrackingId&pesapal_merchant_reference=$pesapal_merchant_reference" , how many times will pesapal try? Thanks |
|
|
|
Hi,
IPN is called frequently till a status is returned. The longer the confirmation takes, the lower the frequency gets. Meaning soon it will be almost "obsolete". It's not off but the period between two IPN calls is quite long. In such a case you may re-run the IPN manually from your merchant account. |
|
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. |
|