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.0.16.tar.gz (56.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

trytond_account_payment_stripe-6.0.16-py3-none-any.whl (97.4 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for trytond_account_payment_stripe-6.0.16.tar.gz
Algorithm Hash digest
SHA256 72345cea318dbb8b0ef6ee2941ae56e6eed62784ede734fb966c74098c145ba4
MD5 3f172866a9473184b3c971e17a5790fd
BLAKE2b-256 c1c5ff7c4cc56a5833ddecae5545f1da83149832211327a3382d7667dad7e6bb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for trytond_account_payment_stripe-6.0.16-py3-none-any.whl
Algorithm Hash digest
SHA256 50314e59219f4fed35f98970691fabdafcc284ffd7dc2a700ed638f7e8a7d3b3
MD5 b910ff162e344d0223f7231b87102f45
BLAKE2b-256 1b066f131c7d05ab97d676bfe0774a205931d0c0bedb5541bfb4222c598d2085

See more details on using hashes here.

Supported by

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