6 posts / 0 new
Last post
kurtlaurinaitis6149
401 Unathorized

Not sure what information I can enter here so I'm not going to post my API keys and tokens but I'm using Clifton Payment library (https://github.com/clifton-io/Clifton.Payment) to connect to the RESTful api services. Everything looks ok (right key and token and HMAC). But I'm still getting 401 Unathorized response from the server. I'm not sure what I've setup wrong but it doesn't seem to be working. I don't know if its the library or something with Payeezy.


rohitrajagopal3538
Re: 401 Unathorized

Hello Kurt

 

Usually, this happens when the API URL is incorrect, please check and let us know.

Regards,

Payeezy team


kurtlaurinaitis6149
Re: 401 Unathorized

I read that in other comments but that didn't seem to be the case as I'm posting to

https://api-cert.payeezy.com/v1/transactions


rohitrajagopal3538
Re: 401 Unathorized

Can you please post the full request and response here? Or you could email support@payeezy.com

Regards,

Payeezy team


kurtlaurinaitis6149
Re: 401 Unathorized

It's hard to post the EXACT request and response because I'm using the c# library and a httpwebrequest object

but my header looks like this:

{Content-Type: application/json
Accept: application/json
apikey: XLHm3VYmglgmYj6mAEzCVWoK8qrlBd20
token: 3de5db08be423235
nonce: 1292712905
timestamp: 1446642966454
Authorization: ODNlMmY5NjdjYTkxODJiMjllZjg3ZWY1Nzg1ODEzOWIxZDFhYjliNGEyMTJmMDY3ZmIyOGY4Y2RjNjQ1ZGFmYQ==
Host: api-cert.payeezy.com
Content-Length: 257
Expect: 100-continue
Connection: Keep-Alive

}

The json being posted is:
{"merchant_ref":"12345","transaction_type":"purchase","method":"credit_card","amount":"100","partial_redemption":false,"currency_code":"USD","credit_card":{"type":"Visa","cardholder_name":"Kurt","card_number":"4111111111111111","exp_date":"0116","cvv":"111"}}


rohitrajagopal3538
Re: 401 Unathorized

Hello Kurt, 

Please email support@payeezy.com and one of our implementation advisors will be able to assist you with this issue.

Thanks,

Payeezy team