Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/active_merchant/billing/gateways/stripe.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ module Billing # :nodoc:
# This gateway uses an older version of the Stripe API.
# To utilize the updated {Payment Intents API}[https://stripe.com/docs/api/payment_intents], integrate with the StripePaymentIntents gateway
class StripeGateway < Gateway
# version '2020-08-27'
# version '2020-08-27' # Method not supported so commenting out

self.live_url = 'https://api.stripe.com/v1/'

Expand All @@ -27,7 +27,7 @@ class StripeGateway < Gateway
'unchecked' => 'P'
}

DEFAULT_API_VERSION = '2020-08-27'
DEFAULT_API_VERSION = '2025-04-30.preview' # Manually add version instead of calling unsupported fetch_version method

self.supported_countries = %w(AE AT AU BE BG BR CA CH CY CZ DE DK EE ES FI FR GB GR HK HU IE IN IT JP LT LU LV MT MX MY NL NO NZ PL PT RO SE SG SI SK US)
self.default_currency = 'USD'
Expand Down
Loading
Loading