Add stripe_subscription_id to MembershipOrder data

This commit is contained in:
PCoder 2017-12-24 12:54:59 +01:00
parent 3ed6119dc9
commit f6d0b6ce9c

View file

@ -448,6 +448,7 @@ class MembershipPaymentView(LoginRequiredMixin, IsNotMemberMixin, FormView):
'customer': customer, 'customer': customer,
'billing_address': billing_address, 'billing_address': billing_address,
'stripe_charge': charge, 'stripe_charge': charge,
'stripe_subscription_id': stripe_subscription_obj.id,
'amount': membership_type.first_month_price, 'amount': membership_type.first_month_price,
'start_date': membership_start_date, 'start_date': membership_start_date,
'end_date': membership_end_date 'end_date': membership_end_date