- Issue created by @kristi wachter
- 🇺🇸United States zim-
I've been dealing with this myself and I believe I've found a solution. When I created an Authorize.net sandbox account I was given a key with the value "SIMON", I believed this is what I needed to enter for the "Client Key" field when setting up the Authorize.net payment gateway. I kept getting the "Received response with code Error from Authorize.net: E00007: User authentication failed due to invalid authentication values." message.
When setting up the payment gateway using Authorize.net (Accept.js), you need to manually generate a public client key. Instructions for that can be found here: https://developer.authorize.net/api/reference/features/acceptjs.html#Gen... I followed the "Generating the Public Client Key using the Merchant Interface" instructions and after using the new key my payments finally went through.
Hope that helps.
- 🇺🇸United States kristi wachter
zim - THAT WORKED! Thank you so much. Now that I've created a Public Client Key and used that on my Accept.js config page, my transactions are going through.
Thank you SO MUCH for answering my question and sharing that! I hope this thread will be helpful to anyone else who runs into a similar problem.
- 🇮🇳India Deepesh151086
Hi Zim, that worked me too but on payment completion I am getting "We encountered an error processing your payment method. Please verify your details and try again." and in logs I am getting Received response with code Error from Authorize.net: E00003: The 'AnetApi/xml/v1/schema/AnetApiSchema.xsd:customerProfileId' element is invalid - The value '' is invalid according to its datatype 'AnetApi/xml/v1/schema/AnetApiSchema.xsd:numericString' - The Pattern constraint failed.
Even though I am receving emails in my account with approved status.
- 🇮🇳India Deepesh151086
Problem resolved by changing test mode to live in account settings. I was using demo credit cards with live mode initially. Only real credit card numbers will with live mode in sandbox account. With test mode transaction will also take place but with 0 transaction id ,so will not be visible in 'transaction details'.