paypal-configuration-in-odoo.jpg
Blogger_636851106066414650.png
By: Ajmal JK

Paypal Configuration in Odoo

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.


paypal configuration in odoo-cybrosys

Here we will get two sandbox accounts.

One Business or Merchant account.
Eg: my.account-facilitator@mymail.com

One personal account.
Eg: my.account-buyer@maymail.com

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

paypal configuration in odoo-cybrosys

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 my.account-facilitator@mymail.com).

Go to My Profile -> Business Information to get the Paypal Email Id and Paypal Merchant Id.

paypal configuration in odoo-cybrosys

Go to Selling Tools -> Website Preferences and Turn on the Auto return option and give the return URL.

paypal configuration in odoo-cybrosys

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,

https://<your_odoo_instance_url>/shop/confirmation

paypal configuration in odoo-cybrosys

While turning on the Payment data transfer option, the end user will get the Paypal PDT Token. The Return URL should be turned on to active for the payment data transfer getting the access token.

paypal configuration in odoo-cybrosys

We get all the details to configure the Paypal. Now get back to the profile and go to the Instant payment notifications option in the Selling Tools menu.

paypal configuration in odoo-cybrosys

Give the Notification URL and check the ‘Receive IPN messages’ option. The notification URL should be like,

https://<your_odoo_instance_url>/payment/paypal/ipn


paypal configuration in odoo-cybrosys

Turning on this notification will allow integrating the payment notifications of Paypal with our odoo website after the payment. 

At last, we have to change the encoding format of the payment.G et back to Selling tools and select the Paypal button language encoding. Set the encoding type UTF-8.

paypal configuration in odoo-cybrosys

After successful testing one can configure the original Paypal account like this. Also, set the Environment to ‘Production’ in odoo Paypal settings. 




Comments

0


Leave a comment

 
Calicut

Cybrosys Technologies Pvt. Ltd.
Neospace, Kinfra Techno Park
Kakkancherry
Kerala, India - 673635

London

Cybrosys Limited
Alpha House, 100 Borough High Street,
London, Greater London,
SE1 1LB, United Kingdom

Kochi

Cybrosys Technologies Pvt. Ltd.
1st Floor, Thapasya Building,
Infopark, Kakkanad,
Kochi, India - 682030.

Bangalore

Cybrosys Techno Solutions
The Estate, 8th Floor,
Dickenson Road,
Bangalore, India - 560042

Send Us A Message