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
  • Page:
  • 1
  • 2

TOPIC: Problem: signature_invalid | Advice: > |

Problem: signature_invalid | Advice: > | 5 years, 4 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: > | 5 years, 4 months ago #28

  • lazro
  • OFFLINE
  • Administrator
  • Pesapal
  • Posts: 401
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: > | 5 years, 4 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: > | 5 years, 4 months ago #30

The XMLHttpRequest is coming up empty

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

  • lazro
  • OFFLINE
  • Administrator
  • Pesapal
  • Posts: 401
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: 5 years, 4 months ago by lazro.

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

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

Re: Problem: signature_invalid | Advice: > | 5 years, 4 months ago #35

  • lazro
  • OFFLINE
  • Administrator
  • Pesapal
  • Posts: 401
Cool... Glad you solved it.
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: > | 5 years, 4 months ago #36

  • jiunga
  • OFFLINE
  • Fresh Boarder
  • Posts: 2

Re: Problem: signature_invalid | Advice: > | 3 years, 7 months ago #849

  • gilbert
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
This also happen if the $iframelink is http instead of https when you are going live

this is what it should look like

$iframelink = 'www.pesapal.com/api/PostPesapalDirectOrderV4';
not

$iframelink = 'www.pesapal.com/api/PostPesapalDirectOrderV4';

Re: Problem: signature_invalid | Advice: > | 2 years, 7 months ago #1366

  • Ayesh
  • OFFLINE
  • Senior Boarder
  • Everythings works for good.
  • Posts: 53
Thanks the https pointed me to the right direction... :)

gilbert wrote:
This also happen if the $iframelink is http instead of https when you are going live

this is what it should look like

$iframelink = 'www.pesapal.com/api/PostPesapalDirectOrderV4';
not

$iframelink = 'www.pesapal.com/api/PostPesapalDirectOrderV4';
Don't let what shows up for a moment become our eternity.
Last Edit: 2 years, 7 months ago by Ayesh. Reason: Typo

Re: Problem: signature_invalid | Advice: > | 9 months, 3 weeks ago #2075

Hello How did you manage to solve this problem?

Re: Problem: signature_invalid | Advice: > | 6 months, 1 week ago #2133

am still stuck to these problem guys. am testing my application on sandbox but get the same error

Re: Problem: signature_invalid | Advice: > | 6 months, 1 week ago #2136

  • xlock
  • OFFLINE
  • Fresh Boarder
  • Posts: 4
While testing whether my IPN setup works, I used curl and supplied the GET parameters as required. Note: I know the url mapping to my ipn file should be triggered by pesapal. Anyhow, I used curl on my terminal to simulate pesapal. I got a response that the object had been moved to a different url. I simulated the same on a browser and on clicking the link that the object had been moved to I got the status.

Unfortunately, arriving at the status should be autonomous. What is not happening, has the php ipn file handling the ipn-listener been updated or what?

Re: Problem: signature_invalid | Advice: > | 5 months, 3 weeks ago #2152

  • gummy123
  • OFFLINE
  • Fresh Boarder
  • Posts: 2
You may check the xmlhttprequest.php file attached

Re: Problem: signature_invalid | Advice: > | 3 months, 3 weeks ago #2172

The XML Http Request is empty? Why?
-----------
Magento 2 extensions - XML Sitemap Magento 2 - Social Login Magento 2
  • Page:
  • 1
  • 2