Private
Public Access
1
0

tested upgrade stuff, improved new user emails

This commit is contained in:
Sander Roosendaal
2019-05-16 10:53:26 +02:00
parent 8bd6373212
commit af0b03970a
6 changed files with 58 additions and 6 deletions

View File

@@ -241,7 +241,6 @@ def create_subscription(rower,data):
"payment_method_nonce": nonce_from_the_client
})
if result.is_success:
payment_method_token = result.payment_method.token
else:
@@ -252,6 +251,7 @@ def create_subscription(rower,data):
"plan_id": plan.external_id
})
if result.is_success:
rower.paidplan = plan
rower.planexpires = result.subscription.billing_period_end_date