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

Commit c456674

Browse files
Add support for UPI and Netbanking payment methods (#94)
1 parent 8e8bbed commit c456674

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

web.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -392,6 +392,8 @@ def currency_for_country(country)
392392
'aud'
393393
when 'gb'
394394
'gbp'
395+
when 'in'
396+
'inr'
395397
else
396398
'usd'
397399
end
@@ -423,6 +425,8 @@ def payment_methods_for_country(country)
423425
%w[card paypal sofort eps]
424426
when 'sg'
425427
%w[card alipay]
428+
when 'in'
429+
%w[card upi netbanking]
426430
else
427431
%w[card]
428432
end

0 commit comments

Comments
 (0)