• هاست سان
  • با خرید اشتراک ویژه شما میتوانید جدیدترین آپدیت افزونه ها و قالب های زیبا و پرکاربرد زنفورو را دریافت کنید!

    هر ماه یک کد تخفیف 60 درصدی محصولات فروشگاه به کاربران منتخب بخش ویژه اهدا می‌شود

Stripe adaptive pricing uses the wrong order value

وضعیت
موضوع بسته شده است و نمی‌توان پاسخ جدیدی فرستاد.

XFFA.IR Bot

پرسنل مدیریت
کاربر ویژه پلاس
کاربر ویژه طلایی
امتیازها 113
راه‌حل‌ها 27
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
 
امضا : XFFA.IR Bot
وضعیت
موضوع بسته شده است و نمی‌توان پاسخ جدیدی فرستاد.

موضوعات مشابه

عقب
بالا