Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Artificial Intelligence
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Property Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries ⟶
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    • Affiliate Program
    Get Services
    • Find a Partner
    • Find an Accountant
      • Get a Tailored Demo
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +32 2 290 34 90
    • Get a Tailored Demo
  • Pricing
  • Help
  1. APPS
  2. Payment Providers
  3. 2Checkout Payment Gateway - Verifone 2Checkout Payment Provider | ConvertPlus, 2Pay.js, IPN, Refunds v 19.0
  4. Sales Conditions FAQ

2Checkout Payment Gateway - Verifone 2Checkout Payment Provider | ConvertPlus, 2Pay.js, IPN, Refunds

by Modvanta https://modvantaapps.tech/odoo-apps/payment-2checkout/
Odoo

$ 28.92

v 19.0 Third Party
Apps purchases are linked to your Odoo account, please sign in or sign up first.
You bought this module and need support? Click here!
  • Description
  • Manifest
  • License
2Checkout Payment Gateway for Odoo 19

2Checkout Payment Gateway for Odoo 19

Accept 2Checkout (Verifone) payments in Odoo: send customers to the ConvertPlus hosted checkout, or show the 2Pay.js card form right on your own checkout page. IPN with HMAC signature, 3-D Secure, full and partial refunds, 1-click payments with saved orders and test orders.

ConvertPlus hosted checkout2Pay.js card formIPN (SHA-2 / SHA-3)3-D SecurePartial refunds1-click paymentsTest ordersMulti-currencyGateway log
Buy Now - $29Ask a Question
Written and supported by Modvanta - modvantaapps@gmail.com
2
checkout flows: hosted or on-site
2
signature algorithms: SHA-2, SHA-3
60
automated tests
$29
one-time price
Built on the public 2Checkout documentation
The module follows the documentation that 2Checkout (Verifone) publishes: ConvertPlus dynamic buy-links and their signature, the signature of the return URL, the 2Pay.js library, REST API 6.0 (orders, refunds, previous order references, currencies) with the X-Avangate-Authentication header, and the IPN hash and read receipt. The signature code is tested against the worked examples of that documentation. The screenshots of the hosted flow were taken with a local simulator built from the same reference; the 2Pay.js card fields are the real 2Checkout library. It was not run against a live 2Checkout account: you need your own 2Checkout merchant account. Modvanta is not affiliated with 2Checkout or Verifone.

What it does

The module adds 2Checkout as a payment provider in Odoo. Enter your merchant code, secret key and buy-link secret word, press Test Connection and paste the IPN URL into your 2Checkout control panel. At the checkout, the customer pays on the 2Checkout ConvertPlus page (cards, PayPal and the other methods of your account), or types the card into the 2Pay.js fields on your own page. When the customer comes back, Odoo reads the order from the 2Checkout REST API before it confirms anything, and the signed IPN keeps the payment up to date afterwards (review, completion, cancellation, refund). Refunds are sent from the payment in Odoo, in full or in part. Customers can save the payment for a 1-click purchase next time.

Who it is for

Software and digital sellers
2Checkout is merchant of record in many countries and handles taxes and cards worldwide; Odoo keeps the order and the invoice.
Shops that want the card form on site
With 2Pay.js the customer stays on your checkout page; card data goes straight to 2Checkout.
Shops with returning customers
1-click payments reuse the reference of a paid order, so the customer does not type the card again.

Key Features

Every screenshot below was taken on a test database.

12Checkout credentials
Merchant code, secret key and buy-link secret word from Integrations > Webhooks & API, the hash algorithm, and the IPN URL to copy into 2Checkout. Test Connection signs a REST call and lists the currencies of your account.
The 2Checkout provider in test mode.
The 2Checkout provider in test mode.
2Hosted checkout or card form on your site
Choose ConvertPlus (hosted page, all payment methods) or 2Pay.js (card fields on your checkout). Set the ConvertPlus template and theme, physical goods, the refund reason and how long the signed link is valid.
2Checkout options of the provider.
2Checkout options of the provider.
32Checkout at the website checkout
The customer picks card or PayPal and pays through 2Checkout; the payment can be saved for next time.
Website checkout with 2Checkout.
Website checkout with 2Checkout.
4Order confirmed after the payment
Back from 2Checkout, Odoo checks the signed return URL and reads the order from the REST API, then confirms the sale order.
The order confirmation page after a test payment.
The order confirmation page after a test payment.
52Checkout order on the transaction
Order reference (RefNo), order status, payment type and masked card, a test-order flag, and a button to ask 2Checkout for the current status.
A paid 2Checkout transaction.
A paid 2Checkout transaction.
6Full and partial refunds
Refund from the payment in Odoo: the refund is sent to 2Checkout with your refund reason. Refunds made in the 2Checkout control panel come back through the IPN.
Refunding part of a payment.
Refunding part of a payment.
7Refund confirmed
The refund transaction is linked to the payment and to the 2Checkout order.
A confirmed partial refund.
A confirmed partial refund.
8Gateway log
Every buy-link, REST call, return and IPN is logged with the request and the answer. Secrets and card tokens are masked.
The 2Checkout log.
The 2Checkout log.
91-click payments
A saved payment is the reference of a paid order. Odoo checks that 2Checkout still accepts it, then places the new order without asking for the card.
A saved payment in the customer portal.
A saved payment in the customer portal.
102Pay.js card form
The secure card fields of 2Checkout inside your checkout page. 3-D Secure is handled: the customer goes to the bank page and comes back to Odoo.
The 2Pay.js card fields on the checkout page.
The 2Pay.js card fields on the checkout page.

