Make subscription exclusive of VAT + Add VAT separately to subscription
This commit is contained in:
parent
ec00785068
commit
e01b27835e
2 changed files with 53 additions and 7 deletions
|
|
@ -1186,7 +1186,7 @@ class OrdersHostingDetailView(LoginRequiredMixin, DetailView, FormView):
|
|||
stripe_api_cus_id,
|
||||
[{"plan": stripe_plan.get('response_object').stripe_plan_id}],
|
||||
coupon='ipv6-discount-8chf' if 'name' in discount and 'ipv6' in discount['name'].lower() else "",
|
||||
tax_rate=[stripe_tax_rate.tax_rate_id] if stripe_tax_rate else [],
|
||||
tax_rates=[stripe_tax_rate.tax_rate_id] if stripe_tax_rate else [],
|
||||
)
|
||||
stripe_subscription_obj = subscription_result.get('response_object')
|
||||
# Check if the subscription was approved and is active
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue