Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Help! I want to add Wester Union ... pls..


Nancybb

Recommended Posts

:'( 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!!

Link to comment
Share on other sites

:'(  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!!

 

 

First of all there is a fix:

http://www.oscommerce.com/community/contributions,521

 

D S

L

Link to comment
Share on other sites

Hi, many thanks for your help. 

I have done so. then?

 

 

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...