|
Welcome,
Guest
|
|
|
I have a test server and a client's server. I have signed up for demo accounts.
I have two problems. On my test server, at checkout. I get a screen to choose payments with the message: *Please NOTE that this is a TEST or DEMO website. Mobile transactions done here do not require you to send real money using your mobile phone! You may click here to send dummy mobile money for test and demo purposes. All looks good. If I click on the link I get a form to send money but it always responds with a return of the form. No message that it is complete. On my client's site, using the same code and the same demo Consumer Key and Consumer secret I get the message: Problem: nonce_used | Advice: > | In both cases I am sending to here: demo.pesapal.com/api/PostPesapalDirectOrderV4 Here is the xml from my client's site: <?xml version="1.0" encoding="utf-8"?><PesapalDirectOrderInfo > Any advice? |
|
|
|
Hi gfisch,
When you are redirected, check below the form, you should see a message similar to "Transaction ID: xxxxxxx. Your test mobile transaction to PESAPAL was successful! Reference: , Phone Number: xxxxxxxx, Registered Name: Test Sender, Amount: xxxxx". If you don't see this message, click on the tab you are previously at. Ie, if you used the Airtel simulator, select the Airtel tab to see this message. The error Problem: nonce_used | Advice: > | is displayed when you try resending an oauth_nonce that has already been used before. I,e You are sending the same data with the same authentication details to PesaPal (Probably you copy pasted one link and tried running it several times). Generating a new URL to post to PesaPal each time you do a test. |
|
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. |
|
Thanks for the response. I am testing from Canada.
After clicking to bring uyp the test entry form. I try using the m-pesa tab. I don't have a phone number to assicate with my test buyer account. Is there a test number I can use? What format should the phone number be in when entered inbto the form? I try entering my own phone number and it responds with "Phone number required" and the form again. |
|
|
|
I have successfully made a test purchase, and recieved confirmatiuon number to enter.
I want to test the response and IPN but I cannot log in to demo.pesapal.com fopr several days. I see this error: Sorry, an error occurred while processing your request. We are working to fix it as soon as we can. Account was This e-mail address is being protected from spambots. You need JavaScript enabled to view it. Thank you |
|
|
|
Hi gfisch,
Please try again. Just logged into my account afew mins ago. |
|
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 there;
I am making progress! My DEMO payments are working and when entering the confirmation code I recieve an IPN from Pesapal. However, the transactions are always PENDING. Is there a way to confirm them from my DEMO merchant account? How do they become CONFIRMED. Thank you |
|
|
|
Hi gfisch,
Please switch over to the live system. We are working to fix this. Apologies for the inconvenience caused. |
|
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 There.
I have a test site that is apparently working in Demo mode, though I have not tried a live payment yet. However, my client's site will not function. I ahve updated the code to be the save as on my test server. I am using demo mode with the same Meerchant ID and Secret as my test site. I always get the error: nonce_used Is there some way to debug this? Thank you |
|
|
|
Hi,
The error Problem: nonce_used | Advice: > | is displayed when you try resending an oauth_nonce that has already been used before. I,e You are sending the same data with the same authentication details to PesaPal (Probably you copy pasted one link and tried running it several times). Ensure that you generate a new URL to post to PesaPal each time you do a test. |
|
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 There;
I did use the same credentions on my test site as my client's site. So perhaps that is it. I signed up for another merchant demo account and enterd those credentions. User is gfischmerchant. I have my code printing out the Iframe source when in test mode. Now I am getting signature invalid. Reference #: 72a0f46f0172c4e60d327f7a7647c1f8 Date: 2014-01-20 02:49:33 iframe_src: demo.pesapal.com/api/PostPesapalDirectOr...uot%3B%20%2F%26gt%3B Problem: signature_invalid | Advice: > | Is it possible the time on the server time is wrong? Or the fuction generate_nonce() is not generating unique id's on this server? PHP Built On Linux srv36.000webhost.com 2.6.18-371.1.2.el5 #1 SMP Tue Oct 22 12:51:53 EDT 2013 x86_64 Database Version 5.1.57 Database Collation utf8_general_ci PHP Version 5.2.17 Web Server Apache |
|
|
|