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

TOPIC: Problem: signature_invalid | Advice: > |

Problem: signature_invalid | Advice: > | 10 years, 3 months ago #1437

  • Ayesh
  • OFFLINE
  • Senior Boarder
  • Everythings works for good.
  • Posts: 53
Can't get head or tail why this is happening checked and doubled checked my code ...... any suggestions on likely causes....
Don't let what shows up for a moment become our eternity.

Re: Problem: signature_invalid | Advice: > | 10 years, 3 months ago #1438

  • komujohn
  • OFFLINE
  • Senior Boarder
  • Posts: 51
This mostly happens if you are using the wrong key pair. make sure that if you are using the demo.pesapal.com api you use the demo keys and if you are using the pesapal.com you are using the live keys sent via email. If this is not the case you can share more insight on how you are implementing and we can debug further.

Re: Problem: signature_invalid | Advice: > | 10 years, 3 months ago #1439

  • Ayesh
  • OFFLINE
  • Senior Boarder
  • Everythings works for good.
  • Posts: 53
Little background...... been working on a wordpress plugin, ported the same code used in a joomla plugin and was working beautifully after weeks of testing but all of a sudden signature invalid ......

I already have a demo account and am pretty sure its not the keys, request header is properly formed or am missing something......
Don't let what shows up for a moment become our eternity.

Re: Problem: signature_invalid | Advice: > | 10 years, 3 months ago #1440

  • komujohn
  • OFFLINE
  • Senior Boarder
  • Posts: 51
Do you have a test link I can have a look at?

Re: Problem: signature_invalid | Advice: > | 10 years, 3 months ago #1441

Re: Problem: signature_invalid | Advice: > | 10 years, 3 months ago #1442

  • Ayesh
  • OFFLINE
  • Senior Boarder
  • Everythings works for good.
  • Posts: 53
After running a few debug wordpress tools I got this..

NOTICE: C:\xampp\htdocs\xxxxx\wp-content\plugins\pesapal-don\includes\OAuth.php:347 - Undefined index: port
Don't let what shows up for a moment become our eternity.

Re: Problem: signature_invalid | Advice: > | 10 years, 3 months ago #1443

  • Ayesh
  • OFFLINE
  • Senior Boarder
  • Everythings works for good.
  • Posts: 53
Sorry had been through this link before to no avail.... :(
Don't let what shows up for a moment become our eternity.

Re: Problem: signature_invalid | Advice: > | 10 years, 3 months ago #1444

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

The notice you've shared can't cause the system to throw the signature_invalid error.

The causes of this error are:
  1. Using an incorrect OAuth file.
  2. Using the wrong consumer secret(check that you have no spaces)
  3. Posting to the live system yet the URL you've used is HTTP and not HTTPS. For test purposes all API links should point to [http]://demo.pesapal.com. For live integrations, all API links should point to [https]://www.pesapal.com.


If the issue persist after confirming all the above is correct. Kindly send your Iframe code and a link to your application to This e-mail address is being protected from spambots. You need JavaScript enabled to view 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.
Last Edit: 10 years, 3 months ago by lazro.

Re: Problem: signature_invalid | Advice: > | 10 years, 3 months ago #1445

  • Ayesh
  • OFFLINE
  • Senior Boarder
  • Everythings works for good.
  • Posts: 53
Lazaro,

I've emailed you the code.

>> Using an incorrect OAuth file.
I've been using the same OAuth file all along cross checked with a fresh download.

>> Using the wrong consumer secret(check that you have no spaces)
Checked this and double checked. From the plugin this is saved into the db and queried for use.

Do I need to get another consumer secret.....

>>Posting to the live system yet the URL you've used is HTTP and not HTTPS. For test purposes all API links should point to [http]://demo.pesapal.com. For live integrations, all API links should point to [https]://www.pesapal.com.

Depending on the use mode the plugin is either in demo mode (uses demo pesapal) or live.
Don't let what shows up for a moment become our eternity.

Re: Problem: signature_invalid | Advice: > | 10 years, 3 months ago #1457

  • Ayesh
  • OFFLINE
  • Senior Boarder
  • Everythings works for good.
  • Posts: 53
Went ahead and registered a new demo account and get back on the test road again, looking to have a WordPress Donation plugin out soon.

I consider this thread closed.
Don't let what shows up for a moment become our eternity.
  • Page:
  • 1