Getting setup

Before getting started, you'll need an account with Loop. Reach out to your contact at Loop to help with this or email us at hello@loopcrypto.xyz. The setup process below should only take a few minutes.

Setup

Loop requires 2 pieces of information to configure a new Chargebee integration. Please follow the steps below to complete the integration setup. You can also check out the video below, which walks through the process as well.

Once you have the Chargebee integration set up, you can then use Loop's checkout page or checkout modal to collect payment.

1. Log into your Chargebee account. Send us the URL you see when you log into your account.

The URL contains your siteName, which Loop requires to generate a siteID for you. In the image shown above, the siteName would be loopcrypto-test.

2. Creation of an API key with "full access" and type "write key".

Within your Chargebee dashboard, go to Settings -> Configure Chargebee -> API keys and Webhooks -> + API Keys -> + Add API Key -> + Full-Access Key. Name the API key as you desire.

3. Send siteName (step 1) and API key (step 2) to Loop Crypto.

Send the siteName and API key to Loop Crypto. You can use FoxCrypt or another secure data sharing tool. Loop Crypto uses these two pieces of information to add Chargebee to your Loop account.

4. Receive siteID from Loop Crypto

The Loop team will send a Chargebee siteId back to you. This siteId is unique to your Chargebee instance that your are syncing with Loop.

5. Create webhook.

Now that you have the siteId from Loop. Head back to your Chargebee dashboard to create a webhook. Go to Settings.

Settings -> Configure Chargebee -> API keys and Webhooks -> + Webhooks -> + Add Webhook. Name the webhook "Loop Webhook" and add the URL with the format shown below.

API URL:

  • Production: https://api.loopcrypto.xyz/api/v1/chargebee/process-events?site={{siteId}}

  • Demo: https://demo.api.loopcrypto.xyz/api/v1/chargebee/process-events?site={{siteId}}

    • Note: Your {{siteId}} will be provided to you from Loop.

Under the dropdown for Events to Send, select the following events:

  • Invoice generated

  • Item price created

  • Item price updated

  • Item updated

Once you have entered the URL and selected the correct set of events, click Create to finishing creating the webhook.

The video below walks through the full process described above.

Last updated