Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Need Help ot_surcharge and linkpoint


ekburrow

Recommended Posts

I installed Fee payment module (Payment Surcharge V1.02) that uses the ot_payment module

 

On the shopping card the Fee shows up and is used correctly...

Sub-Total: $3.50

Credit Card Use Fee: $0.46

Total: $3.96

 

the total does not go to Yourpay, only the Subtotal.

Date User ID Type PO # Trans ID Card/Route Number Exp. Date Approval Amount

03/05/2007 2 Auth 1002 100511171010 4111...1111 03/2007 N:Declined:XXUX 3.50

 

the amount should include the .46 Fee and be a total of $3.96

 

 

It does not pass the ot_surcharge fee to Linkpoint api...

I tried to add code to ../includes/modules/payment/linkpoint_api.php, but still no luck.

 

// $myorder["subtotal"] = $order->info['subtotal'];

// $myorder["surcharge"] = $order->info['ot_surcharge'];

// $myorder["tax"] = $order->info['tax'];

// $myorder["shipping"] = $order->info['shipping_cost'];

$grantotal = number_format($order->info['total'], 2);

$myorder["chargetotal"] = str_replace(",", "", $grantotal);

 

 

CAN anyone help???

I also posted this in Orders Total Modules

ERIC

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.
Note: Your post will require moderator approval before it will be visible.

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...