Skip to content
This repository has been archived by the owner on Feb 27, 2023. It is now read-only.

Commit

Permalink
Adds support for iDEAL and SEPA Debit PaymentMethods when country is …
Browse files Browse the repository at this point in the history
…set to the Netherlands (#70)
  • Loading branch information
csabol-stripe authored Oct 30, 2019
1 parent 9ac448f commit 2093551
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion web.rb
Original file line number Diff line number Diff line change
Expand Up @@ -369,6 +369,8 @@ def currency_for_country(country)
'usd'
when 'my'
'myr'
when 'nl'
'eur'
else
'usd'
end
Expand All @@ -380,7 +382,9 @@ def payment_methods_for_country(country)
['card']
when 'my'
['card', 'fpx']
when 'nl'
['card', 'ideal', 'sepa_debit']
else
['card']
end
end
end

0 comments on commit 2093551

Please sign in to comment.