I want to use payplug paiement plugin on my website. But the config page show me this error:
CURL error (35) : Unknown SSL protocol error in connection to https://www.payplug.fr:443
And in the public page (https://intranet.oveo.org/payer-votre-adhesion/), the result of the shortcod is :
Impossible de générer le shortcode PayPlug, merci de vérifier la configuration PayPlug
ANy idea ?
thanks,
Julien
Hi,
I updated the payplug payement plugin few days ago and also to the latest wordpress version. Today, I wanted to modify an article, and when I entered inside my article, it shows me the following message “Failed to load plugin url: https://mywebsite.com/wp-content/plugins/payplug-payments/assets/js/button.js”
This message do not appears elsewhere on my website admin panel, only when I modify an article. information : I don’t have payment buttons on my articles. So why do I have this message there ?
Other informations :
– I don’t have the message on articles when i am in “view” mode, only when I modify blog articles.
– when I am on a page containing a payplug button payment, and I try to click on it to buy, it seems to work, I am redirected to a payment page.
Have a nice day.
Sandrino
]]>Hi,
the problem did not occure in the PREVIOUS version of the plugin (before updating to 1.8)
everything works (payment etc) but when i am in the USER (ADMIN) pannel, INSIDE an USER (so i need to open any one user), i have a message (left) : unable to load payplug.js
don’t know why he tries to load there… but he tries… and is unable to succeed it seems… could u check and advise please ?
***Failed to load plugin url: https://synexta.fr/wp-content/plugins/payplug-payments/assets/js/button.js***
]]>I have used the plugin in test mode for some time and everything works fine. A few days ago I went live. Strange thing: for some payments I receive faulty IPNs.I put some traces in the plugin and found that the headers received from PayPlug are different.
In one case, which worked, I got these headers:
[30-Aug-2017 15:56:13 UTC] Headers from getallheaders =Array
(
[User-Agent] => PayPlug-IPN
[Content-Type] => application/json
[Payplug-Signature] => AFJfinoGc2+fsJwsJB9ds/jqv2IANCY6U8o4Pf1NRg7kxWsAVKKw6x4Ex4zdHI4wfWYNvWQ1N4lrEhLPuxAe1RUcwuOcKfIXDqS8m5QHHaQW2s1nJWS9kgmGX2E+pLezYAEXFevBAfbgVMu6Ox+dXo0nXlL4ERzo4L5u47fmS++IqvzMgLcOx8Mq+RyLN/yMyqsbtVWI4uE4r1bdfPCyxP7qQ/iBC1vrOcpLudJSLk+foem1Q6DdKnrYsSkY5j8AY//75/uo0f3X9qk8FR1u+bOdJjGfH6LeeCl0WdyqAAGhsQSAIsEmTKWPKIlx90tWx46QN5A==
[Content-Length] => 313
[Connection] => close
[X-Predictor] => 1
[Host] => www.mysite.fr
[Remote-Ip] => 52.17.55.154
)
For a different transaction a little later I got these headers:
[30-Aug-2017 17:27:57 UTC] Headers from getallheaders =Array
(
[User-Agent] => PayPlug-IPN
[Content-Length] => 307
[Connection] => close
[X-Predictor] => 1
[Cookie] => SSESS4f4abc2eb68a7538da61849b0a1d11fd=51907219eaf403ca2b833b6da7764728
[Host] => www.mysite.fr
[Remote-Ip] => 52.17.55.154
)
As can be seen, there is no header ‘Payplug-Signature’, no ‘Content-Type’ but a ‘Cookie’, which means that the Plugin does not validate the IPN.
The call to PayPlug comes from a button generated with a call to the Plugin like this :
PAYPLUG_Plugin::payplug_generate_payment_link(
$price, // price
'Continuer vers le paiement', // Button text
'btn btn-large btn-success cyber-payplug-button' , // CSS class
'', // icon
$request_id, // order id
'Forfait '.$engines_num.' moteurs : '.$request_id, // Custom data
$email, // customer email
$first_name, // Customer first name
$last_name ); // Customer last name
Any idea of what goes on?
]]>Merci à Mathieu pour ce plugin bien utile ! (now switching to English for the benefit of others).
I have installed the plugin and I’m running it in test mode at the moment. Everything works fine except the validation of the signature received from PayPlug in the IPN. This is probably because I can’t get hold of the correct PayPlug public key – and their support team seems to think that since I use this plugin, this is not their problem.
I’m building my code on an example I found in the PayPlug API doc, with basically these steps:
$headers = getallheaders();
$headers = array_change_key_case($headers, CASE_UPPER);
$signature = base64_decode($headers['PAYPLUG-SIGNATURE']);
$body = file_get_contents('php://input');
$data = json_decode($body);
$publicKey = openssl_pkey_get_public($pbkey);
$isSignatureValid = (openssl_verify($body , $signature, $publicKey, OPENSSL_ALGO_SHA1) === 1);
This always fails, probably because I don’t have the correct value in $pbkey
.
All other data received in the IPN looks fine.
Any ideas?
]]>Bonjour,
Je souhaite faire passer les variable suivante via le shortcode pour que le formulaire de paiement soit automatiquement rempli. Les variables sont first_name last_name email entre autre et un lien retour spécifique si possible.
Comment faire ? Faut-il utiliser customdata=””. Si oui comment ?
merci
]]>Hello everyone,
Does anyone how to configure the plugin so that once the payment is achieved by a client, payplug does return the ipn (notification payment) object to the url of my choice ?
Indeed I need the informations that payplug returns in the post instruction so that my application can update its database to handle stocks.
I noticed in the payplug plugin php page of this plugin that home_url was set for ipn_url. What does it mean when I use either the shortcode either the static method ?
Thanks for your help
]]>Voici le message affiché :
Décompression de l’archive de l’extension…
Installation de l’extension…
L’archive n’a pas pu être installée. Aucune extension valide trouvée.
L’installation de l’extension a échoué.
J’ai essayé sur un site distant et sur mon environnement local, directement depuis le dép?t wordpress ou en téléchargeant préalablement le zip, le résultat est le même.
Merci pour votre aide, j’aimerais bien tester votre solution de paiement en ligne qui me semble aussi prometteuse que simple à utiliser !
]]>Bonjour,
Je rencontre un souci, d’après ma développeuse, qui viendrait du plugin…
Impossible de passer à l’étape du paiement une fois l’option paiement CB par payplug choisie…il revient indéfiniment sur cette page.
Je ne sais pas quoi faire, et c’est rédhibitoire pour un client.
Merci d’avance!
Cordialement,
Bonjour,
Je rencontre actuellement un problème de redirection après paiement.
Je m’explique, une fois que j’ai rempli et valider le formulaire de paiement, je ne suis pas rediriger vers la homepage alors que dans la page d’accueil et ne dispose d’aucun lien de redirection.
Pourtant dans le code au niveau du /plugins/classes/, je dispose bien du code suivant :
$paymentUrl = PaymentUrl::generateUrl(
array(
‘amount’ => str_replace( ‘,’, ‘.’, $atts[ ‘price’ ] ) * 100,
‘currency’ => ‘EUR’,
‘ipnUrl’ => home_url(),
‘return_url’=> home_url()
)
);
Tout le reste fonctionne mais pas la redirection.
Pourriez-vous m’aider ?
Merci d’avance
]]>Bonjour l’equipe,
Je viens pour savoir si je peux utiliser payplug en Afrique. Merci
Bonjour,
apres avoir contacter le support du site je reviens vers vous sur leurs conseils.
Mon compte est bien actif et en live sur votre site.
En revanche sur mon Back office WordPress il reste coché en test alors que je lai décoché et enregistrer les modifs. vos collègues ont pu le tester aussi et pense a un probleme de permission. Mon hébergeur est Strato.
Merci
]]>Bonjour,
je travail sur mon futur site. je suis photographe vendant des shooting photo en studio.
Si je crée un bouton via votre site pas de soucis en copiant le code, en revanche si j’utile votre ic?ne dans un bloc texte ? shortcode ? j’ai un lien textuel en place du bouton rien de grave mais s’il y a une solution je veux bien.
Ps sur votre site je suis bien en mode live alors qu’il reste toujours coché en test sur mon WP
]]>Bonjour,
J’aimerai pourvoir personnaliser le bouton en passant du format :
[payplug price=”xx” title_button = “Acheter”]
qui donne :
<a class="payplug_buy_button" base_url="https://www.payplug.fr" target="_blank" href="https://www.payplug.com/p/test/xxxxx">
Acheter
</a>
à un format plus évolué du type :
[payplug price=”xx” title_button = “Acheter” class=”payplug_buy_button my_class” icon=”glyphicon”]
qui donnerai :
<a class="payplug_buy_button my_class" base_url="https://www.payplug.fr" target="_blank" href="https://www.payplug.com/p/test/xxxxx">
<i class="glyphicon"></i>
Acheter
</a>
Quels fichiers faut il modifier ?
Cordialement
Fred
]]>