Menu

#7406 Braintree plugin

Parent Category:
DPCalendar
Category:
Payment plugins
Last Updated:
Allon Moritz, Tuesday, 02 May 2023 15:49
Created:
Tuesday, 26 November 2019 17:32
Hits:
2954

This feature is part of the DPCalendar Premium subscription.
SubscribePHP 7.4PHP 8Joomla 3.10Joomla 4.4Joomla 5

Introduction

With Braintree, your visitor can pay instantly using his credit card on one of the most secure payment platforms run by PayPal.

The plugin works the way that it displays a form within your web site when the attendee clicks on the Pay button in the booking form. She/he must then enter the credit card details and after the send button is clicked an ajax request is done to the Braintree server without touching your web server. This ensures that you don't have to be PCI compliant and not to deal with the credit card information. All is handled by Braintree itself.

Braintree also supports strong user authentication (SCA). After submitting the credit card information an additional step needs to be done to authenticate against the bank to protect from fraud. This function is called 3d secure and is fully supported in DPCalendar.

Configure the plugin

The DPCalendar Braintree plugin allows to add unlimited Braintree accounts to DPCalendar. When the plugin is opened in the back end, then you can click on the "+" button to add a new configuration. There you can fill the following fields:

  1. ID
    The ID of the configuration, must be a unique integer amongst the different configurations within the plugin.
  2. Title
    The title of the configuration. Appears in the drop down in the event form where you can select individual payment providers.
  3. Description
    The description which will be shown on the front end provider selection list when confirming the booking.
  4. Icon
    The icon which will be shown on the front end provider selection list when confirming the booking.
  5. Status
    The publishing status of the payment provider
  6. Sandbox
    If this account should be used as sandbox for testing or in production.
  7. Merchant ID
    The merchant ID, see below how to get it.
  8. Public key
    The API public key, see below how to get it.
  9. Private key The API private key, see below how to get it.
Braintree payment provider configuration

Setup

After you have created a Braintree account, you need to log in on braintree.com. Click on the gear icon on the top bar and then on "API". From there copy the merchant ID, public key and private key to your plugin settings.

Testing mode

To use Braintree in testing mode, set the corresponding flag in the plugin settings. More information can be found here.

Basically you can use the card number 4000 0000 0000 1000 for none authenticated payments and 4000 0000 0000 1091 for strong authentication to test 3D Secure. As month and year put three years in the future and as CVC 123. For the authentication window use 1234 as code.

Comments (0)

We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience (tracking cookies). You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.