Payment Paypal

creadunet
2017-01-22 12:25

Paypal is pre-installed, just configure your account info.

Open the file /mods/paiement/paypal/configurationPaypal.php

If you want to test, use a Paypal Sandbox account!

Here is the configuration table to fill:

$settingsPayment = array(
    'chemin' => 'https://www.paypal.com/cgi-bin/webscr',
    'business' => 'xxx@yyyy.com',//edit with your parameters
    'currency_code' => 'EUR',//edit with your parameters
    'return' => '/achats.php?pay=OK',
    'notify_url' => '/mods/paiement/paypal/ppnotify.php',
    'image' => 'https://www.paypal.com/fr_FR/i/btn/x-click-but02.gif'
);

'chemin' => put here, the path to Paypal, either real or sandbox.

sandbox = 'chemin' => 'https://www.sandbox.paypal.com/cgi-bin/webscr'
réel = 'chemin' => 'https://www.paypal.com/cgi-bin/webscr'

'business' => 'your paypal mail address'


'currency' => 'EUR',//edit with your parameters
Put your currency.


'image' =>'https://www.paypal.com/fr_FR/i/btn/x-click-but02.gif'

ALWAYS put an image https !! You can use this paypal default button.
You can host a free SSL image at http://www.sslpic.com/

Average rating: 3.75 (8 Votes)

You cannot comment on this entry