7 posts / 0 new
Last post
rajeshvuta3708
Token payment failing with 401 - Unauthorized

Hi,
I started working with the Payeezy API. Our company has already entered into an agreement/made purchase to use PayEezy.

I have successfully created a token by sending the test credit card details. Now when I try to call the https://api-cert.payeezy.com/v1/transactions to make a 'purchase', I get a 401 - Unauthorised error.

I am coding in C#

My questions are:
1. Do I need to send a certificate along with my request (or is it only for IOS apps)? Mine is C# so I am assuming its the Direct API.
2. If I already have the token generated for the credit card, can i directly use the 'purchase' method or do I need to use 'authorize'?
3. How can I set up the same token to be used for recurring payments?

Appreciate your help.

Regards,
Rajesh


rohitrajagopal3402
Re: Token payment failing with 401 - Unauthorized

Hi Rajesh,

 

1. You are right, certificate is only required for Apple Pay In-App payments.

2. Once you have the token, you may choose to use the "Authorize" method first or use the "Purchase" method directly.

3. Unfortunately, multi-use tokens are still in the works and will be released soon. Please stay tuned for the announcement.

Hope this helps. Do reach out to us if you are still facing issues.

 

Best,

Payeezy Team


petermarecek4849
Re: Token payment failing with 401 - Unauthorized

Hi,
I am using Api for payments, Help me I am Getting Below error

Array
(
[correlation_id] => 234.1439969674104
[Error] => Array
(
[messages] => Array
(
[0] => Array
(
[code] => 401
[description] => Processed
)

)

)

[transaction_status] => Not Processed
)


rohitrajagopal3402
Re: Token payment failing with 401 - Unauthorized

Hi Peter,

Please check the URL

Regards,

Payeezy Team


rajendrapatidar9345
Re: Token payment failing with 401 - Unauthorized

my marchant id account set is sandbox but status showing 401 - Unauthorized


rohitrajagopal3538
Re: Token payment failing with 401 - Unauthorized

Rajendra - If you have added your own demo account via the Merchants (Sandbox) tab, verify that the HMAC key and gateway password that you entered are accurate. You can update this, if required, by re-adding your demo account.

If you continue to have issues, please reach out to support@payeezy.com and one of our implementation advisors will assist.


darrinmealio3956
Re: Token payment failing with 401 - Unauthorized

I am getting the same issue using PHP/curl