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:
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:
Automatically convert to local currencies
Present prices in your customer's local currency with Adaptive Pricing (formerly Automatic Currency Conversion).
docs.stripe.com