Forums / Built-in Shipping and Payment Modules / Amount charged to credit card doesn't match cart total

Amount charged to credit card doesn't match cart total

Started by jefflc on 13 Nov 2015, 2:26 AM · Views: 2,751

Results 1 to 13 of 13
13 Nov 2015, 2:26 AM
#1
jefflc avatar

jefflc

New Zenner

Join Date:
Oct 2011
Location:
Ohio
Posts:
28
Plugin Contributions:
0

Amount charged to credit card doesn't match cart total

I am on ZC 1.5.4 using the Better Together 2.5.1 mod and the built-in ZC Authorize.net (AIM) payment module.

I have a Better Together deal defined so if a customer purchases item A, they receive a $1.00 discount off as many of item B as they want to purchase. Recently, a customer purchased item A and 10 of item B which should have given a total discount of 10x$1.00=$10.00. The appropriate discount was reflected in the shopping cart and on the completed order in ZC, but the amount charged to the customer's credit card did not reflect the discount. My order total modules are shown below. What could be causing this error?

Attachment 15788

13 Nov 2015, 9:58 AM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Amount charged to credit card doesn't match cart total

I have not checked but the "better together" plugins are for ZenCart v1.3.9

Have you checked the files that it affects to see if there is some updating needed?

Zen-Venom Get Bitten

14 Nov 2015, 12:38 AM
#3
jefflc avatar

jefflc

New Zenner

Join Date:
Oct 2011
Location:
Ohio
Posts:
28
Plugin Contributions:
0

Re: Amount charged to credit card doesn't match cart total

I am using the latest version of the Better Together plugin, v2.5.1. According to the plugin page it works with ZC v1.3.9 and v1.5.0 to v1.5.3. I'm on ZC v1.5.4, but I would be surprised if the differences between 1.5.3 and 1.5.4 would cause the problem. I didn't use the mod on when I was on ZC v1.3.9, so there won't be any issues with having old Better Together code that wasn't updated when I updated ZC.

14 Nov 2015, 1:42 AM
#5
jefflc avatar

jefflc

New Zenner

Join Date:
Oct 2011
Location:
Ohio
Posts:
28
Plugin Contributions:
0

Re: Amount charged to credit card doesn't match cart total

OK, I will move over there. I wasn't sure it was an issue with Better Together which is why I didn't post there originally.

Thanks.

14 Nov 2015, 1:51 AM
#6
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Amount charged to credit card doesn't match cart total

JeffLC:

OK, I will move over there. I wasn't sure it was an issue with Better Together which is why I didn't post there originally.

Thanks.

Test for that would be to either purchase the same original product (with better together removed or disabled) or purchase anything else and see that the results are those desired.

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

22 Nov 2015, 5:50 PM
#7
jefflc avatar

jefflc

New Zenner

Join Date:
Oct 2011
Location:
Ohio
Posts:
28
Plugin Contributions:
0

Re: Amount charged to credit card doesn't match cart total

I'm back over on this thread again. It appears the issue is not isolated to Better Together discounts.

I posted in the Better Together support forum but swguy said he'd never encountered an issue between BT and Authorize.net (AIM). Also, during some testing, I discovered the ZC order total also doesn't match the amount charged to the credit card for some other coupons I have defined even if I just used the basic ZC functionality. For example, I created a coupon a couple years ago for free shipping (by just checking the 'free shipping' box on the coupon page) and it works fine, i.e. the order total and amount charged to the credit card match. On the other hand, there is another coupon I created to give a $3.95 discount off the order total and it doesn't work, i.e. the order total and amount charged to the credit card don't match.

There is nothing in the debug logs about an error being encountered during checkout and the AIM_Debug file shows the incorrect amount being charged. I haven't been able to find a pattern for when the amount charged to the credit card doesn't reflect the discount. Where should I start looking?

23 Nov 2015, 11:59 PM
#8
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: Amount charged to credit card doesn't match cart total

JeffLC:

I'm back over on this thread again. It appears the issue is not isolated to Better Together discounts.

I posted in the Better Together support forum but swguy said he'd never encountered an issue between BT and Authorize.net (AIM). Also, during some testing, I discovered the ZC order total also doesn't match the amount charged to the credit card for some other coupons I have defined even if I just used the basic ZC functionality. For example, I created a coupon a couple years ago for free shipping (by just checking the 'free shipping' box on the coupon page) and it works fine, i.e. the order total and amount charged to the credit card match. On the other hand, there is another coupon I created to give a $3.95 discount off the order total and it doesn't work, i.e. the order total and amount charged to the credit card don't match.

There is nothing in the debug logs about an error being encountered during checkout and the AIM_Debug file shows the incorrect amount being charged. I haven't been able to find a pattern for when the amount charged to the credit card doesn't reflect the discount. Where should I start looking?

Is your site a fresh 1.5.4 install or has it been progressively upgraded from previous ZC version(s)?

NOTE: We are sorry that Frank is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

24 Nov 2015, 12:27 AM
#9
rixstix avatar

rixstix

Totally Zenned

Join Date:
Aug 2009
Location:
North Idaho, USA
Posts:
2,015
Plugin Contributions:
0

Re: Amount charged to credit card doesn't match cart total

If you disable taxcloud, does anything change?

Rick
RixStix (dot) com
aka: ChainWeavers (dot) com

24 Nov 2015, 4:44 AM
#10
jefflc avatar

jefflc

New Zenner

Join Date:
Oct 2011
Location:
Ohio
Posts:
28
Plugin Contributions:
0

Re: Amount charged to credit card doesn't match cart total

My ZC was upgraded from v1.3.9 (original install in 2011) to v1.5.4 a few months ago by swguy, so I'm confident it was done correctly.

RixStix - I believe you are on to something. I turned off Taxcloud and both the Better Together deal and the $3.95 discount coupon I mentioned in my earlier post worked correctly (order total and credit card charge match). When I turned Taxcloud back on and processed the exact same transactions, I had the discrepancy between the ZC order total and the amount charged to the credit card.

Now that it appears the source of the problem has been found, is there a simple fix?

24 Nov 2015, 5:13 AM
#11
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Amount charged to credit card doesn't match cart total

JeffLC:

I am on ZC 1.5.4 using the Better Together 2.5.1 mod and the built-in ZC Authorize.net (AIM) payment module.
Your original post did not include TaxCloud being installed
JeffLC:

When I turned Taxcloud back on
Posting Tips:

What plugins/addons have you installed? When? If your problems are payment-related, what payment module(s) are you using? If it's shipping-related, which shipping module(s) are you using?

Zen-Venom Get Bitten

26 Nov 2015, 5:11 AM
#12
jefflc avatar

jefflc

New Zenner

Join Date:
Oct 2011
Location:
Ohio
Posts:
28
Plugin Contributions:
0

Re: Amount charged to credit card doesn't match cart total

I didn't call out Taxcloud explicitly but there are two Taxcloud modules shown in the Order Total Module screenshot in the original post, which I assume is how RixStix knew to suggest turning off Taxcloud.

The following mods are installed on my cart:
-Better Together
-Better Together discount preview
-Column layout grid for product listing
-Google analytics
-Image handler 2
-Integrated COWOA
-Invoice 2
-Mailchimp
-Online group pricing
-Quick status update
-Taxcloud

The mod versions installed are those which were current as of March 1, 2015 when swguy upgraded my ZC from v1.3.9 to v1.5.4.

I also have PayPal Express Checkout installed and just learned it uses the correct order total with a Better Together deal whether or not Taxcloud is enabled. PayPal does not use the correct order total when I use a discount coupon defined in the standard ZC module whether or not Taxcloud is enabled. This leads me to believe the source of the problem is not Taxcloud even though disabling it fixes the problem when using Authorize.net (AIM).

Where should I start looking for the source of the problem?

3 Jan 2016, 5:55 PM
#13
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,748
Plugin Contributions:
56

Re: Amount charged to credit card doesn't match cart total

There's a bug in their authorizenet_aim integration. A fix is posted on the Taxcloud support thread here:
https://www.zen-cart.com/showthread.php?174459-TaxCloud-Addon&p=1300395#post1300395

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.