Docs

Venmo via Braintree 

This feature is a Private Beta Release. Contact support  to enable Venmo via Braintree for your Test and Live site.

Introduction 

Venmo is a US-based peer-to-peer (P2P) payment solution that allows users to transfer and receive money easily and quickly via a smartphone application. It is one of the most popular payment methods in the US. With this integration, Braintree allows you to add and configure Venmo as a payment method option. Learn more  about Venmo via Braintree integration.

Integration Options 

You can integrate Venmo via Braintree using the following:

Retrieving Key Information from Braintree 

While configuring Venmo via Braintree in Chargebee, you will require the Merchant Account ID and Venmo Profile ID from your Braintree account to be entered in Chargebee. Let us see how you can retrieve these IDs:

Retrieving Merchant Account ID 

Merchant Account ID is the ID for the account that you want to use to redirect users while paying using Venmo. Follow these steps:

  1. Login to your Braintree account .

  2. Click the Settings icon on the top-right corner and then click Business.

  3. Scroll down to the Merchant Accounts section, copy the desired Merchant Account ID from the first column, and keep it saved for later use.

Retrieving Venmo Profile ID 

Follow these steps to retrieve the Venmo Profile ID from your Braintree account:

  1. Login to your Braintree account  if not logged in already.

  2. Click the Settings icon on the top-right corner and click Processing.

  3. On the Processing Options page, click Options for Venmo from the Payment Methods list.

  4. On the Venmo Merchant Profiles page, copy the Profile ID of the desired profile and keep it saved for later use.

Configuring Venmo via Braintree in Chargebee 

Make sure Venmo via Braintree is enabled for your Chargebee account before moving forward. If not enabled, contact Chargebee Support  to get it enabled.

Follow these steps to enable and configure Venmo via Braintree:

  1. Log into your Chargebee site.

  2. Go to Settings > Configure Chargebee > Payment Gateways.

  3. Click the Braintree instance in which you want to enable Venmo. The Configure Braintree page appears.

  4. Enable the toggle button for Venmo.

  5. Enter the Merchant Account ID copied from your Braintree account and click Proceed.

  6. Enter the Venmo Profile ID copied from your Braintree account.

  7. Click Save.

Supported Tokens 

This integration supports the following tokens in the mentioned format:

<
Token Description Format and Sample
Permanent Token Permanent token is a combination of the customer ID and payment method ID available at the gateway.) Format: customer_id/payment_method_id
Sample: 17629028099/8ck8p8pc
Temporary Token (Nonce) Temporary tokens are tokenized card/bank details provided by the gateway. For this integration, we pass this token as we receive from Braintree. NA
Chargebee Payment Intent IDThis is the Payment Intent ID returned after a successful bank authorization process. Format - payment_intent[id]
Sample - __dev__8assMTnewj7fO__dev__cLD08udLibvNLcunV3uq81iAIujLLibhD

Payment Flow 

  1. Customer Selection and Interaction - The customer selects Venmo as the payment method during checkout followed by a Venmo button.
  2. Initial Payment Intent
    • When the Venmo button is clicked, the Initiated phase of Payment Intent status begins.
    • A pop-up window appears allowing customers to enter their Venmo account details.
    • Afterwards, they select the preferred payment method within their Venmo account and approve the transaction.
  3. Authorization and Nonce Generation
    • Upon customer approval from their Venmo account, a unique nonce (temporary token) is generated by Braintree and passed to Chargebee.
    • This nonce is then used in the subsequent Confirm Call API call via Chargebee.js, resulting in the Payment Intent status changing to Authorized.
  4. Payment Summary Page
    • Post this, the customer is presented with a payment summary page, encompassing essential details like account information and billing particulars.
    • The payment details section specifically highlights the Venmo username as part of the Venmo payment method.
  5. Subscription Creation
    • Upon clicking Pay & Subscribe, the subscription creation process is initiated.
    • Regarding payment at the Braintree side, the initial status is set as Settling and it then transitions to Settled.
    • Since Braintree does not send webhooks, Chargebee continues to display the transaction status as Capture but the transaction status displays as Completed in the merchant dashboard.

Checkout Flow 

Braintree supports Venmo via the Mobile and Desktop Browser flow. The Desktop Browser flow has two types - Desktop Web Login and Desktop QR Code. In this integration, we are offering support for the Desktop Web Login. This indicates that at the end of the checkout, customers will be redirected to the Venmo desktop webpage where they can log in and complete their payments.

The checkout flow contains the following steps:

  1. Click Proceed to Checkout from the Your Order page to initiate a purchase.

  2. Enter your email to proceed and click Next.

  3. Enter the One Time Password (OTP) received on your email address and click Next.

  4. Enter your Account Details field, i.e. First Name, Last Name, and Email Address, and click Next.

  5. Enter the Billing Address details and click Next.

  6. Select Venmo as the payment method.

  7. Click the Venmo button.

  8. You will be redirected to the Venmo Desktop Webpage in a pop-up where you can log in, select the desired payment method and approve the payment in your Venmo account.

  9. Then you will be redirected back to Chargebee's checkout where you can review all the important information and check the boxes at the bottom.

  10. Once reviewed, click Pay & Subscribe .

Add or Update Venmo as a Payment Method 

You can add Venmo as a payment method for a customer in two ways:

  • Via API - Venmo can be added as a payment method via API using the permanent token only.
  • Via Checkout - As shown in the previous section, when the customer fills through the Checkout flow and checks the box at the end for vaulting (storing or saving) the payment method for future/recurring use, it automatically gets saved for that customer as shown below.

Email Notifications 

Venmo via Braintree recommends sending email notifications for payments done using Venmo. In this process, you have to add a mergevar called Venmo Username in the following email notifications:

  • One-time charge is successful
  • Initial/Recurring charge is successful

Follow these steps to navigate to these notification templates and add the Venmo Username mergevar:

  1. Go to Settings > Configure Chargebee > Email Notifications.

  2. Select Payments and credits.

  3. Click Edit for any of the two notifications (listed above).

  4. In the template, click on any of the existing sections or add a new text box in the template and click the { } button on the right.

  5. Search the name of the mergevar (mail merge field) and click it from the result to add it to the email.

  6. Publish your template when you are done with all changes.

Was this article helpful?
Loading…