Customize the plugin
Customize the Magento 2 plugin to suit your unique business requirements.
As an agency or developer, you can customize the plugin according to your requirements.
Before you begin
Using stores without SSL
The plugin generates URLs for redirects to the store and webhooks so that your store can be informed about the status of the payment. These URLs are forced in a secure environment. The store URLs are always directed to payment with https://
prefix.
If your store does not use SSL, a reply from the payment cannot be forwarded to your store.
However, if you want to make payments on a test system for example, you can rewrite the HTTPS URLs so that the URLs are always with http://
prefix.
- Switch to the admin mode of the store using Stores > Configuration.
- Go to GENERAL > Web, select Base URLs, and change the setting
Secure Base URL
fromhttps
tohttp
. - Select Save Config and then empty the cache.
Now you are also able to use the Unzer plugin in an HTTP environment.
We do not recommend doing this in Live mode and advise the integration of SSL/HTTPS.