Pesapal.com

Forum

Welcome, Guest
Username
Password:
 

Error with the Consumer Key
(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: Error with the Consumer Key

Error with the Consumer Key 10 years, 10 months ago #1208

Can someone please tell me what this error means? It is not a friendly error message that does not give me much information as an intergrater.

Problem: consumer_key_unknown | Advice: > |

I now have a client who's users cannot process payments.
Someone please give me insight into this

Re: Error with the Consumer Key 10 years, 10 months ago #1209

Hi,
this means your pesapal credentials (consumer key or secret) are incorrect.

Please confirm if the credentials sent to you/your client are what they are using.

Re: Error with the Consumer Key 10 years, 10 months ago #1210

I have cross checked the consumer key over and over again and used it via copy/paste but I keep getting the above error. Something is definitely broken

Re: Error with the Consumer Key 10 years, 10 months ago #1211

Confirm which API endpoint are you using?
if it's the live API endpoint at www.pesapal.com you'll need keys for the live API, the same applies for the demo demo.pesapal.com API endpoint.
Last Edit: 10 years, 10 months ago by brian.mwadime.

Re: Error with the Consumer Key 10 years, 10 months ago #1212

I am connecting through www.pesapal.com/API/PostPesapalDirectOrderV4
I received a consumer key and consumer secret
I am using the example code as provided on the downloads page.
I have used the credentials and the provided code to integret two sites. The first one is working.
I am using the same code on the second site but I get the consumer key error

The only difference between the two is the the amount, product description, consumer key and consumer secret.

Re: Error with the Consumer Key 10 years, 10 months ago #1213

Hi Richard,

Please send a screen capture of the file (code) you use to load the IFrame and your Pesapal account with IPN settings open. These two will help us figure out why you are getting the error.

Re: Error with the Consumer Key 10 years, 10 months ago #1214

Dan , wouldn't that be a security issue sending that code with the secret and consumer keys? Besides the code is the same code that is made available for download. All I did was to change the keys. I have used it on other interfaces and it works fine.

Thats the long story, Well I have rsolved the issue. It was an issue with the consumer key in the sand box and I just used another one I had lingering on my server it worked fine
  • Page:
  • 1