Payline a changé sa politique, apparemment : les fichiers wsdl ne sont plus accessibles sur leur site.
D'où l'erreur :
ERROR : SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://www.payline.com/wsdl/v4_0/homologation/WebPaymentAPI.wsdl' : failed to load external entity "http://www.payline.com/wsdl/v4_0/homologation/WebPaymentAPI.wsdl"
Ces cons là ont à peine prévenu...
Comments
Comment #1
mogtofu33 commentedBonjour,
Il semble que maintenant ça fonctionne, c'était peut être juste un problème technique chez eux ou une panne serveur.
Cordialement.
Comment #2
mogtofu33 commentedComment #3
eme commentedJe pense qu'ils ont dû remettre les fichiers chez eux suite à des plaintes (notamment la mienne...), mais il n'est pas exclu que cela revienne à l'avenir.
A mon avis, il faudrait :
- mettre les wsdl en local
- récupérer la dernière version de payline.php
- revoir la manière avec laquelle la variable proxy est enregistrée, car elle est apparemment enregistrée en chaîne de caractère vide au lieu de NULL, ce qui est désormais incompatible avec la dernière version de leur payline.php.
Je posterai plus d'infos un peu plus tard, puisque apparemment ce n'est plus urgent.
Comment #4
mogtofu33 commentedComment #5
Anonymous (not verified) commentedBonjour,
J'ai reçu la même erreur... Pensez-vous qu'il puisse s'agir d'une erreur de configuration ou ça vient de Payline ?
Merci pour votre réponse,
Comment #6
shadid commentedSame error here, even with wsdl/v4_0/homologation files in local server. I'm using OVH virtual hosting.
Comment #7
Anonymous (not verified) commentedCan you access the files in http ?
Comment #8
shadid commentedYes I can access the files in http. But the module is still giving :
ERROR : SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://xxx.com/sites/all/modules/ubercart/payment/uc_payline/wsdl/homolo...' : failed to load external entity "http://xxx.com/sites/all/modules/ubercart/payment/uc_payline/wsdl/homolo..."
When I use absolute path i get another error:
ERROR : Could not connect to host
Comment #9
Anonymous (not verified) commentedI had to make some changes in the uc_payline.pages.inc file and to write the contract number directly in this file unless it was not transmitted to Payline.
I replaced the first lines with the code of the original payline identification file.
If you don't use a proxy on your server and if the Soap and Curl extensions are enabled, that should work. Don't forget to activate a SSL environment on the checkout pages. (you can do it with the secure pages module).
And, use the absolute path for the wsdl files.
Comment #10
halodyssee commentedHello,
One other point: do not use the new payline API 1.1.19 with uc_payline. It won't work because of ERROR: Could not connect to host. I guess uc_payline/lib/payline.php needs some modifications.
If maintainer decides to upgrade to follow payline version, I'm ready to test.
Best regards