X-Cart:EWay - Hosted payment
Troubleshooting
1) Мodify the '<xcart_dir>/payment/cc_eway_uk.php' file:
- find this line:
$url = 'https://www.ewaygateway.com:443/Gateway/UK/Results.aspx?'; . func_http_build_query($post);
- and change it to:
$url = 'https://au.ewaygateway.com:443/Result/?'; . func_http_build_query($post); // for Australian merchants
- OR change it to:
$url = 'https://nz.ewaygateway.com:443/Result/?'; . func_http_build_query($post); // for New Zealand merchants
- also, find this line:
$url = 'https://payment.ewaygateway.com:443/Request/?'; . func_http_build_query($post);
- and change it to:
$url = 'https://au.ewaygateway.com:443/Request/?'; . func_http_build_query($post); // for Australian merchants
- OR change it to:
$url = 'https://nz.ewaygateway.com:443/Request/?'; . func_http_build_query($post); // for New Zealand merchants
2) Update the payment method name in the database - execute the following SQL-query:
UPDATE xcart_ccprocessors SET module_name = 'eWay - Hosted payment' WHERE module_name = 'eWay UK (Hosted payment page)';
Use phpMyAdmin utility supplied by your hosting company, or "Patch/Upgrade" utility in X-Cart admin back-end to do it.
3) Go to your X-Cart admin back-end, "Payment methods" page, disable the older "eWAY - Shared payment" payment method.
4) Add, configure and enable the newer "eWay - Hosted payment" payment method.