| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Credit card surcharge for shipping to different address | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() I have searched the forums and did not find anyone who has done this. My client wants to add a 5% surcharge on certain credit card types if the order is shipped to a different address than the billing address because his credit card processor add a 5% fee. Has anyone else run into this?
__________________
First ever x-cart site: http://www.adaappliances.com X-Cart version 4.1.10 http://www.pinnacledesigns.tv working on version 2 of site, please stand by... |
|||||||
#2
|
|||||||
|
|||||||
![]() Has no one ever ran into this issue? I am surprised. Maybe my client needs to switch credit card processors??
__________________
First ever x-cart site: http://www.adaappliances.com X-Cart version 4.1.10 http://www.pinnacledesigns.tv working on version 2 of site, please stand by... |
|||||||
#3
|
|||||||||
|
|||||||||
![]() This sounds like something that will need to be custom made. I have never heard of anyone doing this. What makes it even more difficult is the "on certain credit card types" part.
It would probably be pretty straight-forward to check if the shipping address is not the same as the billing address and adding the surcharge, but checking what credit card the customer is using would be difficult, and what happens if the customer decides to change the credit card type half way through the process? See what I mean?
__________________
Two Separate X-Cart Stores Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series. Integrated with Stone Edge Order Manager + POS Version 4.1.12 Gold (fresh install) - X-AOM - Linux Mods - XCSEO free |
|||||||||
#4
|
|||||||
|
|||||||
![]() Quote:
I agree it requires custom programming to accomplish this and as far as changing credit card type if they want to avoid a surcharge causing a complication, that would require javascript to add/remove the surcharge on the fly in the checkout process prior to completing the transaction. If I am correct, the billing/shipping address is not known until after the checkout has begun. Not only is this a interesting challenge but then comes into play further challenges when upgrading the software. I was REALLY hoping someone had done something like this before and I would gladly have paid someone for this feature. I guess it's up to me!
__________________
First ever x-cart site: http://www.adaappliances.com X-Cart version 4.1.10 http://www.pinnacledesigns.tv working on version 2 of site, please stand by... |
|||||||
#5
|
|||||||
|
|||||||
![]() My initial thought is to modify the card_types.tpl and card_types.php to include 2 new fields - shipping/billing add mismatch surcharge checkbox and rate text field. I hate to assume it will be a percentage and never a flat rate. I found that the config table contains a single record called card_types with delimited values in a single field for every saved cc type. YIKES! Who thought of that?
That solves specifying card types to check the shipping/billing address. Now integrating this into cart.php looks complex but I tested the checkout process and after the payment method is selected you are taken to a section where the addresses are displayed as well as the credit card type selection. This would be the spot to code some sort of flag or alert notifying the customer of the surcharge. When they click submit they are already agreeing to the terms and conditions so they are agreeing to the surcharge if they submit. Also on this page is the change payment method if they want to go back and not purchase by credit card. It would have to be javascript to detect an onChange state for the card type list. Now... where to begin...
__________________
First ever x-cart site: http://www.adaappliances.com X-Cart version 4.1.10 http://www.pinnacledesigns.tv working on version 2 of site, please stand by... |
|||||||
#6
|
|||||||
|
|||||||
![]() Be sure to check your merchant agreement with the card brand you want to add the surcharge to. I know Amex explicitly states you can't add a fee for using Amex that you don't add for all other credit cards.
__________________
Manuka Bay Company X-Cart Version 4.0.19 [Linux] UGG Boots and other fine sheepskin products http://www.snowriver.com |
|||||||
|
|||
X-Cart forums © 2001-2020
|