• Customers are often reporting a Afterpay. Payment error on our
    website:
    … I go to afterpay and it then says something has changed in my cart
    …I’m trying to order using afterpay but it keeps saying cart changed unexpectedly and the order won’t finalise. Tried a few times, any ideas?

    My programmer has identified the issue in the plugin, and we’ve manually fixed it, however every Plugin upgrade resets our fix, so best if your team can fix it for everyone in the plugin.

    It is because the one “quantity” field is integer type, and the other one
    “quantity” field is string type in some cases. So integrityCheck fails sometimes.


    The method of fixing is to update:
    ‘quantity’ => $item [‘quantity’],

    To:
    ‘quantity’ => intval ($item [‘quantity’]),

    Cheers!

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author Afterpay

    (@afterpayit)

    Hi @evolved,
    Thank you for your message.

    We consider your fix valid and will be included on our next release and prevent you to lose it again.

    Best regards

Viewing 1 replies (of 1 total)
  • The topic ‘Cart Has Changed error’ is closed to new replies.