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

This version

6.4.0

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

Uploaded Source

Built Distribution

File details

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

File metadata

  • Download URL: trytond_account_payment_stripe-6.4.0.tar.gz
  • Upload date:
  • Size: 61.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.4

File hashes

Hashes for trytond_account_payment_stripe-6.4.0.tar.gz
Algorithm Hash digest
SHA256 0545b2bb970e6a5346139702baa0c2c72899ced2e7b8d70d9ecbdb6c369ea282
MD5 dae983146eb7da121f137cdfb0489fb1
BLAKE2b-256 5cb1051eea779517265cba4015dad6700017a30128d7401612bfc3747543ef05

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: trytond_account_payment_stripe-6.4.0-py3-none-any.whl
  • Upload date:
  • Size: 103.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.4

File hashes

Hashes for trytond_account_payment_stripe-6.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 830ab25a80d9fa1ef9f43ed781107ccc1af68aef527a32073cdcfc7765fd3e6e
MD5 4278bb41c6298d42d3cf091982b109ca
BLAKE2b-256 a2dc651d88720cfd889894d60f7648685a6dfaf670eb004be2575eaeafc1105c

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