Files
encoach_backend_new_v3/odoo/addons/payment_authorize
Yamen Ahmad 3e83d8d7d5 feat: add complete EnCoach backend — Odoo 19 + all addons
Includes:
- Odoo 19 framework (odoo/)
- 27 custom EnCoach addons (new_project/custom_addons/)
  - encoach_core, encoach_api, encoach_lms_api, encoach_adaptive_api
  - encoach_exam, encoach_taxonomy, encoach_adaptive, encoach_assignment
  - encoach_ai, encoach_ai_grading, encoach_ai_generation, encoach_ai_media
  - encoach_courseware, encoach_communication, encoach_subscription
  - encoach_notification, encoach_approval, encoach_branding
  - encoach_classroom, encoach_registration, encoach_stats
  - encoach_faq, encoach_ticket, encoach_training, encoach_resources
  - encoach_adaptive_ai, encoach_sis
- 21 OpenEduCat Enterprise modules (new_project/enterprise-19/)
- 14 OpenEduCat Community modules (new_project/openeducat_erp-19.0/)
- Configuration: odoo.conf, requirements.txt, scripts
- 200+ REST API endpoints with JWT authentication
- SRS and test documentation

Made-with: Cursor
2026-04-01 17:10:04 +04:00
..

Authorize.net

Technical details

SDK: Accept.js version 1

API: Accept suite API version 1

This module renders a self-hosted payment form with regular (non iframe) inputs and relies on the Accept.js SDK to send the payment details to Authorize.net through a secure connection. The JS assets are loaded in JavaScript when the payment form is submitted.

Other communications with Authorize.net are performed via server-to-server API calls.

This combined solution allows the implementation of a simple direct payment flow whilst keeping the front-end development efforts low. As payment details are retrieved in clear but are immediately passed to the Accept.js SDK, the solution qualifies for SAQ A-EP.

Supported features

  • Direct payment flow
  • Tokenization with or without payment
  • Full manual capture
  • Full refunds

Missing features

  • Partial manual capture
  • Webhook notifications: not available

Module history

  • 16.1
    • The "Authorize Currency" field is replaced by the generic "Currencies" field of payment. odoo/odoo#101018
  • 16.0
    • Archiving a token no longer deactivates the related payment method on Authorize. odoo/odoo#93774
  • 15.4
  • 15.0
  • 14.3
    • The payment with redirection flow that existed alongside the direct payment flow is dropped. odoo/odoo#141661

Testing instructions

An HTTPS connection is required.

https://developer.authorize.net/hello_world/testing_guide.html

VISA

Card Number: 4111111111111111

MasterCard

Card Number: 5424000000000015

eCheck

Bank Name: whatever

Name On Account: whatever

Account Number: 123456

ABA Routing Number: 121122676