ReCharge (Shopify)
Learn how to integrate ReCharge (Shopify) with Post Affiliate Pro to efficiently track recurring payments for subscription products, manage affiliate commission...
Integrate ReCharge with BigCommerce and Post Affiliate Pro to track recurring payments. Create an API token, configure webhooks, edit thank you page, and set up click tracking for optimized ecommerce and affiliate management.
ReCharge platform allows you to add recurring subscription products to your BigCommerce store. This guide explains how to integrate ReCharge with Post Affiliate Pro to track these recurring payments.
The BigCommerce integration consists of multiple steps on both ends. First, you need to create an API token in your ReCharge account and set it up in your Post Affiliate Pro account. Then add a tracking code to the ReCharge thank you page and place a click tracking code to your BigCommerce store footer.
To track recurring payments you either need the [Recurring Commissions](https://support.qualityunit.com/980100-Recurring-commissions “Discover the power of recurring commissions with Post Affiliate Pro. Reward affiliates for subscription-based payments through flexible “accurate” and “dumb” modes. Easily configure and activate the feature, define commission settings, and choose between varied recurrence options. Ideal for businesses with subscription models, this feature simplifies commission management and boosts affiliate engagement. Explore detailed setup guidance and decide if this feature suits your needs. Visit to learn more!”) feature or the Lifetime Commissions plugin activated!
As a first step, you’ll need to contact ReCharge to request access to API. See https://support.rechargepayments.com/hc/en-us/articles/360008829993-ReCharge-API-tokens for more details.
Once you are granted API access, you can create your API token. To do so, log in to your Bigcommerce admin panel, go to the Apps section and click on ReCharge Subscriptions so you get to the ReCharge panel. Once there, click on the Integrations tab in the top menu, and then on API tokens. On the right edge of the page. Afterward, click on Create an API token.
Name the API token however you want, add an email where you will be notified if the webhook should be failing, and most importantly make sure you add Read access permission to Orders. If you can also see the Webhooks permission there, please set it to Read and Write access, however this might have been removed and therefore is no longer needed to be set. Save the token and copy its API key.
The next step is to log into your Post Affiliate Pro merchant panel, go to Configuration - > Plugins and activate the plugin called ReCharge webhook handling. Once it’s active, click the Configure button and add the Recharge API key on the plugin configuration page.
On this page, you can also configure what exactly will be tracked as Product ID, and you can also choose if you want to track any additional order data in the extra data fields. When you are finished, save the plugin config at the bottom of the page.
Log in to your BigCommerce admin panel, go to the Apps section and click on ReCharge Subscriptions so you get to the ReCharge admin panel. Once there, click the Settings (wrench icon) in the upper right corner and go to the Checkout section. Scroll down to the Thank you page section and paste the following code into the Additional & scripts and trackers field:
<script id="pap_x2s6df8d" src="https://URL_TO_PostAffiliatePro/scripts/trackjs.js" type="text/javascript"></script>
<script type="text/javascript">
PostAffTracker.setAccountId('Account_ID');
var discountMultiplier = 1 - {{total_discounts}} / ({{subtotal_price}} + {{total_discounts}});
{% for item in line_items %}
var itemPrice = {{item.price}} * {{item.quantity}};
var sale{{ loop.index }} = PostAffTracker.createSale();
sale{{ loop.index }}.setTotalCost(itemPrice * discountMultiplier);
var subscriptionId = '{{item.subscription_id}}';
if (subscriptionId != '') {
sale{{ loop.index }}.setOrderID(subscriptionId);
} else {
sale{{ loop.index }}.setOrderID('{{id}}({{ loop.index }})');
}
sale{{ loop.index }}.setProductID('{{item.product_id}}');
sale{{ loop.index }}.setCoupon('{{discount_code}}');
{% endfor %}
PostAffTracker.register();
</script>
If you wish to save customer name or email you can add the following lines:
sale{{ loop.index }}.setData1('{{email}}');
sale{{ loop.index }}.setData2('{{first_name}} {{last_name}}');
under the line:
sale{{ loop.index }}.setCoupon('{{discount_code}}');
You can find more available variables in ReCharge knowledgebase.
Log in to your BigCommerce admin panel, go to the Storefront section and click on the Script manager. In this section click on the Create a Script button in the top right corner. Name the script, set Location on page to Footer, Select pages where script will be added to All pages, change Script type to Script, and insert the click tracking code from your Post Affiliate Pro merchant panel > Tools > Integration > Clicks tracking into the Script contents field and save it.
ReCharge (BigCommerce) is a leading subscription management application meticulously designed to integrate with e-commerce platforms, particularly BigCommerce. It empowers businesses to transform one-time purchasers into loyal, long-term customers by implementing robust subscription models. By facilitating recurring revenue streams and enhancing customer lifetime value, ReCharge plays a pivotal role in driving sustained business growth for online merchants.
ReCharge is tailored specifically for businesses operating on BigCommerce, aiming to streamline and simplify the complexities of subscription management. It seamlessly integrates with your BigCommerce store, offering a suite of tools to efficiently manage subscriptions, automate billing processes, and ensure a consistent and user-friendly checkout experience for your customers.
Since its inception, ReCharge has evolved alongside BigCommerce, continuously enhancing its features to better support businesses in implementing and scaling their subscription services. Over time, ReCharge has expanded its capabilities by broadening payment processor support and enriching its API to allow for custom workflows and integrations, ensuring it meets the diverse needs of modern e-commerce businesses.
ReCharge is designed for e-commerce businesses that utilize BigCommerce and are keen on implementing or expanding their subscription product lines. It particularly benefits merchants who are looking to enhance customer loyalty, stabilize revenue streams, and increase the lifetime value of their customers through reliable and efficient subscription services.
ReCharge offers flexible pricing tiers to accommodate businesses of various sizes and needs:
Overall, users indicate that while ReCharge is highly beneficial for businesses serious about subscription models, it requires financial readiness to accommodate the associated transaction costs.
For businesses exploring other options, several alternatives offer unique features and benefits:
Each alternative caters to different business needs, such as cost considerations, specific feature requirements, or preferred payment gateways.
ReCharge (BigCommerce) is a leading subscription management application that integrates with BigCommerce stores to enable recurring payments, automate billing, and enhance customer lifetime value through robust subscription models.
To integrate ReCharge with Post Affiliate Pro, create an API token in your ReCharge account, activate and configure the ReCharge webhook handling plugin in Post Affiliate Pro, add tracking codes to your BigCommerce store, and ensure Recurring or Lifetime Commissions features are enabled.
The integration automates affiliate tracking for subscription payments, simplifies commission management, and provides advanced analytics for optimizing your ecommerce and affiliate strategies.
Yes, alternatives include Recurpay, WooCommerce Subscriptions, 2Checkout, Braintree, Recurly, and Chargebee, each offering unique features for subscription and payment management.
Pros include seamless integration, strong API support, and flexible subscriber management. Cons can be higher transaction fees, occasional customer portal navigation issues, and variable support response times.
Lucia is a talented content editor who ensures the seamless publication of content across multiple platforms.
Seamlessly connect ReCharge with Post Affiliate Pro to automate affiliate commissions for recurring payments and boost your ecommerce growth.
Learn how to integrate ReCharge (Shopify) with Post Affiliate Pro to efficiently track recurring payments for subscription products, manage affiliate commission...
Would you like to improve your affiliate software even more? Check out the BigCommerce integration for Post Affiliate Pro. Seamlessly track sales, manage commis...
Seamlessly integrate Chargify (now Maxio) with Post Affiliate Pro to track recurring commissions, automate billing, and optimize your affiliate program. Learn a...