mirror of
https://github.com/pretix/pretix.git
synced 2026-05-08 15:44:02 +00:00
PayPal: Fix issue in ASV setup (PRETIXEU-A5V)
This commit is contained in:
@@ -1100,6 +1100,8 @@ class PaypalAPM(PaypalMethod):
|
|||||||
payment.save(update_fields=["provider"])
|
payment.save(update_fields=["provider"])
|
||||||
|
|
||||||
paypal_order = self._create_paypal_order(request, payment, None)
|
paypal_order = self._create_paypal_order(request, payment, None)
|
||||||
|
if not paypal_order:
|
||||||
|
raise PaymentException(_('We had trouble communicating with PayPal'))
|
||||||
payment.info = json.dumps(paypal_order.dict())
|
payment.info = json.dumps(paypal_order.dict())
|
||||||
payment.save(update_fields=['info'])
|
payment.save(update_fields=['info'])
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user