Stripe adaptive pricing uses the wrong order value

benFF

Well-known member
Affected version
2.2.15
Stripe (new?) adaptive pricing feature requires some changes to be made in the xf payment callback

As if a user chooses to pay in their local currency, instead of the invoice one, this is the value sent in the webhook (which then won't coincide with the xf payment intent)

Instead, the xf callback needs to look for the currency_conversion object, which holds the original price.

See relevant info here:

 
Top Bottom