Skip to main content

Tryton module for Stripe payment

Project description

The account_payment_stripe module allows to receive payment from Stripe. It uses Stripe.js and Stripe Elements in a checkout form to handle Setup Intent and Payment Intent by card.

Account

The Account stores the information about the Stripe account like the secret key, the publishable key and the webhook signing secret.

The account’s webhook endpoint is the URL used by stripe webhooks. For additional security, the Stripe’s requests signature can be verified if the webhook signing secret is set on the Account. If no webhook is setup, a cron task fetches the new events.

Customer

The Customer allow to register parties as Stripe customers. The checkout button opens the Stripe checkout form.

A cron task runs every hour to create new customers on Stripe and another to delete them if they are inactivated.

Journal

The journal has a new field for the Stripe account.

Payment

The payment has also a checkout button which opens the Stripe checkout form. A payment can be processed off-session using a source or payment method from the customer. In case the payment method requires authorization, an email is sent to the party with a link to the checkout form. In case of error, it has also new fields which display the error messages.

A cron task runs every 15 minutes to charge each processing payment.

The capture box can be unchecked to only authorize on processing and capture the amount in a second step.

If the payment is disputed, it will be updated at the closure of the dispute.

It is possible to partially or completely refund a payment.

Configuration

The account_payment_stripe module uses the section account_payment_stripe to retrieve some parameters:

  • sources_cache: defines the duration in seconds the sources are kept in the cache. The default value is 15 * 60.

  • max_network_retries: defines the maximum number of retries the Stripe library may perform. The default value is 3.

Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

trytond_account_payment_stripe-6.4.1.tar.gz (60.9 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file trytond_account_payment_stripe-6.4.1.tar.gz.

File metadata

File hashes

Hashes for trytond_account_payment_stripe-6.4.1.tar.gz
Algorithm Hash digest
SHA256 791fa4f5e537650c83c44a6cc8efe85a6b9f0f322daca777eaa330f496c2be7b
MD5 52967562d8fe107b803d80b42b23494d
BLAKE2b-256 2fbf6b297e8a94dda928d70a48e659e8ffa17b7e0dbf62a95d03836dd727fafa

See more details on using hashes here.

Provenance

File details

Details for the file trytond_account_payment_stripe-6.4.1-py3-none-any.whl.

File metadata

File hashes

Hashes for trytond_account_payment_stripe-6.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0e46d2dd00753f609aa6f0ae5ff8a88f3005c5d537a601197c740845f79cd740
MD5 f8908f0c38de4e85b84348b8550c3f9a
BLAKE2b-256 268244f9ff7d3b2efb4c103b0a11e75ec286622756074117e032a3c634e4df3e

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page