Skip to main content

Prevent complete_not_allowed Klarna payment error

To prevent a complete_not_allowed error when you request a Klarna payment, only request a payment against a Klarna payment context when the payment context status is approved.

To check the status of a payment context before requesting a payment against it, you can:

  • Subscribe to the payment_context_approved webhook. This webhook triggers when a payment context is ready to be used in a payment request.

  • Call the Get payment context details endpoint, and provide the payment context ID as the {id} path parameter. The API returns the payment context status.

Was this article helpful?
Share
Copy Link Share via email

Articles in this section