I want import existing Braintree customers into Chargebee.
You can import existing Braintree customers by performing a bulk operation to import customers using Import & Export Data.
Step 1: You can perform this action from Settings > Configure Chargebee > Import & Export Data > Choose a Bulk Operation > Customers > Create Customers
Step 2: Download the sample CSV file
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.
- 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:
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:
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.