|
Welcome,
Guest
|
|
|
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" } |
|
|
|
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. |
|
Hi lazro,
Was able to fix the raised issue, currently having issues checking the status of the payment. |
|
|
|
The XMLHttpRequest is coming up empty
|
|
|
|
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: 13 years, 2 months ago by lazro.
|
|
Thanks, fixed the issue yesterday. The staging machine I was using had issues with XMLHttpRequest. Now working fine.
|
|
|
|
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. |
|
I'm having the same error. I'm doing a simple GET request in my browser to test by entering:
www.pesapal.com/API/PostPesapalDirectOrderV4?oauth_signature=q5KC%2B1dYG5HHq1iBSNEe5Ei1F3U%3D=&oauth_timestamp=1345035041&oauth_nonce=vaopfjgv3498fjua9pewr8jaa&oauth_consumer_key=Z0M7wru3yk2ZyPULg4gYj6ZRuy%2F%2FiJuQ&oauth_callback=http%3A%2F%2F127.0.0.1%3A3000%2Fuser%2Ftransaction_complete&oauth_signature_method=HMAC-SHA1&pesapal_request_data= This e-mail address is being protected from spambots. You need JavaScript enabled to view it. %22%20xmlns=%22http://www.pesapal.com%22%3E%3C/pesapaldirectorderinfo%3E')=%3E%20%22%3C%3Fxml+version%3D%5C%221.0%5C%22+encoding%3D%5C%22utf-8%5C%22%3F%3E%3Cpesapaldirectorderinfo+xmlns%3Axsi%3D%22http%3A%2F%2Fwww.w3.org%2F2001%2FXMLSchema-instance%2...ga.com%22+xmlns%3D%2 And all that is returned to me is: Problem: signature_invalid | Advice: > | Is it a problem in escaping the oauth signature? How did you solve this issue? |
|
|
|
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'; |
|
|
|
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: 10 years, 5 months ago by Ayesh. Reason: Typo
|
|
Hello How did you manage to solve this problem?
|
|
|
|
am still stuck to these problem guys. am testing my application on sandbox but get the same error
|
|
|
|
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? |
|
|
|
You may check the xmlhttprequest.php file attached
|
|
|
|
The XML Http Request is empty? Why?
----------- Magento 2 extensions - XML Sitemap Magento 2 - Social Login Magento 2 |
|
|
|