Paypal is the easiest online payment acquirer to configure. It is also the only one without any subscription fee. We definitely advise it to any starter.
Zet uw Paypal account op
- Create a Paypal Business Account or upgrade your account to Business account if you have a basic account.
Log in op Paypal en open de instellingen van uw Profiel.
Ga nu naar het menu Mijn verkooptools.
Laten we starten met de Website voorkeuren.
Turn on Auto Return and enter the Return URL: <odoo_instance_url>/shop/confirmation. Verify that this address uses the correct protocol (HTTP/HTTPS).
Turn on Payment Data Transfer. When saving, an Identity Token is generated. You will be later requested to enter it in Odoo.
Then, get back to your profile to activate the Instant Payment Notification (IPN) in My selling tools.
Geef de Notificatie URL in: <odoo_instance_url>/payment/paypal/ipn
Now you must change the encoding format of the payment request sent by Odoo to Paypal. To do so, get back to My selling tools and click PayPal button language encoding in More Selling Tools section.
Then, click More Options and set the two default encoding formats as UTF-8.
Tip
If you want your customers to pay without creating a Paypal account, Paypal Account Optional needs to be turned on.
Set up Odoo
Open Paypal setup form in
. Enter both your Email ID and your Merchant ID and check Use IPN.Ze zijn beide beschikbaar vanuit het Paypal profiel, onder
.Enter your Identity Token in Odoo (from Auto Return option). To do so, open the Settings and activate the Developer Mode.
Then, go to
and create a parameter with following values:Sleutel: payment_paypal.pdt_token
Waarde: uw Paypal identiteitstoken
Ga live
Uw configuratie is nu klaar! U kan Paypal zichtbaar maken op uw handelaars interface en de Productiemodus activeren.
Transactie kosten
You can charge an extra to the customer to cover the transaction fees Paypal charges you. Once redirected to Paypal, your customer sees an extra applied to the order amount.
To activate this, go to the Configuration tab of Paypal config form in Odoo and check Add Extra Fees. Default fees for US can be seen here below.
To apply the right fees for your country, please refer to Paypal Fees.
Test de betaal flow
U kan de volledige betalingsflow testen dankzij de Paypal Sandbox accounts.
Login op de Paypal ontwikkelaarssite met uwPaypal loginggegevens. Dit maakt twee sandbox accounts aan:
- A business account (to use as merchant, e.g. [email protected]).
- A default personal account (to use as shopper, e.g. [email protected]).
- Log in to Paypal Sandbox with the merchant account and follow the same configuration instructions.
- Enter your sandbox credentials in Odoo and make sure Paypal is still set on Test mode. Also, make sure the confirmation mode of Paypal is not Authorize & capture the amount, confirm the SO and auto-validate the invoice on acquirer confirmation. Otherwise a confirmed invoice will be automatically generated when the transaction is completed.
Voer een testtransactie uit vanuit Odoo met de persoonlijke sandbox account.