Enable Dark Mode!
By: Avinash

2Checkout Payment Gateway Integration in Odoo

Odoo 11 Website&E-commerce

As we know Odoo comes fully integrated with Payment Gateways. It allows its end users to execute their transactions via different payment gateways such as Paypal, Ogone, Adyen, Buckaroo, Authorize.net, Stipe, etc. Odoo provides the freedom to choose different payment options suiting one’s store. This way it provides a high degree of flexibility to the businesses to smoothly transact their businesses without any hurdles.
Here we release the new module that integrates the Odoo with a relevant payment gateway called 2Checkout.
Via this integration, one can initiate the payment from Odoo itself rather than redirecting to the payment acquirer site.
When you install the module, you get the new payment acquirer 2Checkout.
Inside that payment acquirer form,  one has to configure the following data.
> Seller id
> Public key
> Private key

You might be amused over where to get these details? 
To avail of these details, you have to open your 2Checkout account.
2Checkout: https://www.2checkout.com/ 
and also, you can use the Sandbox service of 2Checkout for testing purposes.
Sandbox: https://sandbox.2checkout.com/


Here you get the Seller id


(https://sandbox.2checkout.com/sandbox/api) and here you can find the Public and Private keys. This is for Sandbox account.

For 2Checkout account

Here you get the details (https://www.2checkout.com/va/api/)
After filling in the configuration details, you are connected to the 2Checkout service.
Now we can check the use of this payment method.
At the time of customer payment in the eCommerce portal, you can give them this payment option. At the payment screen, this payment method is also added if you necessitate publishing that payment acquirer.

Customers have to give their card details.  Such as card number, expiry date, and Card Verification Value (CVV) in the form.

If the transaction is successful, the customer is led to this page of confirmation. If not, the customer gets redirected to the cart again.

By this action, there occur three different processes.
Two processes in Odoo and One Process in 2 Checkout accounts.
In the backend of Odoo, the corresponding sale order and transaction is completed.

> Sales Order


> Transaction


In checkout, there is a sale is created for the same amount.


This image is the sale done in the sandbox account. If you are given the credentials of a 2Checkout account, the sale is created in that account.

If you need any assistance in odoo, we are online, please chat with us.


Leave a comment




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



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



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

Send Us A Message