New Zenner
- Join Date:
- Jan 2008
- Posts:
- 7
- Plugin Contributions:
- 0
AUthorize.net SIM - relay-response implementation
Hello there!
We configured the** Authorize.net SIM** module, and did a test checkout: it looked like the Authorize.net request sent by ZEN was a** relay-response** (with x_relay_response=TRUE) with a certain hard-coded x_relay_url of
http://...../zen-cart/index.php?main_page=checkout_process
So we configured Authorize.net to accept this as a ** x_relay_url **
Question 1. Is this value documented anywhere?
Then the Authorize.net relay-response worked from the Authorize.net end, but Zen-cart didn't provide a useful receipt page. Looking through the code we found
Line 19 of file includes/modules/checkout_process.php :
// if the customer is not logged on, redirect them to the time out page
if (!$_SESSION['customer_id']) {
zen_redirect(zen_href_link(FILENAME_TIME_OUT));
} else {
Surely the Authorize.net server is not going to send a **cookie **with the relay-response request?
Question 2. Did we miss a step to get Zen-cart to work with Authorize.net SIM ?
Thanks a lot!
Stephan