-
Notifications
You must be signed in to change notification settings - Fork 92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't set x_receipt_link_URL (should be returnUrl) #35
Comments
Hrm, as per:
This is really limiting. You can have a returnUrl or a notifyUrl but not both. |
The notify page can use a JavaScript redirect that gets around the SSL issue. There is an example of this in the SIM complete response message. There are at least four different types of "redirect" I've come across that the gateways need, including GET and POST, and this one where a redirect page using |
Do the above 2 comments relate to this issue somehow or were they added in error? What do you mean by "thousands of deleted-and-replaced transactions in the system" and what has it to do with the use of notifyUrl / returnUrl? |
Bugger. Too many git issues windows open. One comment deleted - the other one for you :-) Basically you can return to any page you like (SSL or not) by returning this response from the Notify URL handler. |
@delatbabel Quick question: does the receipt method also go along with the receipt URL? It seems that if we have the URL, then we should probably also need to be able to tell the gateway how to use that URL. Thinking about it, if the receipt link URL and the notify URL are mutually exclusive (both amounting to some form of notify URL) then the receipt method could also be used to trigger using the URL for notify (if the receipt method is not set, i.e. there is no receipt method) or the receipt link (if the receipt method is set to "post", "link" or "get"). Does that sound like a way to implement this? It would mean setting the notify URL remains the same, but an additional flag can be supplied to tell the gateway driver (and ultimately the gateway) hoe to use that URL. |
Further to #16 where the code change was made to set the x_relay_url from the notifyUrl instead of the returnUrl, a method needs to be in place to set the x_receipt_link_URL which is in effect the returnUrl for the SIM gateway.
This is a non-BC change for anyone who's currently using the returnUrl to set the x_relay_url.
References:
https://www.authorize.net/support/CNP/helpfiles/Account/Settings/Transaction_Format_Settings/Transaction_Response_Settings/Response_Receipt_URLs.htm
https://support.authorize.net/authkb/index?page=content&id=A587&actp=LIST
https://support.authorize.net/authkb/index?page=content&id=A558
https://www.authorize.net/support/CNP/helpfiles/Account/Settings/Transaction_Format_Settings/Transaction_Response_Settings/Relay_Response.htm
The text was updated successfully, but these errors were encountered: