Pesapal.com

Forum

Welcome, Guest
Username
Password:
 

Sorry, an error occurred while processing.
(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: Sorry, an error occurred while processing.

Sorry, an error occurred while processing. 9 years, 11 months ago #1657

= Sorry, an error occurred while processing your request. We are working to fix it as soon as we can.

This error occur on payment gateway page of pesapal please check and let me know.

Parameter and URL parameter added below:

parameter to the payment gateway:


{
'last_name': u'Administrator',
'reference': u'SO024',
'pesapal_request_data': u'<?xml version="1.0" encoding="utf-8"?>
<PesapalDirectOrderInfo >',
'oauth_signature_method': 'HMAC-SHA1',
'currency_id': 1,
'currency': u'EUR',
'street': u'test test',
'oauth_signature': '098f6bcd4621d373cade4e832627b4f6',
'partner': res.partner(3,),
'addressaddition': u'test test',
'city': u'e', 'first_name': '',
'oauth_nonce': u'1446533017SO024',
'zip': u'380051',
'oauth_version': 1.0,
'oauth_consumer_key': u'qVt793pCKjNCLW5c0QSOR3H2UANiyRHQ',
'oauth_timestamp': '1446533017',
'amount': '320',
'backurl': u'localhost:8088/payment/pesapal/cancel',
'email': u' This e-mail address is being protected from spambots. You need JavaScript enabled to view it. ',
'return_url': '/shop/payment/validate',
'oauth_callback': u'localhost:8088/payment/pesapal/return'}

URL parameter:

demo.pesapal.com/?oauth_callback=http%3A...esapal.com%22+%2F%3E

And one more question how to generate oauth_signature and what parameter used to generate oauth_signature method?

Re: Sorry, an error occurred while processing. 9 years, 11 months ago #1658

  • lazro
  • OFFLINE
  • Administrator
  • Pesapal
  • Posts: 404
Greetings krupeshlaiya,

The iframe link generated points to demo.pesapal.com/?oauth_callback=XXXXXXXX which is incorrect. There is no call to any of our API methods. It should point to demo.pesapal.com/api/PostPesapalDirectOr...th_callback=XXXXXXXX

Have a look at this developer.pesapal.com/how-to-integrate/api-reference
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: krupeshlaiya

Re: Sorry, an error occurred while processing. 9 years, 11 months ago #1659

thank you now I have problem related to Problem:
signature_invalid | Advice: > |

How do I generate valid signature what to do for the valid signature?

Re: Sorry, an error occurred while processing. 9 years, 11 months ago #1660

  • lazro
  • OFFLINE
  • Administrator
  • Pesapal
  • Posts: 404
Have a look at the response to question 4 here developer.pesapal.com/forum/2-pesapal-in...736-common-questions
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: krupeshlaiya

Re: Sorry, an error occurred while processing. 9 years, 11 months ago #1661

Not much helpful please elaborate more for the same.

using which parameter I can generate the oauth singnature.
Please help me.

Re: Sorry, an error occurred while processing. 9 years, 11 months ago #1662

  • lazro
  • OFFLINE
  • Administrator
  • Pesapal
  • Posts: 404
krupeshlaiya,

When you get the invalid signature error, The reason could be:
  1. Your consumer secret is incorrect.
  2. You are connected to the live system yet your API links send data to HTTP instead of HTTPS.
  3. Your OAuth file is encoding the data sent to PesaPal incorrectly.


Below are links that will guide you on the integration process:

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