MLu Posted April 19, 2005 Share Posted April 19, 2005 In my includes/modules/payment/worldpay.php, the below section is included. However, a foreign visitor do not get his own language when being redirected to worldpays server. Could anyone please advise how to control that the language selected by the customer is also used on the Worldpay server (I assume that Worldpay have language support) Thanks. // Ian-san: Create callback and language links here 6/4/2003: $callback_url = tep_href_link(FILENAME_WPCALLBACK); // $callback_url = tep_href_link(FILENAME_WPCALLBACK, '', (ENABLE_SSL ? 'SSL' : 'NONSSL'), true); $worldpay_callback = explode('http://', $callback_url); $language_code_raw = tep_db_query("select code from " . TABLE_LANGUAGES . " where languages_id ='$languages_id'"); $language_code_array = tep_db_fetch_array($language_code_raw); $language_code = $language_code_array['code']; Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.