Skip to main content

Tryton module for Braintree payment

Project description

The account_payment_braintree module allows receipt of payments using Braintree. It uses the Drop-in UI in a checkout form to handle the payment method nonce for card and other supported payment methods.

Account

The Account stores the information about the Braintree account like the merchant ID, the public and secret keys etc.

The account’s webhook endpoint is the URL used by Braintree’s webhooks. If no webhook is setup, disputes will not update existing payments.

Customer

The Customer allows parties to be registered as Braintree customers. The checkout/add card button opens the Braintree Drop-in UI form.

A scheduled task runs every hour to create new customers on Braintree and another to delete them if they have become inactive.

Journal

The journal has a new field to store the Braintree account if the process method is set to “Braintree”.

Payment

The payment also has a checkout button which opens the Braintree Drop-in UI form. A payment can be processed using a nonce or a payment method from the customer. In case of an error, a new field displays the error message from Braintree. The settle field can be unchecked to only authorize on processing and settle the amount in a second step.

Two scheduled tasks run every 15 minutes to transact and settle each processing payment. Another scheduled task also runs every 15 minutes to pull updates for each processing payment until they have succeeded or failed.

The Braintree payments have a pull button which can be used to force an update with the braintree transaction.

Configuration

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

  • payment_methods_cache: defines the duration in seconds that payment methods are kept in the cache. The default value is 15 * 60.

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_braintree-7.0.1.tar.gz (47.6 kB view details)

Uploaded Source

Built Distribution

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

File details

Details for the file trytond_account_payment_braintree-7.0.1.tar.gz.

File metadata

File hashes

Hashes for trytond_account_payment_braintree-7.0.1.tar.gz
Algorithm Hash digest
SHA256 6bfb4d1e7747216da05b0d62b7913755da0b065502265b7c2b6947bba1e0c127
MD5 6607f3dde95f25423a785669cb9222e4
BLAKE2b-256 c82a97ad22e656ad3fcb93a19d4ca508a029d893f8739c3f4c723ded3f0c2444

See more details on using hashes here.

File details

Details for the file trytond_account_payment_braintree-7.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for trytond_account_payment_braintree-7.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 00848f874f6f316e7dc1ff5afc5f945ed3230606325c1821ab2b4be3465000f5
MD5 a8d7f347790abe8047c032b248ce1162
BLAKE2b-256 d9027ac6e3537a1131df36244892f7c3b2bdf37f3503a84f42d59f80a27b9d5d

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