1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
| <form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<div align="center">
<input name="cmd" type="hidden" value="_xclick">
<input name="business" type="hidden" value="ID_paypal">
<input name="item_name" type="hidden" value="Achat">
<input name="amount" type="hidden" value="<?php echo $row_rsCommande['total']; ?> ">
<input name="currency_code" type="hidden" value="EUR">
<input name="no_shipping" type="hidden" value="1">
<input name="return" type="hidden" value="https://mon_site/commande_rec_pay.php?commandeID=<?php echo $row_rsCommande['ID']; ?>">
<input name="cancel_return" type="hidden" value="https://mon_site/cancel.php">
<input name="lc" type="hidden" value="FR">
<input name="last_name" type="hidden" value="<? echo $row_rsCommande['nom']; ?>">
<input name="first_name" type="hidden" value="<? echo $row_rsCommande['prenom']; ?>">
<input name="address1" type="hidden" value="<? echo $row_rsCommande['adresse']; ?>">
<input name="address2" type="hidden" value="<? echo $row_rsCommande['adresse2']; ?>">
<input name="city" type="hidden" value="<? echo $row_rsCommande['ville']; ?>">
<input name="zip" type="hidden" value="<? echo $row_rsCommande['cp']; ?>">
<input name="country" type="hidden" value="FR">
<input name="email" type="hidden" value="<? echo $row_rsCommande['email']; ?>">
<input name="night_phone_a" type="hidden" value="<? //echo $tel;?>0000000000">
<input name="submit" type="image" src="img/bouton-paypal.png" alt="PayPal, le réflexe sécurité pour payer en ligne" width="340" height="100" border="0">
</div>
</form> |
Partager