Faster, Smoother New Version of ARMember7.0Launched Buy Now

Documentation


Braintree Payment Gateway

This Add-on will add a payment option for the ARMember plan with a one-time payment & plan with subscription payment.

Important Note: This add-on will work with ARMember Version 4.4 or grater.


Steps For Installation And Activation

You can install a plugin in the following two ways. And the ARMember-Braintree plugin requires the ARMember plugin to be installed and active.

New installation via FTP

  1. Download the plugin and extract it. You will find a directory armember-braintree.
  2. In your WordPress installation directory, upload armember-braintree to wp-content/plugins/
  3. Activate the ARMember - BrainTree Addon plugin through the Plugins menu from the WordPress admin panel.

New installation via the WordPress Uploader

  1. Download the plugin.
  2. Log in to your WordPress admin panel
  3. Go to PluginsAdd NewUpload
  4. Click on “choose file” and browse the download package. When the plugin uploads successfully, click on Activate Plugin.

Steps to Set up Braintree For Your Website

Let’s set up membership for your website:

  1. When plugin activated, then the Braintree section will be displayed in ARMemberGeneral SettingsPayment gateways.

    Please see below screen.

    general setting screen

  2. Firstly need to activate the Braintree payment gateway so you will be able to insert Merchant ID, Public key, and private key. For activation, click on the active button.

  3. If you do not have a Braintree account then create it.

    For Live / Sandbox account click here.

  4. Where do I get Merchant ID, Public Key and Private Key?

    To obtain the key of Braintree access the site with your login and the password follow the steps:

    Click Settings Icon ⇾ select Keys menu.

    You can see Public Key and For Private Key click on View to get the private key.

    braintree account credentials

    To obtain Merchant ID, click Settings ⇾ select Business ⇾ Merchant ID section. You can copy the merchant ID from here.

    braintree merchant id

  5. After that you can set labels and descriptions for cardholder name, credit card, expiry month, expiry year, and CVV.

  6. From where can I set Webhook URL ?

    To set Webhook URL up a Braintree account, access the site with your login and password and follow the steps:

    Click on SettingsAPI

    Navigate to + Create New Webhook the button to add the destination URL.

    Now, add https://yoursite.com/?arm-listener=arm_braintree_api into Destination URL (HTTPS only), and then select subscription available events from the list of Notification. In order to receive notification when specific events occurs…

    Please see the below screenshot:

    Braintree subscription event

    Click on the Create Webhook button to create a webhook.

  7. For Auto Debit Payment of subscription type of membership, You must create Braintree Plan in your Braintree account and set the Braintree plan ID in the membership setup.

    How to create plan in Braintree account?

    After login into Braintree, click on Subscriptions in the navigation bar, then navigate to Plans the tab, and then click on New Plan the button to add a new plan.

  8. Set the plan price and trial period as you have set the data in the ARMember plan.
  9. Please fill out required fields like Plan ID, Plan Name, Description, Price, Currency, Trial Period, and Billing Details and then click on create button to create the plan.

    Braintree subscription event

    After creating plan you can get plan ID from SubscriptionPlans tab.

  10. After configured Braintree configuration you can select Braintree payment gateway for the setup form from ARMemberConfigure Plan + Signup FormAdd/Edit Setup Form page.

    Please see below given screenshot.

    Configure Plan Screen

    You must need to add plan ID for the auto debit method recurring payment.

  11. Braintree support for one time and plan with subscription payment with ARMember Braintree.

  12. ARMember Braintree Addon supports payment with AED, ALL, AMD, ARS, AUD, AWG, BBD, BDT, BGN, BMD, BND, BOB, BSD, BWP, BZD, CAD, CHF, CNY, COP, CRC, CUP, CZK, DKK, DOP, DZD, EGP, ETB, EUR, FJD, GBP, GIP, GMD, GTQ, GYD, HKD, HNL, HRK, HTG, HUF, IDR, ILS, INR, JMD, KES, KGS, KHR, KYD, KZT, LAK, LBP, LKR, LRD, LSL, MAD, MDL, MKD, MMK, MNT, MOP, MUR, MVR, MWK, MXN, MYR, NAD, NGN, NIO, NOK, NPR, NZD, PEN, PGK, PHP, PKR, QAR, RUB, SAR, SCR, SEK, SGD, SLL, SOS, SSP, SVC, SZL, THB, TTD, USD, UYU, UZS, YER, ZAR Currencies.

  13. To confirm the transaction on the Braintree account, you can login with your Braintree credentials.

  14. Using the ARMember Braintree Payment Gateway add-on, you can allow a member to purchase a membership plan from your website. Please see refer below screenshot:

    ARMember Braintree Payment Gateway Setup Front side


Important Note: Braintree Payment Gateway Limitations:

  1. Braintree does not support “Day” and “Year” in the billing cycle.
  2. To apply a coupon discount with an automatic payment method (subscription), Braintree Payment Gateway does not support applying the discount to the first payment only, so to allow members to apply coupons successfully, enable the “For Recurring Plan Apply to Entire Duration” option from ARMemberCoupon Management ⇾ Add/Edit coupon page.
  3. Braintree does not support Paid Trial membership plans with automatic payment methods.