Skip to content

Examples showing how to send data from Salesforce to ChargeOver via Apex trigger and the REST API

Notifications You must be signed in to change notification settings

chargeover/salesforce_apex

Repository files navigation

Salesforce Apex + the ChargeOver REST API

Examples showing how to send data from Salesforce to ChargeOver via Apex trigger and the REST API

Configuration within ChargeOver

You'll need to enable the ChargeOver REST API:

Configuration within Salesforce

Within Salesforce, you need to allow Salesforce to call out to ChargeOver by:

  • Navigate to SETUP > SECURITY > REMOTE SITES
  • Click the ADD NEW REMOTE SITE button
  • For the URL, enter your ChargeOver REST API endpoint

Configuration within the example Apex code

  • In ChargeOver.apxc, you'll need to swap in your URL, username, and password

The Examples

  • Push_New_Accounts_to_ChargeOver.apxt - this shows how to push new Accounts in Salesforce to Customers in ChargeOver
  • Push_ClosedWon_to_ChargeOver.apxt - this shows how to push Accounts and Opportunities to ChargeOver when an Opportunity goes to Closed-Won status
  • Push_New_Subscription_to_ChargeOver - this shows how to create new Subscriptions in ChargeOver
  • Upgrade_Existing_Subscription_in_ChargeOver - this shows how to upgrade/downgrade existing subscriptions in ChargeOver
  • ChargeOver.apxc - helper methods

About

Examples showing how to send data from Salesforce to ChargeOver via Apex trigger and the REST API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published