Skip to content
Health
57/100
fair
  • Security22/25
    1 minor finding
  • Activity25/25
    Last human commit 2 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity5/25
    In 1 Odoo series since 18.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
Required by
0
Modules depending on it
External deps
2 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.09 MB
Module directory on disk
Code analysis 0 migration notes 2 models 4 views 3 HTTP endpoints

Description

Payment provider integration for Amazon Pay v2.

Supports the EU, NA, and JP regions. Uses the Amazon Pay v2 API (RSA-PSS signed requests) for checkout session creation, completion, and refunds. Handles IPN notifications via a dedicated webhook endpoint.

Dependencies

Odoo dependencies
Python dependencies
cryptography, requests
System dependencies
None
Required by
None

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

Views touched 4

XML IDNameModelTypeStatus
amazon_pay_checkout_button Amazon Pay Checkout Button ir.ui.view qweb New
amazon_pay_method_form amazon_pay_method_form ir.ui.view qweb Inherits payment.method_form
amazon_pay_redirect_form Amazon Pay redirect form ir.ui.view qweb New
view_payment_provider_form_amazon_pay payment.provider.form.amazon.pay payment.provider form Inherits payment.payment_provider_form

HTTP endpoints 3

Route(s)HandlerAuthTypeMethodsFlags
/payment/amazon_pay/cancel AmazonPayController.amazon_pay_cancel public http GET csrf off sudo
/payment/amazon_pay/ipn AmazonPayController.amazon_pay_ipn public http POST csrf off
/payment/amazon_pay/return AmazonPayController.amazon_pay_return public http GET csrf off sudo

Models touched 2

New fields (9)
  • amazon_pay_checkout_language Selection
    default='es_ES' required=True selection=[('es_ES', 'Spanish'), ('en_GB', 'English (UK)'), ('de_DE', 'German'), ('fr_FR', 'French'), ('it_IT', 'Italian'), ('en_US', 'English (US)'), ('ja_JP', 'Japanese')] string='Checkout Language'
  • amazon_pay_merchant_id Char
    help='Amazon Pay merchant identifier.' required_if_provider='amazon_pay' string='Merchant ID'
  • amazon_pay_private_key Char
    groups='base.group_system' help='Amazon Pay Checkout v2 private key in PEM format.' required_if_provider='amazon_pay' string='Private Key'
  • amazon_pay_public_key_id Char
    help='Amazon Pay public key ID used to sign requests.' required_if_provider='amazon_pay' string='Public Key ID'
  • amazon_pay_region Selection
    default='eu' required=True selection=[('eu', 'Europe'), ('na', 'North America'), ('jp', 'Japan')] string='Region'
  • amazon_pay_sandbox_simulation_code Char
    help='Optional sandbox simulation code used by Amazon Pay.' string='Sandbox Simulation Code'
  • amazon_pay_soft_descriptor Char
    help='Optional text displayed on the buyer statement when supported.' string='Soft Descriptor'
  • amazon_pay_store_id Char
    help='Amazon Pay Checkout v2 store identifier.' required_if_provider='amazon_pay' string='Store ID'
  • code Selection
    ondelete={'amazon_pay': 'set default'} selection_add=[('amazon_pay', 'Amazon Pay')]
Public methods (0)

No public methods.

New fields (4)
  • amazon_pay_charge_id Char
    readonly=True
  • amazon_pay_charge_permission_id Char
    readonly=True
  • amazon_pay_checkout_session_id Char
    readonly=True
  • amazon_pay_refund_id Char
    readonly=True
Public methods (0)

No public methods.