Braintree Payment Gateway

Size: px
Start display at page:

Download "Braintree Payment Gateway"

Transcription

1 Braintree Payment Gateway webkul.com /blog/magento-braintree-payment-gateway-2/ Published On - April 17, 2015 With the help of this module, admin can now add Braintree Payment Gateway for their product. Now you can do a transaction with the reliable and trusted payment gateway. Braintree provides ecommerce businesses with the ability to accept payments online. Features Use Drop-In UI to accept payment from a supported credit card or PayPal from buyers. Accept both card entry and PayPal account. Allow activating cron job using C panel for automatic capture invoice on transaction settled. Online void transaction on Cancel and Void order from admin panel. Separate Braintree transaction order grid. Webhook notification to update braintree order comment status on braintree transaction i.e DISBURSEMENT_EXCEPTION,DISBURSEMENT,TRANSACTION_DISBURSED, Transaction_DISPUTE_OPENED,Transaction_DISPUTE_WON,Transaction_DISPUTE_LOST Admin can enable vault for store the information. Enable/disable payment method from admin panel. Ability to Refund if an invoice has been generated. configuration After the successful installation of the Braintree Payment Gateway module you will be able to see the configuration panel under System > Configuration > Sales > Payment Methods > Webkul Braintree Payment Gateway as per the below screen. Enabled Select Yes if you want to enable the module. Else select No. 1/10

2 SandBox Active Here admin can check Braintree payment using sandbox mode to set Yes if selected option is No option then production mode is enabled. Title Enter the name of the payment method as it will appear in the Payment Information list. Account Id This option sets the Merchant Id which is provided by Braintree Payment Gateway. Private Key This option sets the Private key which will use for testing the payment gateway. Public Key This option sets the Public key which will use for testing the payment gateway. Enable Vault If this option is set as yes then customer information will be saved. Otherwise, customer information will not save. Payment For Applicable Countries Select which customers can use this payment method. All Allowed Countries means all customers from the default countries list can use this payment method. Admin can also select the payment method for the specified country. New Order Status This option determines the order status at the completion of checkout. Admin can set Pending or Processing order status. Minimum Order Total This option allows admin to set minimum order total. If Grand total of an order is less than specified Minimum Order Total value then Braintree module will not allow to check out with Braintree payment gateway. Maximum Order Total This option allows admin to set maximum order total. Sort Order Admin can enter the sort order. This will determine in what order each method is listed in the front-end. As you can see Public Key and Private Key in below screenshot. Braintree Payment Gateway will provide you these keys. 2/10

3 Braintree Payment Gateway Working Process If Braintree Payment Gateway Method is enabled from admin panel then the buyer can see this payment method inside his Payment Information as shown in given screenshot. Our Braintree Payment Gateway is based on Drop-In UI. The Drop-In UI includes both card entry form and Paypal Account button. If the customer will select Paypal then after clicking on Paypal button, login page of Paypal account will appear. The customer has to enter valid id and password to log in. 3/10

4 After entering valid id, password and agree with PayPal terms and condition below page will appear. From here the customer can do payment or can change the payment method. If the customer can select Card entry for payment, then they have to enter Card No. and expiry date. 4/10

5 After the successful checkout, the amount will pay to Braintree account of admin and if the vault is enabled then that customer information will store in the vault. Admin Management Admin can see the list of all transaction under Braintree Management > Manage Braintree Order. If the Braintree Transaction Status is Authorized or Submitted for Settlement, then invoice status will be in pending state. With this transaction status, admin can void or cancel the transaction as well as on this action void 5/10

6 will occur for the transaction. Admin can see the transaction list in Braintree account. Online Cancel/Void Order Admin can void or cancel the order by clicking on order id. Refer to the below screenshot for the same. 6/10

7 If the Braintree transaction status is Settling or Settled, then an invoice will be generated and invoice status becomes captured. If cron job is activated the invoice will be captured automatically on Settled transaction. Admin can also capture the invoice manually. Order detail for Settled transaction Braintree Money Refund For an Order When invoice will generate, admin can refund the money. Follow these steps to Refund money. 1.Go to invoice page for an placed order for which wanna do refund. Now click on the Credit Memo tab. 2. After clicking on Credit Memo, you have to click on Refund button. Refer to the below screenshot for the same. 7/10

8 Braintree will refund when transaction status is settled. After successful Refund, you can see the Refund transaction detail in Braintree Account. 8/10

9 Webhooks In Braintree Webhooks are real-time notifications that alert you whenever an automated event occurs in our system. Braintree Payment Gateway provides Webhook notification to update Braintree order comment status on Braintree transaction i.e DISBURSEMENT_EXCEPTION, DISBURSEMENT, TRANSACTION_DISBURSED, Transaction_DISPUTE_OPENED, Transaction_DISPUTE_WON, Transaction_DISPUTE_LOST How to create Webhooks From your, Braintree Account navigate to Settings > Webhooks and create your webhooks. 9/10

10 That s all for the Braintree Payment Gateway module. Still, have any issue feel free to add a ticket and let us know your views to make the module better 10/10