Stripe adaptive pricing uses the wrong order value

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

Читать далее...
 
Активность
Пока что здесь никого нет
Назад
Верх Низ