Skip to content

Commit

Permalink
fixup! Passed currency to stripe checkout setup session
Browse files Browse the repository at this point in the history
  • Loading branch information
allouis committed May 9, 2024
1 parent c458886 commit ed50db3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion ghost/stripe/lib/StripeAPI.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit ed50db3

Please sign in to comment.