- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sandbox Testing Hosted Payment Form Error: User authentication failed due to invalid authentication
I have been testing the hosted payment form in sandbox mode on my local dev as "127.0.0.1". All works as expected. I recently move it to a UAT site on the public web for unit testing. The hosted form comes up as expected but as soon as I provide payment (credit card) info and submit I get, "User authentication failed due to invalid authentication values." back from the communicator.
I notice that the post to api.ashx is going to "https://accept.authorize.net/Payment/Api.ashx" on my www. site. On my local, it posts to https://test.authorize.net/Payment/Api.ashx. What is making my UAT environment post to the production hosted site rather than test? I am using the same credentials on both sites and setting the initial call to the hosted form to https://apitest.authorize.net/xml/v1/request.api on both sites.
What am I missing?
Thanks
โ08-22-2024 08:46 AM - edited โ08-22-2024 08:49 AM

