Setting Up BrainTree

First you will need to enable customer login in the application by entering the below values in your .env file

Customer_login = true

Then you need to register at braintree and enter the below values in your .env file

#Braintree Payment Integration
Braintree_environment = sandbox
Braintree_merchantId = mx3v8g567567567
Braintree_publicKey = 84mt5qv657675675
Braintree_privateKey = 7243546546457567

Please use a sandbox account first before using a real account when making payments to check if the systems will work for your products.

Customers will then be able to pay for invoices by clicking on View invoice then Pay Invoice.