I am trying to use url: https://sandbox.api.visa.com/acs/v2/payments/authorizations
Here is my code:
I am using the userId and password given in the dashboard.
I am also sending the SSL certificates and have request SSL certificates enabled in Postman.
What am I missing?
Hi @tots,
This API requires Message Level Encryption (MLE). Can you please confirm that you are encrypting the request payload with your MLE credentials?
Please refer to the MLE documentation / sample code in the below link , construct JWE payload accordingly and try again.
https://developer.visa.com/pages/encryption_guide
Please refer to the MLE tutorial in the below link.
Added this code to my prev screenshot still doesn't work.
Doesn't work with a 9124 code.
Here is the whole route again.
Hi @tots,
The error code 9124 is typically due to one of the following reasons:
If you are using Postman, please refer to the below resources on how to set up in Postman.
https://community.developer.visa.com/t5/Use-Cases/APIs-for-payment-gateway-9124-error/m-p/10448#M113
Webinar: Configure Two-way SSL with openSSL and Test on Postman
You may also want to try to make an API request to GET https://sandbox.api.visa.com/vdp/helloworld to test connectivity first.
If you continue to get the 9124 error, please share the following information so we may investigate further:
Wow you are zero help. It's like you are forcing us to use your investment, Stripe, to squeeze more money out. Worst API out there. I'll figure it out myself. Thanks for nothing.
Hi @tots,
I appreciate your feedback and thank you for sharing. My intent was to share information that I think is relevant to troubleshooting the issue presented here. If providing such information case across as “zero help” I apologize because that truly was not my intent. I strive to help as best I can. If there’s anything else I can do to assist or clarify, please don’t hesitate to reach out.