Manually Sync Your Data
  • 06 Oct 2023
  • 3 Minutes to read
  • Dark
    Light

Manually Sync Your Data

  • Dark
    Light

Article summary

If you do not have an existing Authorize.net gateway account, complete the following steps to move your data to Authorize.net.

  1. Set your webhooks to inactive. If webhooks are turned on, your data will automatically sync from Authorize.net to Salesforce.
  2. Reach out to Authorize.net to start the next step.
  3. Once your Authorize.net gateway account is active, go to the next step.
Before you execute this task...

Confirm that your matching logic is set up correctly. Matching logic determines how this data will relate to your Contacts/Accounts.

Migrate Payment Methods and Customers

If you were an Authorize.net customer before coming to Blackthorn or you recently migrated your data to Authorize.net, you can manually sync your Authorize.net customers (Customer Profile), Payment Methods (Payment Profiles), and Transactions to Salesforce.

This guide will help you understand our object model so you can easily sync the information using the Data Loader tool. Start by reviewing the tables below.

Customer Field Map

Salesforce Field NameAuthorize.net Label
Payment Gateway CustomerPayment Profile
EmailEmail
NameFirst Name + Last Name
Customer IDCustomer Profile ID
DescriptionDescription
Billing City (Optional)City
CompanyCompany
Postal Code(optional)ZipPostal Code
Billing Street 1 (Optional)Address
Billing State (Optional)StateProvince
Billing CountryCountry
PhonePhone

Payment Field Map

Salesforce Field NameAuthorize.net Label
Payment MethodPayment Profile
Holder’s NameFirst Name + Last Name
Email (Optional)Email
Card IDPayment Profile ID
Customer IDCustomer Profile ID
Record Type(Card/ACH)Payment Type (CreditCard/Bank Account)
Street(Optional)Address
City(Optional)City
State (Optional)StateProvince
Country (Optional)Country
Last 4 DigitsCardNumber (last 4 digits)
Payment Gateway (lookup)Hardcode the PG id
Payment Gateway Customer(lookup)Fetch id from SF
Payment Method StatusValid
  1. Create a Payment Gateway in Salesforce and connect it to your Authorize.net account.
  2. Export your customers and cards information from the Authorize.net gateway to an Excel document.
  3. Convert the file to a CSV-type file.
  4. The information in the CSV file will be mapped to the Payment Gateway Customer and Payment Method Salesforce objects. Prepare a second excel spreadsheet with the customer information mapping to respective fields on the Payment Gateway Customer/Payment Method objects.
  5. In Salesforce, go to Custom Settings > Blackthorn | Payment Triggers > Edit > Disable all triggers.
  6. Contact Blackthorn Support to disable CVV and Postal Code checks. (If you have information about the postal code, we can skip disabling this for you.)
  7. Download the CSV file and import it into the Payment Gateway Customer using the Data Loader.
  8. Export the new Payment Gateway Customer list from Salesforce and locate the Record ID.
  9. Map the record ID in your Excel spreadsheet to the Payment Gateway Customer lookup field on the Payment Method before importing.
  10. Import the Payment Methods into Salesforce.
  11. Go to Custom Settings to “Enable all triggers”.

Migrate Contacts and/or Accounts

To link the Contacts and/or Accounts to the Payment Gateway Customer or Payment Method records, complete the following steps.

  1. Create a report in Salesforce for Contacts with the First Name, Last Name, Email, and Record ID fields.
  2. Export them to a CSV file.
  3. Create and export a report of all Payment Gateway Customer records with Name, Email, and Record ID fields.
  4. In Sheet B, create a new column "Contact" and add the formula to match the contacts to the Payment Gateway Customer via email.
  5. Download to CSV, and then import them back into Salesforce with size 1.
  6. Once the Contact lookup is set on the Payment Gateway Customer, it will auto-update the related Account as well as update all associated Payment Methods with the set Contact and Account.
Using a Process Builder

If you want to create a Contact record, create a Process Builder to create a Salesforce Contact when the Authorize.net Customer record is created in Salesforce.

This sync process is only to migrate your records from that moment backward. Syncing Authorize.net with Salesforce going forward can be done through webhooks, but you should not be originating records outside of Salesforce.


What's Next