Please do not open a public issue for security problems. Email hi@devdigital.bg with a description and reproduction steps. We aim to acknowledge reports within 3 business days.
- This SDK uses the redirect flow: card data is entered on DSK's hosted page and never reaches your server.
- Keep
apiLogin/apiPasswordin environment variables or a secret manager. Never commit them and never expose them to a browser. - Use this SDK server-side only.
- Always confirm payment server-side with
getOrderStatusbefore fulfilling an order. Do not trust thereturnUrlquery string. - Vulnerabilities in DSK Bank's gateway itself should be reported to DSK Bank.