Jump to content
thirty bees forum
  • 0

Curious bug with billing and shipping address in different countries with different shipping prices - only affects some orders


Question

Posted (edited)

Sometimes I get orders where the billing and shipping addresses are in different countries, like so:

  • Billing address: Germany.
  • Shipping address: Italy.
  • Product total: 100.
  • Shipping costs to Germany would be 2.50.
  • Shipping costs to Italy would be 10.

Invoice and order total: 100, so shipping costs of 0 (no idea where the 0 comes from).

Actual amount deducted from customer via PayPal: 110, so product price plus shipping to Italy.

Has anybody else noticed something like this?

Edited by 30knees

2 answers to this question

Recommended Posts

  • 0
Posted

I did some testing, and... released a new version of paypal module, and I strongly recommend everybody to update 🙂

There was a serious bug in module. When creating an order, paypal module provided current cart value instead of amount that was actually paid. This should be always the same, unless it isn't.

For example, if you can do this:

  1. clicks on payment button that opens paypal checkout page
  2. open your store in different tab, and amend the cart (add/remove products, change carrier,...)
  3. switch back to paypal tab, and conclude the payment

Normally, the order would be created with Payment Error state. But because of the bug in paypal module, the order would be created in Payment validated state, everything marked as fully paid. Neat.

 

  • Like 1
  • Thanks 2

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Ă—
Ă—
  • Create New...