Braintree-Wordpress-ClientToken
Braintree Payments Wordpress Intergration. (PHP)
Installation.
- Following Braintree's simple server setup, install via composer.
- configure the environment and API credentials, this is referenced in the config.php
- Added the code within functions.php to your themes function file. ⋅⋅1. braintree & config file are currently being loaded from wp root folder using ABSPATH.
- Function called on page by using [ClientToken] short code. ⋅⋅1. token can then be used to initiate a payment.