Skip to main content

Invader Payment Adyen

Beta License: AGPL-3 shopinvader/odoo-shopinvader-payment

This module implements rest services for Adyen payments.

Table of contents

Configuration

  • Go to Invoicing > Payment Acquirers > Adyen

  • Add the Api key corresponding to the backend user

Usage

This has been developed following https://docs.adyen.com/checkout/drop-in-web and will allow to get automatic payment form generated by Adyen like:

https://user-images.githubusercontent.com/19529533/67020136-02274c00-f0fe-11e9-972b-25014d0cae5c.png

Four services are exposed to manage payments with Adyen.

Here are the services (that can be explored and tested with Swagger):

  • paymentMethods

    • This will call Adyen to retrieve all backend configured payment methods that correspond to the “payable” object (in terms of amount, country, currency, … see Adyen)

    • This takes as parameters:

      • target: (eg.: “current_cart”)

      • payment_mode_id: The Adyen payment mode

    • This will return a dict containing payment methods that are activated on the Adyen backend and intended to be passed to the drop-in widget.

{
 "paymentMethods":[
  {
    "details":[...],
    "name":"Credit Card",
    "type":"scheme"
    ...
  },
  {
    "details":[...],
    "name":"SEPA Direct Debit",
    "type":"sepadirectdebit"
  },
  ...
  ]
}
  • payments

    • This will initiate the payment itself.

    • This takes as parameters:

      • target: (eg.: “current_cart”)

      • payment_mode_id: The Adyen payment mode

      • transaction_id: The current transaction

      • payment_method: The Adyen payment method chosen (bcmc, scheme, …)

      • return_url: The url to return to in case of redirection

    • This will return a dict containing payment response containing :

{
  "resultCode":"IdentifyShopper",
  "action":{
    "paymentMethodType":"scheme",
    "token":"eyJ0aHJlZURTTWV0aG9kTm90aWZpY...",
    "type":"threeDS2Fingerprint"
  },
  "authentication":{
    "threeds2.fingerprintToken":"eyJ0aHJlZURTTWV0aG9kTm90aWZpY..."
  },
  "details":[
    {
      "key":"threeds2.fingerprint",
      "type":"text"
    }
  ],
  "paymentData":"Ab02b4c0!BQABAgCuZFJrQOjSsl\/zt+..."
}
  • payment_details

    • This will allow to pass further details required by provider

    • This takes as parameters:

      • data

      • transaction_id

    • This will return :

{
 data: {
    details: {
      threeds2.fingerprint: "eyJ0aHJlZURTQ29tcEluZCI6IlkifQ=="
    },
    paymentData: "Ab02b4c0!BQABAgAKspbjN8+5..."
 }
}

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.

Do not contact contributors directly about support or help with technical issues.

Credits

Authors

  • ACSONE SA/NV

Contributors

Maintainers

Current maintainer:

rousseldenis

This module is part of the shopinvader/odoo-shopinvader-payment project on GitHub.

You are welcome to contribute.

Metadata

Release files for odoo14-addon-invader-payment-adyen 14.0.1.0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for odoo14-addon-invader-payment-adyen 14.0.1.0.5
File Interpreter ABI Platform Actions
odoo14_addon_invader_payment_adyen-14.0.1.0.5-py3-none-any.whl Python 3 none any Details for odoo14_addon_invader_payment_adyen-14.0.1.0.5-py3-none-any.whl

Release files / odoo14_addon_invader_payment_adyen-14.0.1.0.5-py3-none-any.whl

Download URL odoo14_addon_invader_payment_adyen-14.0.1.0.5-py3-none-any.whl
Size 36.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cf85aa73129d173d0e50f26e63c2fd56b14830f8d53d35d030fa7c1aa771cadc
BLAKE2b-256 checksum
How to use checksums
b829f68b59257ec2f839c493632314ae5e53e1a9eedc1d6ad4d409b34fba5f73
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.8.10

Security for odoo14-addon-invader-payment-adyen 14.0.1.0.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page