|
Welcome,
Guest
|
|
|
I see in the .net samples you provide you are use an Iframe to load the pesapal payment page. I am trying to integrate pesapal with nopcommerce www.nopcommerce.com/ and the model they use is a redirect to a particular page. when i try that i get the following error
Problem: parameter_rejected | Advice: unknown_error_occured> oauth_parameters_rejected | String%20or%20binary%20data%20would%20be%20truncated.%0D%0AThe%20statement%20has%20been%20terminated. are page redirects supported ? note: connecting to the demo2.pesapal.com sandbox environment for testing. Regards, Ab |
|
|
|
Hi,
The error is due to incorrect data sent to us. This is what PesaPal requires from your end: Amount = (lineItems.Sum(x => x.SubTotal)).ToString(), Description = /* [required] description of the purchase */, Type = "MERCHANT", Reference = /* [required] a unique id, example: an order number */, Email = /* [either email or phone number is required] email address of the user making the purchase */, FirstName = /* [optional] user’s first name */, LastName = /* [optional] user’s last name */, PhoneNumber = /* [either email or phone number is required] user’s phone number */ Ensure the data is correct. Additional data is not necessary. For the test environment, use demo.pesapal.com |
|
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. |
|
thank you that worked, another question what is the best way of testing callback in the sandbox demosite if i am running my application locally i.e. localhost
|
|
|
|
For callback you can give any URL , it will call as it is, if you are running locally can give localhost:8080/XXXX/XXXX.php
|
|
|
|
Actually localhost:8080 will not work. There are millions of localhost:8080 :-) Which are not publicly available. The host must be online.
|
|
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. |
|
Hello,please share the nopcommerce pesapal plugin,my email is taima.innocent(AT)yahoo.com,thank you.
|
|
|
|