Merge branch 'master' into per-payment-abort_pending_payment_allowed

This commit is contained in:
Lukas Bockstaller
2026-08-10 16:37:02 +02:00
13 changed files with 211 additions and 81 deletions
+1 -1
View File
@@ -645,7 +645,7 @@ class PaypalMethod(BasePaymentProvider):
def _execute_payment(self, request: HttpRequest, payment: OrderPayment):
payment = OrderPayment.objects.select_for_update(of=OF_SELF).get(pk=payment.pk)
if payment.state == OrderPayment.PAYMENT_STATE_CONFIRMED:
# payment is already confirmed; possible return-view/webhook race-condition
logger.warning('payment is already confirmed; possible return-view/webhook race-condition')
return
try: