Odoo Help


4 Answers

Brett Lehrer United States

--Brett Lehrer--

| 5 5 10
Milwaukee, United States
--Brett Lehrer--
Director of IT and open source enthusiast.
Brett Lehrer United States
10/22/13, 1:19 AM

I just finished re-writing the 6.0 module from NovaPoint for OpenERP v7 not too long ago. You're welcome to use it as a reference. We never process credit cards directly on sale orders due to our customer base, so there's a number of features that I didn't bother to flesh out. There are also several CIM methods I didn't bother with due to how infrequently we use them, but using the existing wizards you should be able to quickly add those remaining features in.


My apologies for the odd bazaar organization, I always use git and am not familiar with hosting bzr projects on launchpad. Couple notes, you'll need these three modules:

  • account_payment_cc
  • account_payment_cc_authorizenet
  • rsa_encryption

I split the main CC processing code into two modules because we may be moving to Chase Paymentech in the future, and I wanted to leave the code relatively abstracted so I can easily add their API in. Also, I'm using urllib3, which wasn't included in Ubuntu until 13.04 I believe. Probably don't need to, but I copied it from my shipping API code, and I needed something thread safe to query multiple shipping companies for quotes at once. Anyway, you can get the source code for that here: https://pypi.python.org/pypi/urllib3

Card information is either stored in the Authorize.net CIM, or as a one-time use card saved directly to the account_voucher record (card info is purged once the payment is validated). CIM records are created/stored on the res_partner record of a contact. rsa_encryption is used to encrypt sensitive fields in the voucher record, so you'll need to generate a public/private key pair before storing any encrypted data - those functions are built into the module so that can be done from OpenERP directly. I recommend a key size of 1024 or 2048 bits, if you go higher the database fields probably need to be expanded.

Feel free to send me any questions you have setting that up.

Vaibhav United Arab Emirates
10/22/13, 4:31 AM

current module is needed some configuration in code ? or just I need to download and install these modules in my openerp instance?

Brett Lehrer United States
10/22/13, 10:45 AM

It's working as-is, but I didn't implement every possible feature of the API, just the main ones.

Serpent Consulting Services Pvt. Ltd., Serpent Consulting Services Pvt. Ltd. India
11/22/13, 11:02 AM

We have been using, implementing both CC API and CIM on 3 versions successfully, 6,6.1,7.0 6.0 and 6.1 is already on openerp-usa. We should be releasing 7.0 code soon.

richa soni India
1/17/14, 5:50 AM

I am using your code for http://authorize.net connector for OpenERP v7 I did the following steps: >> generated RSA keys >>added CC API details >> added customer bank details and tried to Create customer profile. But i got the below error. Can you please let me know what is actual issue. Did i miss some step?

MaxRetryError: HTTPSConnectionPool(host='api.authorize.net', port=443): Max retries exceeded with url: /xml/v1/request.api (Caused by <class 'socket.error'>: [Errno 110] Connection timed out) mailid: soniricha22@hotmail.com


Fabrice Henrion (fhe) United States

--Fabrice Henrion (fhe)--
| 8 8 12
San Francisco, United States
--Fabrice Henrion (fhe)--

Director Odoo Americas

Fabrice Henrion (fhe) United States
10/7/13, 11:50 PM

On v7, authorize.net integration is not available. It was under v6 here: https://github.com/aliomattux/authorize (I didn't test it)

If you are interested in being able to receive credit card payments, the easiest will be to use Paypal which is already integrated in OpenERP (link in invoice emails). You can configure it in Settings > Accounting > Bank and Cash.

Alternatively, you can also have a look at the generic payment processors integration in Settings > Accounting > Bank and Cash > Configure payment acquiring methods where you can add other processors than Paypal for employees (Merchant feature) and portal users.

1 Comment
Vivekrajan Rayappan India
10/8/13, 9:24 AM

Hi, Fabrice is right. I am actually upgrading the module to V7. If you are interested, contact me through mail. vivek.bics@gmail.com

D P Hicks United States
8/22/14, 8:41 AM

Hey guys.... what ever happened with this development?

Since this discussion, NPG has ported over to v7 the CC Auth.net, CC Auth.net with CIM, and soon well be developing the CC reconcilation module to reconcile CC transactions that go from Odoo to Authorize and then back to Odoo.

Just curious.

D.P. Hicks


NovaPoint Group




OpenERP Master United States
10/23/14, 11:48 PM

Hi Guys,

Most of the code available today is the Novapoint code thats been shuffled around a lot/re-implemented. We are working on a new implementation from scratch that uses the CIM (Customer information manager) instead of the current implementation most used which is (SIM) Server integration method. It is written in soap. Our version will be supported in the newest software v8 Odoo, not 7 though. We anticipate it being completed within 2 weeks. When it is finished we will make it available for free and I will post a link. If anyone is interested in contributing to it, we have set up a funding campaign. It is much more than authorize.net however, its several modules to produce an ecommerce solution for Magento. Here is the link: https://www.indiegogo.com/projects/mage2odoo-8-0-management-solution

Ask a Question
Keep Informed
3 follower(s)
About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now