Jump to content

[Solved] "TLS and PayPal webhooks can not be enabled" question


Recommended Posts

Hi,

i have installed the official paypal module, now it tells me following errors:

Here is the Error:

TLS verification is failed. Probably, It doesn't impact on the module functionality. The module can't access to the page. The possible causes are the following:
- htpasswd enabled
- the https protocol is not supported
- wrong https certificate
- invalid server settings or insufficient access rights.

PayPal webhooks can not be enabled. The reason of the error is one of the following:
- htpasswd enabled
- the https protocol is not supported
- wrong https certificate
- invalid server settings or insufficient access rights.

Please fix the issue or contact our support team. (link to add for 'our support team'.
Webhooks are not used by the module until the moment the problem will be fixed. Please refresh the page to check the status again.

 

I already setup SSL in Prestashop, even contacted my hoster, which is Hostinger.

They said their SSL should work with PayPal.

Now i am confused, i never had that problem before with this module.

Anyone any idea what else i can do or check?

 

Many thanks in advance.

 

 

Screenshot 2024-04-17 150957.png

Edited by sucknorritz (see edit history)
Link to comment
Share on other sites

  • sucknorritz changed the title to [Solved] "TLS and PayPal webhooks can not be enabled" question
  • 2 months later...
  • 5 months later...

If it helps anybody:

TLS verification is failed (sic): In most cases nowadays the TLS certificate should be fine yet the verification may still fail. One simple issue for it to fail is for your store to be on maintenance mode. The checking mechanism will attempt to call the file {your-store-domain.com}/module/paypal/tlscurltestserver and will not function if the store is on maintenance mode. To check if this is your case, login as admin, go to {your-store-domain.com}/module/paypal/tlscurltestserver and if it shows "ok" then your TLS is fine. In this case, turn off maintenance mode and click on Refresh and it will work just fine.

Webhook is disabled: Go to your database and look for the table configuration (normally ps_configuration in most cases) then click on Search and search for the name PAYPAL_ENABLE_WEBHOOK . If something is found but the value is either false or 0, change it to 1 or true. If nothing is found, create a new entry, set its name to PAYPAL_ENABLE_WEBHOOK and the value to 1. After this you can reload the configuration, it will normally work and add additional configuration options to the database.

Typical Prestashop-level documentation.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...