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.
Project details
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
Built Distribution
File details
Details for the file trytond_account_payment_stripe-6.0.12.tar.gz
.
File metadata
- Download URL: trytond_account_payment_stripe-6.0.12.tar.gz
- Upload date:
- Size: 56.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | db8642badb35fb7c7004d8fb4e581bbef9c527a2a2108e4210a3be80a71f1df3 |
|
MD5 | 87a6f9866d685472fa7a62c05133badb |
|
BLAKE2b-256 | 71b6bdbb9a18b399847553b30f2ef0eb1e7ef0578bec027f8ca8abe5c7177699 |
Provenance
File details
Details for the file trytond_account_payment_stripe-6.0.12-py3-none-any.whl
.
File metadata
- Download URL: trytond_account_payment_stripe-6.0.12-py3-none-any.whl
- Upload date:
- Size: 97.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b2399cfe86d08166b739d2a24bfdafbe8245911d5179633a44bebce81d290ebb |
|
MD5 | 59d5ffbd6bff4c76de3a3c791f33ba21 |
|
BLAKE2b-256 | 63acd9311307d1a0f9788d41efdb7ef15fd69581eb554d6dce470b9222d13816 |