Forum Replies Created
-
AuthorPosts
-
December 9, 2014 at 8:09 pm in reply to: How do I integrate Paybox with WP Affiliate Platform #66638
Elvalys
MemberSo would it be as simple as :
<input type=”hidden” name=”PBX_REPONDRE_A” value=”[wp_aff_custom_args]”/>
?!
December 9, 2014 at 7:44 pm in reply to: How do I integrate Paybox with WP Affiliate Platform #66637Elvalys
MemberHi sorry for the delay ^^ I was working hard to put in place the paybox payment itself.
I am not a dev so it takes me some time when I don’t directly need help from a tech guy.
So here what I found in the Integration Manual :
“5.3.1 IPN mechasnism
This parameter is specifically designed to manage automatically the validation of orders issued from the merchant.
This parameter is a URL defined during the administrative registration process and stored in the merchant profile on Paybox server, but it can also be managed dynamically for every transaction by using the «PBX_REPONDRE_A» parameter.
The main role of this URL is to be called automatically (from server to server) as soon as the payment is finished (either accepted or rejected).
It allows validating automatically the corresponding order even if the customer stops the connection (browser closed) or decides not to go back to the merchant web site, because this call is going directly from Paybox platforms to the merchant system, without going to the customer ́s browser.
This URL should link to a script in the Merchant environment. When calling this URL, the script will be launched, allowing the merchant to execute some operations. There are no requirements on the language of this script (ASP, PHP, PERL …). The only restriction is that this script should not make any redirection and not display an empty HTML page.
The URL specified in the IPN parameter is called for every payment attempt, whatever the number of attempts the customer has done.
This URL (IPN) has no link whatsoever with the 3 other URL parameters. It can be managed totally independently and can be called on the TCP ports 80, 443 (HTTPS), 8080, 8081, 8082, 8083, 8084 or 8085
5.3.2 Parameters
It is possible to convert the list of parameters which will be sent back to the merchant system in the different callback URLs. This list of parameters is defined in the parameter PBX_RETOUR, by putting together the list of required information under the following
Format:
<name of required parameter>:<corresponding Paybox letter>;
Example:
ref:R;trans:T;auto:A;tarif:M;abonnement:B;pays:Y;erreur:E
The name of parameters (montant, maref…) can be personalized. For an overview of all the available data, please refer to the description of parameter PBX_RETOUR in §11.1.7.
Those data are sent to all callback URLs (PBX_EFFECTUE, PBX_ANNULE, PBX_REFUSE and
PBX_REPONDRE_A). For example, for the IPN URL, with the value described above, the resulting called URL would be :
This call is made by default using the «GET» method. If the «POST» method is preferred for transferring the parameters, this option has to be defined in the PBX_RUF1 parameter.”
Direct link to the manual :
http://www1.paybox.com/wp-content/uploads/2014/02/ManuelIntegrationPayboxSystem_V6.2_EN.pdf
December 1, 2014 at 11:07 am in reply to: How do I integrate Paybox with WP Affiliate Platform #66635Elvalys
MemberHi again
I needed the help of a dev to be able to solve the payment itself. Now that it is done, I do have a nice piece of script added in a php file and then, I use the form of Paybox in html inside my payment page.
It looks like that :
<form method=”POST” action=””>
<!– PROD –>
<label>Nom: </label><input type=”text” name=”nom” value=””/>
<label>Prénom : </label><input type=”text” name=”prenom” value=””/>
<label>Téléphone : </label><input type=”text” name=”telephone” value=””/>
<input type=”hidden” name=”PBX_SITE” value=”[pbxsite]”/>
<input type=”hidden” name=”PBX_RANG” value=”[pbxrang]”/>
<input type=”hidden” name=”PBX_IDENTIFIANT” value=”[pbxidentifiant]”/>
<input type=”hidden” name=”PBX_TOTAL” value=”94700″/>
<input type=”hidden” name=”PBX_DEVISE” value=”978″/>
<input type=”hidden” name=”PBX_CMD” value=”Femme Légende Personnelle”/>
<label>Email :</label>
<input type=”text” name=”PBX_PORTEUR” value=””/>
<input type=”hidden” name=”PBX_RETOUR” value=”Mt:M;Ref:R;Auto:A;Erreur:E;”/>
<input type=”hidden” name=”PBX_HASH” value=”SHA512″/>
<input type=”hidden” name=”PBX_TIME” value=”[datec]”/>
<input type=”submit” value=”Validez et passez à l’étape suivante”/>
</form>
So my question is :
Will it work if I add this specific line of code, given for the paypal integration ?
<input type=”hidden” name=”custom” value=”[wp_aff_custom_args]”/>
November 8, 2014 at 6:51 pm in reply to: How do I integrate Paybox with WP Affiliate Platform #66634Elvalys
MemberI believe so.
My client is actually finalizing the registration with them. I will know exactly that on monday.
-
AuthorPosts