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.

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.

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

Uploaded Source

Built Distribution

File details

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

File metadata

  • Download URL: trytond_account_payment_stripe-5.4.4.tar.gz
  • Upload date:
  • Size: 46.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/44.1.0 requests-toolbelt/0.9.1 tqdm/4.40.0 CPython/3.7.7

File hashes

Hashes for trytond_account_payment_stripe-5.4.4.tar.gz
Algorithm Hash digest
SHA256 f801e7d7db36636a6e4e5a9426488add1ba99fe40a38722a19a927100103a46c
MD5 9d76bc38914a794cc596663c15dbcd73
BLAKE2b-256 0ee58407f9098cc217a622c356e8d854d468b6483e7eccb9843f902440993e36

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: trytond_account_payment_stripe-5.4.4-py3-none-any.whl
  • Upload date:
  • Size: 79.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/44.1.0 requests-toolbelt/0.9.1 tqdm/4.40.0 CPython/3.7.7

File hashes

Hashes for trytond_account_payment_stripe-5.4.4-py3-none-any.whl
Algorithm Hash digest
SHA256 68fa8092e6ae8ec0da3643d837b389bb1b7bc0e8ec0d82f93b7cf8d912ff50e5
MD5 7c42a22dba8a6e4dd8c638d43ff2058e
BLAKE2b-256 f8de9b7bd8f6e46b6c0476036e3d8e756812c98f7470bde38a6eea6d28dfdea8

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