TransbankDevelopers / transbank-plugin-prestashop-onepay

Código fuente de Plugin Prestashop para Transbank Onepay
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Create module links with relative protocol, to avoid ssl errors #11

Closed RodrigoAyala closed 6 years ago

RodrigoAyala commented 6 years ago

When calling getModuleLink to get the exposed endpoints, internally the method checks if "SSL" and "SSL in all pages" are activated.

If the commerce has only "SSL" activated, the checkout sites are under HTTPS, but getModuleLink returns an HTTP endpoint, causing a blocked content due to mixed protocols.

This PR solve this asking for endpoints with a relative protocol.