Issues with SSL and GoCardless API

Im trying to use the GoCardless API and when using production mode I’m hitting an error on accessing the payement gateway.

Yet I have an SSL certificate installed.

Coding error?

It would seem the success_redirect_url you are passing to the gateway starts with http:// instead of https://.

1 Like

Yes but my whole site is https:// - I’m unaware of how I can change this - (using laravel).

My issue is im using cpanel account to host and need to adjust the htaccess file to allow the redirection to work. Its a pain.

The error is not about your site using or not using https, but about the URL you’re passing to the payment provider, which as the error appears to show uses HTTP instead of HTTPS.

So you should go to the configuration of the payment provider inside your app and check all URLs configured there.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.