tested upgrade stuff, improved new user emails
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user