Troubleshooting
Possible issues with Drop-in Checkout integration
The popup won't close when authorization is finished for redirect payment methods
Drop-in Checkout relies on bidirectional Websocket communication with PPRO servers. If connection can't be established, you will see one of the errors below in the browser's console:
Solution
Please make sure that Drop-in Checkout can connect to https://api.ppro.com/v1/payment-sessions-ws?id=...
endpoint.
Common reasons for problem with connecting to this endpoint are:
- no
publicKey
provided as part ofpproAPIConfig
option - Content-Security-Policy restriction.
- CORS restrictions.
Updated 4 months ago