Handle payment errors
DocsLimited
Last updated: Sept 15th, 3:26am
When a Klarna payment fails, PayPal sends webhook notifications to inform your system of the failure.
- Listen for webhook events: Monitor the following webhooks for Klarna payment failures:
- PAYMENT.CAPTURE.DENIED: Payment capture failed after buyer approval.
- CHECKOUT.ORDER.DECLINED: Order declined during payment processing.
- CHECKOUT.PAYMENT-APPROVAL.REVERSED: A problem occurred after buyer approval and before auto-capture completion. Notify your buyer of the problem and the reversed order. See Handle uncaptured payments for required actions.
- Extract failure details: Check reason for failure in webhook payload.
- Display appropriate message: Show localized error message to user.
- Offer next steps.