Quote Originally Posted by DaxtheMan View Post
Hi
Using ZC 1.5.8a and OPC with PHP8.2 and Square module 2.0.2. Basic responsive_classic template.

Not sure where the issue I have originates - maybe the group pricing code or maybe something being picked up in the Square module. I'm sure those with a far greater knowledge of how these things integrate can advise. Here's the issue:

1/When the cart user qualifies for a group pricing discount (or when a discount code is used) the cart total is showing the correct net figure that will be charged to their card.
2/When the cart sends off the amount to the bank for verification the bank pop-up asks for approval for the pre-discount amount - not the amount shown in the cart.
3/When the cart verification is declined the resulting log shows the correct discounted amount in the audit trail!
4/If the user accepts the larger amount at the verification stage the transaction goes through at the discounted amount.

This screenshot shows better what I am trying to detail:
Click image for larger version. 

Name:	bankcheckerror.jpg 
Views:	57 
Size:	19.9 KB 
ID:	20934

The error log:
Code:
  [amountMoney:Square\Models\CreatePaymentRequest:private] => Square\Models\Money Object
        (
            [amount:Square\Models\Money:private] => Array
                (
                    [value] => 41324
                )

            [currency:Square\Models\Money:private] => GBP
I'd appreciate any guidance here on a resolution. Where did the bank get the wrong amount data from in the initial pop-up screen (that isn't used for the transaction)?

Thanks for reading this.
dax,
i have looked at this issue. i will have a solution for you soon.

i have started a discussion about this issue here.

IMO, this is a design flaw inherent in ZC with which i will be forced to handle.

thanks for your patience.