Intégration de Paypal

Intégration de Paypal

BY 19 Dec 2013 Web Application Development

J’ai commencé à integrer paypal à mon application commerciale,

ça marche pas avec moi !

j’ai ajouté le code suivant pour me rediriger vers la page paypal :

<form action=”https://www.paypal.com/cgi-bin/webscr” method=”post”>

<!– Identify your business so that you can collect the payments. –>
<input type=”hidden” name=”business” value=”***@admin.com”>

<!– Specify a Buy Now button. –>
<input type=”hidden” name=”cmd” value=”_cart”>
<input type=”hidden” name=”upload” value=”1″>
<input type=”hidden” name=”currency_code” value=”EUR”>
<!– Specify details about the item that buyers will purchase. –>

<input type=”hidden” name=”item_name_1″ value=”beach ball”>
<input type=”hidden” name=”amount_1″ value=”15″>
<input name=”quantity_1″ type=”hidden” value=”3″ />

<input type=”hidden” name=”item_name_2″ value=”towel”>
<input type=”hidden” name=”amount_2″ value=”20″>

<!– Display the payment button. –>
<input type=”image” name=”submit” border=”0″
src=”https://www.paypalobjects.com/en_US/i/btn/btn_buynow_LG.gif”
alt=”PayPal – The safer, easier way to pay online”>
<img alt=”” border=”0″ width=”1″ height=”1″
src=”https://www.paypalobjects.com/en_US/i/scr/pixel.gif” >

</form>

ça marche avec moi en navigateur google chrome mais pas avec l’emulateur de tizen , méme si j’ajoute l’access “https://www.paypal.com/cgi-bin/webscr” dans le fichier config.xml comme suivant :

<access origin=”https://www.paypal.com/cgi-bin/webscr” subdomains=”true”/>

 

Written by