Skip to content

Commit

Permalink
pago confirmado
Browse files Browse the repository at this point in the history
  • Loading branch information
manureta committed Jul 30, 2020
1 parent 6975250 commit 23d33eb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pretix_mercadopago/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ def success(request, *args, **kwargs):
if status == 'approved' == paymentInfo['response']['status']:
payment.order.status = Order.STATUS_PAID
payment.order.save()
payment.state ='confirmed'
payment.save()
"""
return redirect(eventreverse(request.event, 'presale:event.checkout', kwargs=urlkwargs))
Expand Down

0 comments on commit 23d33eb

Please sign in to comment.