WebSite X5Help Center

 
Axel  
Axel  
User

Custom code for payment: No link on the picture into received email but ok on the web  fr

Author: Axel  
Visited 1382, Followers 1, Shared 0  

Hello Guru, expert !

I am trying to use the custom code for e-commerce payment

Access here: wsx5demo.afsoftware.fr to play with custom payment (you can click to go to the bank..; you will get an error. that's all)

The form is working fine and the button displayed at the end of ordering on the web is working too like below with the link to the bank and good values from the order.

By clicking  on the picture to go to the payment I have

It's almost ok

When I receive the confirmation email of my order, I get the same info with the picture...

But no link with values to go to the payment. yell

So how to configure the picture with all values into a link ?

The code of the payment is below.

<script type="text/javascript">
function afficheDate() {
datejour = new Date();
document.getElementById('DateDuJour').value =(datejour.toLocaleDateString()+':'+datejour.toLocaleTimeString());
}

afficheDate()
</script>


<form method="post" name="Monetico" target="_top" action="https://p.monetico-services.com/test/paiement.cgi">
<input type="hidden" name="version" value="3.0">
<input type="hidden" name="TPE" value="1234567">
<input type="hidden" id="DateDuJour" name="DateDuJour" value="">
<input type="hidden" name="montant" value=[PRICE]>
<input type="hidden" name="reference" value=[ORDER_NO]>
<input type="hidden" name="MAC" value="78bc376c5b192f1c48844794cbdb0050f156b9a2">
<input type="hidden" name="url_retour_ok" value="https://wsx5demo.afsoftware.fr/paiement-ok.html">
<input type="hidden" name="url_retour_err" value="https://wsx5demo.afsoftware.fr/paiement-error.html">
<input type="hidden" name="lgue" value="FR">
<input type="hidden" name="societe" value="monSite1">
<input type="hidden" name="contexte_commande" value=”ewoJI(…)KCX0KfQ==">
<input type="hidden" name="texte-libre" value="ExempleTexteLibre">
<input type="hidden" name="mail" value="***">
<input type="image" "https://p.monetico-services.com/test/paiement.cgi" src="https://wsx5demo.afsoftware.fr/cart/images/monetico.png" alt="submit form">

</form>

Any idea on how to past the complet link with values to the picture sent by email ?

Thanks for your help

Posted on the
1 ANSWERS - 1 CORRECT
Axel  
Axel  
User
Author

found

wink

Read more
Posted on the from Axel