New in Chargebee: Explore Reveal and understand your payment performance end-to-end.Try Now
Docschargebee docs
HomeBillingPaymentsRevRecGrowthReveal
Support

Product Updates


  • Release Notes

Payment Methods


  • Payment Methods Overview
  • Cards
  • Direct Debit
  • Bank Based Payments
  • Wallets
  • Vouchers
  • Articles and FAQ

Payment Gateways and Configuration


  • Payment Gateways Overview
  • Chargebee Test Gateway
  • Stripe
  • PayPal Payment Services
  • Chargebee Pay
  • Adyen
  • Authorize.net
  • Bambora (formerly Beanstream)
  • Bank of America
  • BluePay
  • BlueSnap
  • Braintree
  • Checkout.com
  • CyberSource
  • dLocal
  • EBANX
  • Ecentric
  • Elavon
  • E-xact Direct Integration
  • eWay Rapid
  • Global Payments
  • GoCardless
  • J.P. Morgan Mobility Payment Solutions
  • Metrics Global
  • Mollie
  • Moneris
  • Network Merchants Incorporated (NMI)
  • Nuvei
  • Orbital (Chase Paymentech)
  • Pay.com
  • Paymill
  • Paystack
  • Pin Payments
  • QuickBooks Payments
  • Razorpay
  • Sage Pay
  • Solidgate
  • Tempus
  • Twikey
  • Windcave
  • Worldline Online Payments(formerly Ingenico)
  • Worldpay
  • Articles and FAQ

Level 2/3 Data Support


  • Level 2/3 Data Support

Advanced Routing


  • Advanced Routing

Dunning


  • Dunning
  • Articles and FAQ

Offline Checkout


  • Offline Checkout
  • Articles and FAQ

Transaction Sync & Invoice Mapping


  • Transaction Sync and Invoice Mapping

Fraud Management


  • Fraud Management

Error Handling


  • Errors with Root Cause and Troubleshooting

Payment Lifecycle Logs


  • Payment Intents
  • Transactions
  • Gateway Activity Logs
  • Gateway Webhook Logs
  • Articles and FAQ

Others


  • Reach (Merchant of Record)
  • Payment Verification
  • Bulk Deletion of Payment Methods
  • Custom Payment Methods
  • Payment Initiator Parameter
  • PSD2 and Strong Customer Authentication
  • RBI e-Mandate
  • RBI Tokenization Regulations
  • Chargeback Management
  • Transaction Descriptors
  • Payment Preferences
  • Visa Trial Rules
  • Mastercard Trial Rules
  • Co-badged Card Compliance
  • Articles and FAQ
  1. Payments
  2. Payment Gateways and Configuration
  3. Articles and FAQ
  4. Braintree
  1. Payments
  2. Payment Gateways and Configuration
  3. Articles and FAQ
  4. Braintree

How can I import existing Braintree customers from a CSV?

Problem Statement

You want to know how can I import existing braintree customers from a csv.

Solution

Scope

I want import existing Braintree customers into Chargebee.

Summary

You can import existing Braintree customers by performing a bulk operation to import customers using Import & Export Data.

While importing Braintree customers, on the payment source section, there are 4 parameters that need to be updated, they are:

  • payment_source[customer_id]

  • payment_source[type]

  • payment_source[gateway_account_id]

  • payment_source[reference_id]

Solution

Step 1: You can perform this action from Settings > Configure Chargebee > Import & Export Data > Choose a Bulk Operation > Customers > Create Customers

image

Step 2: Download the sample CSV file

image

Step 3: Upon downloading the CSV 'create_customers_sample_data.csv'. You can update the Braintree customer records on this file. Note that the data that needs to be added to the sheet should be in the same format as the sample data.

Note

  • Your CSV data file should contain all the columns specific to the operation you are performing. The sample CSV file has most of the columns required for the operation
    • Do not edit the column labels in the sample file and make sure the file extension is .csv. Click here to read more
    • You can update this sheet with the data exported from the Customer Index Page

Step 5: Drag and drop your data file into the web interface or upload it:

image

Once you've added all the information and the data file is ready, upload it.

Exclusive for Braintree customers:

While importing Braintree customers, on the payment source section, there are 4 parameters that need to be updated on Chargebee, they are:

  • payment_source[customer_id]

  • payment_source[type]

  • payment_source[gateway_account_id]

  • payment_source[reference_id]

Specific to payment_source[reference_id] the reference_id consists of a combination of Braintree Customer ID and Braintree Payment Method Token separated by the forward-slash (e.g. cus_63MnDn0t6kfDW7/card_6WjCF20vT9WN1G ). If you are passing Braintree Customer ID alone, then Chargebee will store the card marked as default for that customer in Braintree. Refer to this link Update payment method for a customer for more information.

Please refer to this link Bulk operations if you have received any errors while uploading the file.

Related Articles

'Error: 2046/2038 Declined/Processor Declined. What''s going on?'
Testing with Braintree sandbox.
'Error: 2000 Do Not Honor. What''s going on?'
'Transaction Error: Cannot Authorize at this time (Life cycle) / (Policy)'
'Error: 91517/91577 Payment instrument is not accepted by this merchant account/merchant account does not support payment instrument. What''s going on?'
'Error: 3000 Processor Network unavailable. What''s going on?'
'Error: 2057 Issuer/Cardholder has put a restriction on the card. What''s going on?'
'AVS/CVV: Configuration and error codes'
'Error: 2047/2053 Call Issuer. Pick up card/Card reported lost or stolen. What''s going on?'
Why I can't refund partial amount for certain transactions on same day?
'Error: 2005 Invalid credit card number. What''s going on?'
Can I view Processor Responses in my Braintree account?
Braintree error codes 2015 and 2099
How to configure Braintree with Chargebee?
How to integrate PayPal Via Braintree?
Error message when trying to process a refund in Chargebee

Show more

Was this article helpful?