Stripe adaptive pricing uses the wrong order value

Status
This content is read-only, or is not open for further replies.

benFF

Guest
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:

docs.stripe.com

Automatically convert to local currencies

Present prices in your customer's local currency with Adaptive Pricing (formerly Automatic Currency Conversion).
docs.stripe.com
docs.stripe.com

Continue reading...
 
Liked by:
Status
This content is read-only, or is not open for further replies.

Latest threads

Forum statistics

Threads
61,110
Messages
92,736
Members
58,061
Latest member
copper18y
Top Bottom