Difference between revisions of "X-Cart:EWay - Hosted payment"
(Created page with '==Troubleshooting== ===How do I update my "eWAY - Shared payment" payment module to support the newer API?=== 1) Мodify the '<xcart_dir>/payment/cc_eway_uk.php' file: - find t…') |
m (→How do I update my "eWAY - Shared payment" payment module to support the newer API?) |
||
Line 1: | Line 1: | ||
==Troubleshooting== | ==Troubleshooting== | ||
− | ===How do I update | + | ===How do I update the older "eWAY - Shared payment" payment module to support the newer API?=== |
1) Мodify the '<xcart_dir>/payment/cc_eway_uk.php' file: | 1) Мodify the '<xcart_dir>/payment/cc_eway_uk.php' file: | ||
Line 38: | Line 38: | ||
4) [[X-Cart:Payment_Settings#Payment_methods_providing_online_payment_processing|Add, configure and enable]] the newer "eWay - Hosted payment" payment method. | 4) [[X-Cart:Payment_Settings#Payment_methods_providing_online_payment_processing|Add, configure and enable]] the newer "eWay - Hosted payment" payment method. | ||
+ | [[Category:X-Cart modules]] | ||
+ | [[Category:Payment gateways]] | ||
[[Category:X-Cart modules]] | [[Category:X-Cart modules]] | ||
[[Category:Payment gateways]] | [[Category:Payment gateways]] | ||
+ | [[Category:X-Cart modules]] | ||
+ | [[Category:Payment gateways]] | ||
[[Category:X-Cart modules]] | [[Category:X-Cart modules]] | ||
[[Category:Payment gateways]] | [[Category:Payment gateways]] |
Revision as of 08:36, 4 August 2011
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.