|
|
@ -151,7 +151,7 @@ class StripeBackend(BackendBase):
|
|
|
|
payment.status = 'confirmed'
|
|
|
|
payment.status = 'confirmed'
|
|
|
|
payment.paid_amount = payment.amount
|
|
|
|
payment.paid_amount = payment.amount
|
|
|
|
payment.backend_extid = None
|
|
|
|
payment.backend_extid = None
|
|
|
|
payment.save()
|
|
|
|
#payment.save()
|
|
|
|
|
|
|
|
|
|
|
|
payment.user.vpnuser.add_paid_time(payment.time)
|
|
|
|
payment.user.vpnuser.add_paid_time(payment.time)
|
|
|
|
payment.user.vpnuser.on_payment_confirmed(payment)
|
|
|
|
payment.user.vpnuser.on_payment_confirmed(payment)
|
|
|
|