Everything included

2Checkout payment provider, disabled until you configure it
Test orders (test=1 / TEST type) and live mode
ConvertPlus dynamic buy-link, HMAC-SHA256 signed, with expiry
Customer details prefilled on the 2Checkout page
ConvertPlus template, theme code and language
Signed return URL checked, order read from REST API 6.0
2Pay.js card form with 3-D Secure redirect and return
IPN with SHA-2 or SHA-3 signature and read receipt
Order statuses: complete, review, pending, canceled, reversed, refund
Full and partial refunds with your refund reason
Refunds made in the 2Checkout control panel recorded in Odoo
1-click payments with a previous order reference
Card brand and last digits written on the transaction
Check 2Checkout Status button on the transaction
REST authentication with SHA-2 or SHA-3
Multi-currency (any currency of your 2Checkout account)
Gateway log with secrets masked, weekly clean-up
Website checkout and customer portal payments

How it works

1
Credentials
Enter merchant code, secret key and buy-link secret word.
2
IPN
Paste the IPN URL in 2Checkout and tick the SHA hash.
3
Flow
Choose ConvertPlus or the 2Pay.js card form.
4
Publish
Set the provider to Test or Enabled and publish it.
5
Pay and refund
Customers pay; you refund from Odoo.

Settings

Merchant CodeIntegrations > Webhooks & API in the 2Checkout control panel.
Secret KeySigns the REST API calls and checks the IPN.
Buy-Link Secret WordSigns the ConvertPlus links and checks the return URL.
Hash AlgorithmSHA-2 (sha256) or SHA-3 (sha3-256), as set in your IPN settings.
Checkout FlowHosted checkout (ConvertPlus) or card form on your website (2Pay.js).
ConvertPlus Template / Theme CodeDefault or one-column page, and an optional theme of your account.
Physical GoodsSend the order as a tangible product.
Refund ReasonOne of the refund reasons of your account, sent with every refund.
Allow Saving Payment MethodsOffer 1-click payments (ask 2Checkout to enable them on your account).

FAQ

Do I need a 2Checkout account?
Yes, a 2Checkout (Verifone) merchant account. The merchant code, secret key and buy-link secret word are in Integrations > Webhooks & API.
Which flow should I use?
ConvertPlus shows every payment method of your account on the 2Checkout page. 2Pay.js keeps the customer on your page for cards; other methods still go through ConvertPlus.
How is a payment trusted?
The return URL signature is checked, but Odoo also reads the order from the REST API and checks the order reference and the amount. The IPN must carry a valid HMAC signature.
Can customers save a card?
Yes, as a 1-click payment: 2Checkout keeps the card and Odoo keeps only the reference of the paid order. 2Checkout must enable 1-click purchases on your account.
Can I refund from Odoo?
Yes, in full or in part, for completed 2Checkout orders less than three months old, as 2Checkout requires.

Compatibility

Odoo 19 CommunityOdoo 19 EnterpriseOdoo.sh

Depends only on the standard Payment module. eCommerce and Invoicing are optional.

Take 2Checkout payments in Odoo
Hosted checkout or on-site card form, with IPN, refunds and 1-click payments.
Buy Now - $29Hire Me for Odoo Work
EMAIL
modvantaapps@gmail.com
AUTHOR
Modvanta
INCLUDED
Hosted or on-site checkout, IPN, refunds, 1-click

Support: modvantaapps@gmail.com - questions before buying are welcome.

Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Discuss (mail)
Lines of code 1108
Technical Name mdv_payment_2checkout
LicenseOPL-1
Websitehttps://modvantaapps.tech/odoo-apps/payment-2checkout/
Odoo Proprietary License v1.0

This software and associated files (the "Software") may only be used (executed,
modified, executed after modifications) if you have purchased a valid license
from the authors, typically via Odoo Apps, or if you have received a written
agreement from the authors of the Software (see the COPYRIGHT file).

You may develop Odoo modules that use the Software as a library (typically
by depending on it, importing it and using its resources), but without copying
any source code or material from the Software. You may distribute those
modules under the license of your choice, provided that this license is
compatible with the terms of the Odoo Proprietary License (For example:
LGPL, MIT, or proprietary licenses similar to this one).

It is forbidden to publish, distribute, sublicense, or sell copies of the Software
or modified copies of the Software.

The above copyright notice and this permission notice must be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author or have a question related to your purchase, please use the support page.
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with