fix duplicate stripe payments

master
Alice 5 years ago
parent f2fea9123c
commit b8ded5098c

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

Loading…
Cancel
Save