PaymentProvider interface from the Payments Module using Braintree’s GraphQL and REST APIs. Its Webhook handles Braintree’s bt_signature and bt_payload notification format.
Source: modules/braintree · npm: @86d-store/braintree
Installation
Configuration
Add the Module toconfig.json, then set the BRAINTREE_* environment variables. Do not put the private key in source or config.json. See Environment variables.
Webhook setup
In the Braintree Control Panel, go to Settings -> Webhooks and create a webhook fortransaction_settled and transaction_settlement_declined pointing at: