Reuse price parameter

This commit is contained in:
M.Ravi 2017-09-29 09:35:45 +02:00
parent 5393ffa10d
commit 4b8d68fc8e

View file

@ -764,8 +764,7 @@ class OrdersHostingDetailView(LoginRequiredMixin,
cpu = specs.get('cpu')
memory = specs.get('memory')
disk_size = specs.get('disk_size')
amount_to_be_charged = get_vm_price(cpu=cpu, memory=memory,
disk_size=disk_size)
amount_to_be_charged = specs.get('price')
plan_name = StripeUtils.get_stripe_plan_name(cpu=cpu,
memory=memory,
disk_size=disk_size)