Set tax type to digital in Recurly plans script

GitOrigin-RevId: 3f30aadc1dd27a7b7e37ca096404a9d12a68d29e
This commit is contained in:
James Allen 2018-11-13 14:46:10 +00:00 committed by sharelatex
parent 140f97eb20
commit 6cd35d66d5

View file

@ -31,7 +31,8 @@ groups.each do |usage, data|
name: "Overleaf #{plan_code.capitalize} - Group Account (#{size} licenses) - #{usage.capitalize}",
unit_amount_in_cents: {},
plan_interval_length: 12,
plan_interval_unit: 'months'
plan_interval_unit: 'months',
tax_code: 'digital'
}
plan[:unit_amount_in_cents][currency] = price * 100
end