Error Handling

The following are the status codes that payabl. payment gateway may return in case of the Web SDK:

Error CodeDescription
PC216001Transaction already submitted
PC216003Session expired
PC216004Session status unknown
PC216005Missing required fields
PC216006Window closed
PC215000SDK Internal error

Please check our section on Declines and Failed Payments to learn why payments might fail and get tips for reducing declines. For further details on errors, refer to one of our following API sections:

  1. payabl. Response codes - status codes that payabl. generates and sends in response.
  2. Card Issuer related error codes
  3. 3DS Transaction Status Reason Codes
  4. Mastercard Error Codes
    1. Mastercard Merchant Advice Codes
  5. Visa Error Codes

CORS Error

If you encounter a CORS error, verify that the SDK widget is hosted on the same page as the shop_url value passed during the Web SDK initialization. Hosting the widget on the same page as the shop_url helps avoid CORS-related issues.


Please also refer to our Web SDK - FAQ section for further information and helpful tips.