Chargebee
Automatically apply Chargebee coupons, credits, or trial extensions as rewards.
Last updated
Was this helpful?
Automatically apply Chargebee coupons, credits, or trial extensions as rewards.
Last updated
Was this helpful?
Even if the Chargebee customer's email address changes, LoyaltySurf will track those changes to ultimately ensure the Chargebee coupon, credit, or trial extension gets applied to the right Chargebee customer.
Step 1: In Campaign Editor > 4. Options > Integrations, open the Chargebee integration card and enter your , , and for both live and test mode.
Step 2: Once connected, press the 'Connect A Reward' button and select your reward.
Step 3: Click on either coupon, credit, or trial extension. If 'Coupon' is selected, enter the details of the coupon, including the name, type, and discount. You can also click Show advanced coupon settings to view more customization settings.
If 'Credit' is selected, enter the credit description and amount to apply to the Chargebee customer's account every time this reward is unlocked.
To extend the trial period, select 'Trial Extension', and specify the number of days.
Step 4: When you're done, click the Save button.
Step 5 (optional): To ensure the legitimacy of your campaign and prevent any fraudulent activities, it is advisable to establish Chargebee webhooks. By setting up webhooks, LoyaltySurf can monitor any modifications customers make to their email addresses on Chargebee using the customer's unique Chargebee ID.
Important Note: Only the following event should be selected for your Chargebee webhook:
Customer Changed
Remember to toggle on "Exclude card information from webhook call".
Our Chargebee integration comes with a test mode that allows you to test coupons, credits, and trial extensions. When you toggle Test Mode on, LoyaltySurf will only apply coupons, credits, or trial extensions to Chargebee subscriptions that exist within your Chargebee account when test mode is toggled on.
To enable test mode, toggle the Test Mode switch at the bottom-right, then connect a reward(s).
Please note that the rewards you connect to while Test Mode is enabled are completely separate from those you connect to in live mode.
Important note: When you go live with your campaign, please make sure to switch back to live mode. Otherwise, rewards will not be issued in live mode while test mode is enabled.
If there is an issue with applying Chargebee coupons, credits, or trial extensions, LoyaltySurf will send out a notification email to the campaign owner. The issue will also be stated in the participant's detail page when you view their reward or when you view the participant's activity logs.
Here are some common reasons why there may be failures:
The customer with the associated LoyaltySurf participant email address does not exist in Chargebee (please make sure to check live or test mode depending on if you have toggled on Test Mode in the LoyaltySurf Chargebee integration)
If dynamic reward rules are enabled for the Chargebee reward, there may have been no matching rule found.
If you were expecting a reward to be applied in live mode, double-check that you do not have test mode enabled.
If your Chargebee customer changes their email address right before the Chargebee reward gets applied, they may not receive it. This is because LoyaltySurf relies on Chargebee sending out a webhook event which notifies LoyaltySurf of the Chargebee customer's new email address, but if there is not at least a few minutes before the reward event, LoyaltySurf will not know about the Chargebee customer's email change.
If you have manual reward approval enabled for your campaign: Chargebee coupons, credits, and trial extensions will only be issued to the winner(s) after you approve the reward.
If the loyalty action was triggered recently (or if the reward was approved recently), please allow for a few minutes of server processing before viewing the participant's reward from your LoyaltySurf admin dashboard. During this time, the data displayed for the participant's reward may not be accurate.
Step 6: Once you have enabled webhooks, create a new Chargebee webhook and return to the LoyaltySurf Chargebee integration and input the username and password for your Chargebee webhook. For guidance on setting up your webhook, click on this .
If there was a failure, you will need to manually issue the Chargebee reward from your .