PayPal: Fix critical bug leading to wrong order being paid in a rare session constellation

This commit is contained in:
Raphael Michel
2020-06-12 13:13:11 +02:00
parent d0c6f0f0e9
commit e7da2aec53

View File

@@ -256,7 +256,7 @@ class Paypal(BasePaymentProvider):
}
]
})
request.session['payment_paypal_order'] = None
request.session['payment_paypal_payment'] = None
return self._create_payment(request, payment)
def format_price(self, value):