sslcommerz / SSLCommerz-Laravel

SSLCOMMERZ is a bangladeshi payment gateway provider. This is Laravel Library for SSLCOMMERZ.
123 stars 98 forks source link

Why projectPath need in config? #36

Closed sandofvega closed 2 years ago

sandofvega commented 3 years ago
'projectPath' => env('PROJECT_PATH')

That is the use case of projectPath?

palatok commented 2 years ago

'projectPath' is the domain name. if your 'projectPath' is http://example.com and your success url is /payment/success, then SSLCommerz will redirect you to http://example.com/payment/success after payment is successful. 'projectPath' is important when you have https enabled. However the 'projectPath' is not being used right now. I have made a pull request to use 'projectPath'