I have a test account and am trying to use the relay_response feature. It works with my production account. I consistently get the message that the transaction was successful, but there was a problem with my web site. I've tried using my real URL and https://developer.authorize.net/tools/paramdump/.
Is there somewhere in the UI I can authorize an URL for my test account?
09-21-2009 07:36 AM
the documentation from page 86 in the SIM_Guide.pdf follows:
x_relay_URL Optional
Value: The URL on the merchant’s Web site to which the payment gateway should post transaction results for a relay response Format: Any valid URL Including name/value pairs in the URL(anything after a "?") is not recommended Notes: If this field is submitted, the payment gateway will validate the URL value against the Relay Response URL configured in the Merchant Interface. If the URL submitted does not match the URL configured in the Merchant Interface, the transaction will be rejected. If no value is submitted in the HTML Form POST, the payment gateway will post the transaction results to the URL configured in the Merchant Interface.
this indicates the the URL MUST be in the merchant interface to work.
I don't believe this to be the case but it is yet another example of the poor documentation.
06-18-2012 12:36 PM
This actually is correct, although it could stand to be explained further. If there are no relay or response URLs listed in the Merchant Interface, then this validation will not be performed. If there are URLs specified within the merchant interface then they act as a sort of whitelist as described in the referenced section of the guide. This functionality is why there is an option in the settings to specify multiple response/referrer URLs even though only one can be specified as the default.
06-21-2012 03:24 PM
In my case I am trying to test against a local development environment and my host only exists locally in DNS. This means the Auth.net post back to my server is what is failing. I verified thsi by testing using the parameter dump URL and was able to correctly see the transaction details.
So my question then is how can I test using this approach in a development environment? To require people to have a publicly available development environment URL is honestly ludicrous and is making it incredibly difficult to implement a solution based on this product/service.
The lack of a non-MVC .net sample (a copout in my opinion), coupled with a forms-based approach almost impossible to implement in WebForms (only doable by replacing the page form element's action attribute using javascript to point to the correct place, which now also submits ALL form elements (any asp.net controls, viewstate, digest, etc) as part of the post) makes me INCREDIBLY RELUCTANT to recommend Authorize.net to my customers.
This solution has been ANYTHING but easy to implement. I have all of the pieces built but cannot wire them together to process the response correctly because I cannot get a response delivered to my development environment. Really a poor limitation that needs to be resolved as you are limiting the effectiveness of having the service in the first place.. If we cant build against the API and test our solutions, what is the point of your product anyway?
Edit: I also want to add that by not having your .net assembly signed, you cannot deploy it to the GAC, and using the assembly at all requires some clever reflection calls since you get the unsigned assemly errors. This is another issue that really needs to be resolved.
10-22-2013 01:53 PM - edited 10-22-2013 02:03 PM
So my question then is how can I test using this approach in a development environment?
Use the http://developer.authorize.net/tools/datavalidation/ as the relay response url, notes all the name/value pairs, use those data to post to your relay response page.
There is sample code which does not use MVC. I would suggest doing that first to see how thing are done then add to your site.
the dll source is available, so you can modify to however you need.
10-22-2013 04:10 PM
It sounds like you're facing an issue where your relay response is working with your production account but not with your test account. In the sandbox environment, the URLs might need specific authorization, which can differ from your production setup. You should ensure that the relay response URL is correctly configured in your test account settings.
You can try the following steps:
1. **Verify URL Configuration**: Double-check the URL you've entered in the sandbox environment. It should match the one you've set up in the production environment.
2. **Check Test Account Settings**: Log in to your CyberSource test account and navigate to the **Webhooks or Relay Response** settings. Ensure that the URL is correctly entered and authorized.
3. **Paramdump Tool**: When using https://developer.authorize.net/tools/paramdump/, ensure that the URL you're testing matches the configuration in your test account. Sometimes, minor discrepancies can cause issues.
4. **Sandbox Environment Differences**: Keep in mind that the sandbox environment can behave differently than the production environment. It might be worth checking if any specific permissions or settings are required for the test account relay response.
If the issue persists, you might want to reach out to CyberSource support for detailed assistance specific to test account configurations.
08-12-2024 11:23 PM
In the sandbox environment, the URLs might need specific authorization, which can differ from your production setup. You should ensure that the relay response URL is correctly configured in your test account settings.
08-12-2024 11:25 PM