Chargify integration
Chargify is an online billing software for all of your recurring billing needs.
Integration with Chargify is achieved by placing a sale tracking script into the thank you page using a simple JavaScript logic.
How to integrate PostAffiliatePro with Chargify
First step
The first step would be to find the needed section where you can place the click tracking and sale tracking code. In your Chargify account navigate to Config > Settings > Public Page Default Settings and find the section called Custom JavaScript.
Sale tracking
Put the following code into the section described in the previous step:
</script>
<script id="pap_x2s6df8d" src="https://URL_TO_PostAffiliatePro/scripts/trackjs.js" type="text/javascript"></script>
<script type="text/javascript">
PostAffTracker.setAccountId('Account_ID');
try {
PostAffTracker.track();
} catch (err) { }
if (document.getElementById('analytics-signup-payment-id') != null) {
PostAffTracker.setAccountId('Account_ID');
var sale = PostAffTracker.createSale();
sale.setTotalCost($('#analytics-signup-revenue').html());
sale.setOrderID($('#analytics-signup-payment-id').html());
sale.setProductID($('#analytics-product-id').html());
sale.setCurrency($('#analytics-currency').html());
PostAffTracker.register();
}
Custom thank you page
If you have defined a custom thank you page in your product or public signup page then you will also need to integrate the custom thank you page.
First thing though is to edit your Products and Public Signup Pages under Catalog menu in your Chargify account and see whether you have Return URL after successful signup or account update defined. If you do have it set then add the following into the Return Parameters field:
orderid={signup_payment_id}&totalcost={signup_revenue}&productid={product_id}&customer={customer_id}
Once you have that set you will need to edit the content of your custom thank you page and add this script to it:
<script id="pap_x2s6df8d" src="https://URL_TO_PostAffiliatePro/scripts/trackjs.js" type="text/javascript"></script>
<script type="text/javascript">
var urlParams;
(window.onpopstate = function () {
var match,
pl = /\+/g, // Regex for replacing addition symbol with a space
search = /([&=]+)=?([&]*)/g,
decode = function (s) { return decodeURIComponent(s.replace(pl, " ")); },
query = window.location.search.substring(1);
urlParams = {};
while (match = search.exec(query))
urlParams[decode(match[1])] = decode(match[2]);
})();
if (urlParams['orderid'] != '') {
PostAffTracker.setAccountId('Account_ID');
var sale = PostAffTracker.createSale();
sale.setTotalCost(urlParams['totalcost']);
sale.setOrderID(urlParams['orderid']);
sale.setProductID(urlParams['productid']);
sale.setData1(urlParams['customer']);
PostAffTracker.register();
}
</script>
Webhooks
Chargify gives us an option to use webhooks which we can use to track recurring commissions. To setup a webhook, first enable the Chargify plugin in your merchant panel. Then navigate to your Chargify account into Settings> Webhooks and click Add New Endpoint button where you can add your plugin’s URL:
https://URL_TO_PostAffiliatePro/plugins/Chargify/chargify.php
and choose these endpoints: Payment Success, Refund Success.
Save it and you are done.
NOTE: The endpoint has to use a valid SSL certificate, so only HTTPS connection is allowed.
It is now integrated. Every time a customer enters the order confirmation page, the tracking code is called, and it will register a sale for referring affiliate.

