17 mayo, 2020por
| No comments yet
Odoo ERP encompasses the numerous number of built-in payment acquirers like Paypal, Buckaroo, Ingenico, Adyen and more. To use these acquirers, firstly one needs to set some configurations in the Odoo ERP and also some settings within the acquirer.
In this session, one can see how to configure Paypal in Odoo.
Firstly, create a business account in Paypal (https://www.paypal.com/)
Before the end user proceeds to configure the original Paypal account, he can check whether the payment flow is in the correct way via configuring a test Paypal account.
Before we proceed with the main, let me introduce you on how to configure a test Paypal account.
The configuration of Test (Sandbox) Paypal account :
We already created an account in PayPal.Using this details Login to the Developer Site (https://developer.paypal.com/)of Paypal. Go to Sandbox -> Accounts.
Here we will get two sandbox accounts.
One Business or Merchant account.
One personal account.
We can use the business account to configure in Odoo and the personal account can be used to make the payments.
To connect with Paypal, the end user has to set three details in the Odoo configuration form.
a) Paypal Email Id
b) Paypal Merchant Id
c) Paypal PDT Token
Under Odoo, Go to Invoicing -> Payments -> Payment Acquirers -> Paypal
We have to set the ‘Environment’ to ‘Test’ to use the Sandbox account of Paypal. Also, click the ‘Publish’ button to avail Paypal on the website.
To get the three configuration details mentioned earlier login to the Paypal Sandbox by using the business account (Here it is firstname.lastname@example.org).
Go to My Profile -> Business Information to get the Paypal Email Id and Paypal Merchant Id.
Go to Selling Tools -> Website Preferences and Turn on the Auto return option and give the return URL.
The return URL should use the correct protocol (HTTP/HTTPS). It is given to return the browser control to a specific page of our Odoo instance, after successful payment from the Paypal. It should be like,