From ed50db31ce3725ab9d2d7e121845953a359c95a6 Mon Sep 17 00:00:00 2001 From: Fabien O'Carroll Date: Thu, 9 May 2024 19:48:26 +0700 Subject: [PATCH] fixup! Passed currency to stripe checkout setup session --- ghost/stripe/lib/StripeAPI.js | 1 - 1 file changed, 1 deletion(-) diff --git a/ghost/stripe/lib/StripeAPI.js b/ghost/stripe/lib/StripeAPI.js index b57d22f2c98a..576f885359d1 100644 --- a/ghost/stripe/lib/StripeAPI.js +++ b/ghost/stripe/lib/StripeAPI.js @@ -565,7 +565,6 @@ module.exports = class StripeAPI { await this._rateLimitBucket.throttle(); const session = await this._stripe.checkout.sessions.create({ mode: 'setup', - currency: options.currency, payment_method_types: this.PAYMENT_METHOD_TYPES, success_url: options.successUrl || this._config.checkoutSetupSessionSuccessUrl, cancel_url: options.cancelUrl || this._config.checkoutSetupSessionCancelUrl,