Pesapal.com

Forum

Welcome, Guest
Username
Password:
 

Problem: signature_invalid | Advice: > |
(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

TOPIC: Problem: signature_invalid | Advice: > |

Problem: signature_invalid | Advice: > | 4 years, 10 months ago #27

Need assistance in an Integration I'm setting up, getting the above mentioned error.

see var_dump below


object(OAuthRequest)#7 (4) { ["parameters":"OAuthRequest":private]=> array(8) { ["oauth_version"]=> string(3) "1.0" ["oauth_nonce"]=> string(38) "{5C9DA1D9-C91C-44A4-2483-9C44ADA7AEDA}" ["oauth_timestamp"]=> int(1344928174) ["oauth_consumer_key"]=> string(32) "lhiP9QWtQQsXWU+G5HdFHEUr41COHMiI" ["oauth_callback"]=> string(44) "196.43.212.252:8000/nexus/payment.php" ["pesapal_request_data"]=> string(524) "<?xml version="1.0" encoding="utf-8"?><PesapalDirectOrderInfo >" ["oauth_signature_method"]=> string(9) "HMAC-SHA1" ["oauth_signature"]=> string(28) "wlT8fmWmRIPLrvo/W9DqcrYa7KY=" } ["http_method":"OAuthRequest":private]=> string(3) "GET" ["http_url":"OAuthRequest":private]=> string(52) "www.pesapal.com/api/PostPesapalDirectOrderV4" ["base_string"]=> string(1367) "GET&https%3A%2F%2Fwww.pesapal.com%2Fapi%2FPostPesapalDirec...2F%2526gt%253B" }

Re: Problem: signature_invalid | Advice: > | 4 years, 10 months ago #28

  • lazro
  • OFFLINE
  • Administrator
  • Pesapal
  • Posts: 392
Hi,
Please paste for me the entire error message being displayed for a better understanding.
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.

Re: Problem: signature_invalid | Advice: > | 4 years, 10 months ago #29

Hi lazro,

Was able to fix the raised issue, currently having issues checking the status of the payment.

 
 
OAuthRequest Object
(
[parameters:OAuthRequest:private] => Array
(
[oauth_version] => 1.0
[oauth_nonce] => {753867F4-C416-3033-D600-09C323CDF69B}
[oauth_timestamp] => 1344957942
[oauth_consumer_key] => lhiP9QWtQQsXWU+G5HdFHEUr41COHMiI
[pesapal_merchant_reference] => EN10107812
[pesapal_transaction_tracking_id] => b67dc502-59c9-496b-a137-cc0563740622
[oauth_signature_method] => HMAC-SHA1
[oauth_signature] => 9mJuCODqR/mttR4BHSx9GJCt3cA=
)
 
[http_method:OAuthRequest:private] => GET
[http_url:OAuthRequest:private] => https://www.pesapal.com/api/querypaymentstatus
[base_string] => GET&https%3A%2F%2Fwww.pesapal.com%2Fapi%2Fquerypaymentstatus&oauth_consumer_key%3DlhiP9QWtQQsXWU%252BG5HdFHEUr41COHMiI%26oauth_nonce%3D%257B753867F4-C416-3033-D600-09C323CDF69B%257D%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp%3D1344957942%26oauth_version%3D1.0%26pesapal_merchant_reference%3DEN10107812%26pesapal_transaction_tracking_id%3Db67dc502-59c9-496b-a137-cc0563740622
)
 
 
XMLHttpRequest Object
(
[curl:XMLHttpRequest:private] => Resource id #10
[responseHeaders:XMLHttpRequest:private] =>
[headers:XMLHttpRequest:private] => Array
(
)
 
[properties:XMLHttpRequest:private] => Array
(
[readystate] => 4
[responsetext] =>
)
 
)
 
 

Re: Problem: signature_invalid | Advice: > | 4 years, 10 months ago #30

The XMLHttpRequest is coming up empty

Re: Problem: signature_invalid | Advice: > | 4 years, 10 months ago #32

  • lazro
  • OFFLINE
  • Administrator
  • Pesapal
  • Posts: 392
Hi, I have attached a checkStatus.php file that will help you. Also see the xmlhttprequest.php file attached
Attachments:
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.
Last Edit: 4 years, 10 months ago by lazro.

Re: Problem: signature_invalid | Advice: > | 4 years, 10 months ago #34

Thanks, fixed the issue yesterday. The staging machine I was using had issues with XMLHttpRequest. Now working fine.