Fix PayPal2 payment creation for free cart (#5415)

This commit is contained in:
Richard Schreiber
2025-09-02 09:53:24 +02:00
committed by GitHub
parent f3b6627e63
commit b7803565d6

View File

@@ -565,7 +565,7 @@ class PaypalMethod(BasePaymentProvider):
)
request.session['payment_paypal_payment'] = None
else:
pass
return None
try:
paymentreq = OrdersCreateRequest()