diff --git a/lib/active_merchant/billing/gateways/stripe_payment_intents.rb b/lib/active_merchant/billing/gateways/stripe_payment_intents.rb index 63b9440689a..3a6b720dc84 100644 --- a/lib/active_merchant/billing/gateways/stripe_payment_intents.rb +++ b/lib/active_merchant/billing/gateways/stripe_payment_intents.rb @@ -63,7 +63,8 @@ def create_payment_method(payment_method, options = {}) def capture(money, intent_id, options = {}) post = {} - post[:amount_to_capture] = money + currency = options[:currency] || currency(money) + post[:amount_to_capture] = localized_amount(money, currency) add_connected_account(post, options) commit(:post, "payment_intents/#{intent_id}/capture", post, options) end