Nancybb Posted April 2, 2005 Share Posted April 2, 2005 :'( Hi All, Could someone tells me how to install Western Union payment module. I am newbie. please, help me.... Herebelow is the instrustion, but I do not understand exactly: Copy files included in zip on your server ---------------------------------------------- Add in admin/includes/general.php function tep_cfg_pull_down_orders_status_list($order_status) { return tep_draw_pull_down_menu('configuration_value', tep_get_orders_status(), $order_status); } ---------------------------------------------- Add in catalog/checkout_process.php find // load the before_process function from the payment modules $payment_modules->before_process(); add after //elari change for hack WU $default_orders_status_id = DEFAULT_ORDERS_STATUS_ID ; if (is_object($$payment)) { $payment_class = $$payment; if ($payment_class->order_payment_unconf) { $default_orders_status_id = $payment_class->order_payment_unconf; } } //end elari change for hack WU Go in admin and activate payment module Western Union Thanks billion for your help in advance!! Quote Link to comment Share on other sites More sharing options...
limor01 Posted April 2, 2005 Share Posted April 2, 2005 :'( Hi All,Could someone tells me how to install Western Union payment module. I am newbie. please, help me.... Herebelow is the instrustion, but I do not understand exactly: Copy files included in zip on your server ---------------------------------------------- Add in admin/includes/general.php function tep_cfg_pull_down_orders_status_list($order_status) { return tep_draw_pull_down_menu('configuration_value', tep_get_orders_status(), $order_status); } ---------------------------------------------- Add in catalog/checkout_process.php find // load the before_process function from the payment modules $payment_modules->before_process(); add after //elari change for hack WU $default_orders_status_id = DEFAULT_ORDERS_STATUS_ID ; if (is_object($$payment)) { $payment_class = $$payment; if ($payment_class->order_payment_unconf) { $default_orders_status_id = $payment_class->order_payment_unconf; } } //end elari change for hack WU Go in admin and activate payment module Western Union Thanks billion for your help in advance!! <{POST_SNAPBACK}> First of all there is a fix: http://www.oscommerce.com/community/contributions,521 D S L Quote Link to comment Share on other sites More sharing options...
Nancybb Posted April 3, 2005 Author Share Posted April 3, 2005 First of all there is a fix:http://www.oscommerce.com/community/contributions,521 D S L <{POST_SNAPBACK}> Hi, many thanks for your help. I have done so. then? Quote Link to comment Share on other sites More sharing options...
limor01 Posted April 3, 2005 Share Posted April 3, 2005 Hi, many thanks for your help. I have done so. then? <{POST_SNAPBACK}> You need to copy the files into the proper places and activate the module under the admin. I recommend having a development directory with all the shop files and a copy of the database for tests purposes. It is too hard to explain how to follow the contribution installation without prior exprience. a test shop will enable you to play with the system without loosing uptime. look at the structure of the zip file and copy the files to the same locations under the catalog directories. it is in the same structure. also add the code into the files described in the installation file to the places as described in that file. I hope you succeed. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.