Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Frees Shipping not working


Guest

Recommended Posts

Hi. I have set up a coupon that offers free shipping. I set it up that way in the coupon admin. It is not working. It looks like it is working, and the total is showing up without shipping, but it is charging the customer's charge card with shipping. i am using an EFS payment module. My Order Total Module is set to

 

Subtotal 1

 

Shipping 2

 

Tax 3

 

Discount Coupons 740

 

Gift Voucheers 9

 

Total 900

 

This passes the correct value to Paypal but not to EFS. Here is the EFS Module. Thanks.

 

$form_data = array(

Method => MODULE_PAYMENT_EFSNET_METHOD,

StoreID => MODULE_PAYMENT_EFSNET_STOREID,

StoreKey => MODULE_PAYMENT_EFSNET_STOREKEY,

ApplicationID => 'EFSNet OSCommerce v1.1.0',

ReferenceNumber => $customer_id,

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

SalesTaxAmount => number_format($order->info['tax'], 2),

AccountNumber => $_POST['efsnet_cc_number'],

ExpirationMonth => $_POST['efsnet_cc_expires_month'],

ExpirationYear => $_POST['efsnet_cc_expires_year'],

BillingName => urlencode($_POST['efsnet_cc_owner']),

BillingAddress => $order->customer['street_address'],

BillingCity => $order->customer['city'],

BillingState => $order->customer['state'],

BillingPostalCode => $order->customer['postcode'],

BillingCountry => $order->customer['country']['title'],

BillingPhone => $order->customer['telephone'],

BillingEmail => $order->customer['email_address'],

ShippingName => urlencode($order->delivery['firstname']." ".$order->delivery['lastname']),

ShippingAddress => $order->delivery['street_address'],

ShippingCity => $order->delivery['city'],

ShippingState => $order->delivery['state'],

ShippingPostalCode => $order->delivery['postcode'],

ShippingCountry => $order->delivery['country']['title'],

ClientIPAddress => $_SERVER['REMOTE_ADDR']

);

 

Many Thanks.

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