What is Chargify?
Chargify, now known as Maxio, is a comprehensive billing and revenue management platform tailored for fast-growing B2B SaaS companies. It offers an array of tools designed to handle varied billing scenarios, subscription management, and revenue operations. Chargify empowers businesses to scale efficiently by accommodating complex billing needs and evolving subscription models.
Chargify’s journey has been marked by significant growth and transformation. Following a strategic partnership with SaaSOptics and a substantial $150 million growth equity investment from Battery Ventures, Chargify rebranded as Maxio. This evolution reflects the company’s commitment to providing an all-encompassing financial operations platform that supports every aspect of the subscription billing lifecycle for SaaS businesses.
Chargify is specifically designed for fast-growing B2B SaaS companies that require robust subscription management and flexible billing models. Its versatile platform is ideal for businesses seeking customizable pricing strategies and scalable billing operations to manage intricate customer demands. Chargify’s focus on flexibility and scalability makes it a preferred choice for companies navigating the complexities of subscription-based services.
Key Features of Chargify
Chargify offers a suite of powerful features that streamline billing and revenue management:
- Subscription Billing for Varied Product Catalogs: Manage diverse products and services with ease.
- Flexible Pricing Strategies: Implement usage-based models and tailor pricing to meet market demands.
- User-Friendly Subscription Management: Simplify the process of managing customer subscriptions.
- Comprehensive Collections and Payments: Automate billing cycles and payment collections efficiently.
- Revenue Management Features: Gain insights into financial performance with detailed analytics.
- Extensive Payment Gateway Integrations: Connect with multiple payment gateways for seamless transactions.
- Developer-Friendly REST API: Leverage robust APIs for custom integrations.
- Robust Security Standards: Ensure data protection with high-level security protocols.
Pricing Options for Chargify Users
Chargify offers three distinct pricing plans to cater to different business needs:
- Build: Free for 30 days, providing access to basic billing features for startups and small businesses.
- Grow: Priced at $599 per month, this plan offers an all-inclusive management platform suitable for scaling companies.
- Scale: Customized pricing with volume-based discounts, designed for enterprises with advanced requirements and higher transaction volumes.
User Insights on Chargify
Users have shared valuable feedback on their experience with Chargify:
- Pros:
- Comprehensive Billing Features: Users appreciate the platform’s ability to handle complex billing scenarios.
- Effective Subscription Management: The tools provided simplify subscription lifecycle management.
- Automation Capabilities: Automation features reduce manual workload and errors.
- Integration Options: Seamless integrations with other systems enhance operational efficiency.
- Cons:
- Complex User Interface: Some users find the interface challenging to navigate.
- Challenging Onboarding: The initial setup process can be daunting for new users.
- Potential High Costs: Pricing may be a concern for smaller businesses with tight budgets.
- Customer Service Concerns: Improvement is needed in customer support responsiveness.
- Overall: While Chargify excels in providing detailed financial solutions, users suggest enhancements in usability and onboarding processes to improve the overall experience.
YouTube Reviews Highlighting Chargify
For a more in-depth look at Chargify, consider watching these YouTube reviews:
- Chargify Maxio Review 2023 – YouTube Shorts: A brief overview of Chargify’s features and user experiences.
- Chargify Maxio Review 2023 – Detailed Analysis: An extensive discussion on Chargify’s effectiveness and functionality.
Chargify Alternatives Worth Considering
If you’re exploring options beyond Chargify, several alternatives offer competitive features:
- Zuora
- Billogram
- Stripe
- Paddle
- ChargeBee
- Aria Systems
- sticky.io
- Fusebill
- Recurly
- CheddarGetter
- SubscriptionFlow
- Togai
Discover Post Affiliate Pro's flexible pricing plans tailored to fit your business needs, with options for Pro, Ultimate, and Network packages. Enjoy a free trial with no credit card required, no setup fees, and the freedom to cancel anytime. Benefit from features like unlimited affiliates, advanced reporting, customizable interfaces, and lifetime support. Save up to 20% with annual billing and take advantage of more than 220 integrations. Perfect for businesses seeking to enhance their affiliate marketing efforts. Visit now to find the ideal plan for you!
Discover the essentials of clicks (referrals) tracking with our comprehensive guide. Learn about the importance of click tracking code, explore various code examples including simple, asynchronous, and PHP versions, and dive into advanced tracking options. Optimize your affiliate marketing strategy with expert tips on setting account IDs, managing cookies, and customizing tracking parameters. Visit now to enhance your click tracking implementation!
Discover the power of the Lifetime Commissions plugin! Ensure lifetime referral tracking with unique customer identifiers, allowing affiliates to earn commissions on future sales without repeated clicks. Easily manage customer-affiliate relations and configure settings to suit your needs. Boost your affiliate program's efficiency with customizable options and ensure commissions for affiliates, even across different devices or channels. Explore seamless integration with eCommerce systems and enhance your marketing strategy today!
FlowHunt AI Chatbot Integration
Create AI chatbots effortlessly with FlowHunt's no-code platform. Free demo & support available. Enhance your affiliate marketing!