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

Commit 2093551

Browse files
Adds support for iDEAL and SEPA Debit PaymentMethods when country is set to the Netherlands (#70)
1 parent 9ac448f commit 2093551

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

web.rb

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,6 +369,8 @@ def currency_for_country(country)
369369
'usd'
370370
when 'my'
371371
'myr'
372+
when 'nl'
373+
'eur'
372374
else
373375
'usd'
374376
end
@@ -380,7 +382,9 @@ def payment_methods_for_country(country)
380382
['card']
381383
when 'my'
382384
['card', 'fpx']
385+
when 'nl'
386+
['card', 'ideal', 'sepa_debit']
383387
else
384388
['card']
385389
end
386-
end
390+
end

0 commit comments

Comments
 (0)