|
Welcome,
Guest
|
|
|
Greetings, I've been running pesapal fine for the past few days. but all of a sudden today i get this message
Problem: parameter_rejected | Advice: unknown_error_occured> oauth_parameters_rejected | Sequence%20contains%20more%20than%20one%20element What could be wrong? |
|
|
|
Hi forumbee,
Seems you are passing incorrect data to the xml files which PesaPal is unable to process. Can we see the xml you are generating? You can also have a look at this example to see what parameters are excepted from your end. developer.pesapal.com/forum/2-pesapal-in...-pesapal-php-example |
|
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. |
|
Looks like the problem was elsewhere or perhaps with the demo api. I let the code sit for a few hours without modifying anything and it worked again.
Thanks Lazro. |
|
|
|
Hi guyz i've been having trouble integrating the PesaPal Demo API on my site using Php.All i'm getting is this error :
Problem: parameter_rejected | Advice: unknown_error_occured> oauth_parameters_rejected | request_xml_data What could be the issue?Here are the xml parameters being passed to the OAuthRequest. $post_xml = "<?xml version=\"1.0\" encoding=\"utf- |
|
Last Edit: 9 years, 6 months ago by bryosabian.
|
|
Hi bryosabian,
please echo the $post_xml and post the code here. |
|
|
|
<?xml version="1.0" encoding="utf-8"?> <PesapalDirectOrderInfo ><LineItems><LineItem UniqueId="1" Particulars="Mouse" Quantity="1Pcs" UnitCost="400.00" SubTotal="400.00" /><LineItem UniqueId="2" Particulars="Chicken" Quantity="2Pcs" UnitCost="450.00" SubTotal="900.00" /></LineItems>
This is my own response with the same error as above. I assume this closing tag </PesapalDirectOrderInfo> is introduced by the class. Either way I introduced it just to check and still!!? |
|
|
|
Found my error.
The quantity value should be an integer. |
|
|
|