202ecommerce / paypal

This repository is for developpers only. To install and upgrade the module in a production shop please install the package via PrestaShop Marketplace by following this link:
https://addons.prestashop.com/fr/paiement-carte-wallet/1748-paypal-officiel.html
Academic Free License v3.0
20 stars 31 forks source link

Very slow on back and front office 40 second ! #338

Closed tone87 closed 3 months ago

tone87 commented 3 months ago

Describe the bug and add screenshots

i migrated from Centos8 to Debian12 by clone database and file .. After migrating the module on front and backoffice is very slow loading 39/40 second. i suspect that on calling http or https request by module are blocked my ip or something like this .. i tried to switch php version , disable firewall etc but it's the same. is it possibile ? ip of server [37.27.131.245]

Expected behavior

No response

Steps to reproduce

this is happened when try to start payment on order page in front office .. and when you go on configuration page on backoffice

PrestaShop version(s) where the bug happened

8.1.6

PHP version(s) where the bug happened

8.1.29

clotairer commented 3 months ago

Hi, Your issue looks specific to you installation. There is no HTTP call except in the payment step of the checkout. Could you please contact our support team by following this link https://addons.prestashop.com/en/contact-us?id_product=1748 to share with us more information. Thank you.

tone87 commented 2 months ago

I want to inform you that after an analysis the ip of my server is blocked by Paypal. However, yes, your plugin both in the configuration page and in the payment page makes a call to the paypal api server (as I found the url in the PHP page) https://api.paypal.com As you can see from the screenshot also in the terminal with curl it times out. this can be useful if someone else has the same problem image

clotairer commented 2 months ago

Hi, If the firewall is open to send HTTP call, the issue come from Paypal. This module is not the cause and as a technical vendor of PayPal we have no possibility to know why your network is blocked. I invite you to contact PayPal support directly. Regard's