Use total_price for amout to be charged, always

This commit is contained in:
PCoder 2018-04-16 01:32:38 +02:00
parent 4148eff03e
commit 95daa37670

View file

@ -421,7 +421,7 @@ class OrderConfirmationView(DetailView):
cpu = specs.get('cpu')
memory = specs.get('memory')
disk_size = specs.get('disk_size')
amount_to_be_charged = specs.get('price')
amount_to_be_charged = specs.get('total_price')
plan_name = StripeUtils.get_stripe_plan_name(cpu=cpu,
memory=memory,
disk_size=disk_size)