Getting setup
Last updated
Last updated
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.
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.
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
.
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.
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.
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.
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.