Forums

Whitelist Suggestion: api.ssl-commerz.com / SSL-Commerz / sandbox.sslcommerz.com

Hello, I had a server error (500). Then i checked Error log form Log files. And i figured out this error like this,

requests.exceptions.ProxyError: HTTPSConnectionPool(host='sandbox.sslcommerz.com', port=443): Max retries exceeded with url: /gwprocess/v4/api.php (Caused by ProxyError('Cannot connect to proxy.', OSError('Tunnel connection failed: 403 Forbidden'))) 2020-09-14 18:25:12,937: Internal Server Error: /payment/pay/

My url path is okay. And i think this error shows because of Whitelist. I checked the Whitelist , and there is no api.ssl-commerz or ssl-commerz.com or sandbox.sslcommerz.com in that whitelist. I think ssl-commerz api is not added in white list and perhaps that's why i m getting an error. Could you please add it?

We are happy to add any public api's to the whitelist if you provide us with api documentation that is hosted on that domain and shows the official api endpoints.

here is api documentation link : https://pypi.org/project/sslcommerz-python/

here website link: https://www.sslcommerz.com/

From the documentation on https://www.sslcommerz.com/, it looks like the URLs are securepay.sslcommerz.com and sandbox.sslcommerz.com, so I have added those to the whitelist. I didn't see any indication that api.ssl-commerz.com was a valid URL for the service.

@glenn Thanks a lot bro. Now it's working. :)