repeatSubscriptions Providers

Learn how to augment subscription billing providers (Chargebee, Recurly, Stripe Billing) with Hyperswitch payments orchestration — decoupling payments for full control over card vaulting, routing, ret

Businesses running on a subscription model — powered by providers such as Chargebee, Recurly, or Stripe Billing — can now augment their setup with Juspay Hyperswitch payments orchestration. By decoupling payments from the subscription provider, you use the provider purely for subscription ledger and scheduling while owning 100% of the card vaulting, payment attempts, and retry logic. This logic can be managed in-house or via an ensemble of specialized, payment-focused orchestrators and third parties that are modularized to work together.

Benefits

  1. Greater control over payments with direct integrations and commercials with a range of Acquirers and Payment Processors

  2. Improved reliability with a multi-PSP setup

  3. Intelligent Routing capabilities to improve Authorization Rates and minimize Processing costs

  4. Greater coverage of PMs, APMs and features offered by the PSPs

  5. Centralized tokenization of payment methods for PSP-agnostic payments

How does it work?

  1. Integrate your subscription provider as a billing processor on Hyperswitch

  2. Create and maintain plans on the subscription provider's dashboard

  3. During the checkout process use Hyperswitch for Payments

  4. Hyperswitch completes the payment, securely tokenises and stores the card

  5. Subscription is created at Hyperswitch and at the subscription provider's end

  6. First invoice is marked as paid and the subscription is activated

  7. Subsequent billing cycles are handled independently by Hyperswitch through MIT payments

  8. Failed MIT payments can be smartly retried by Hyperswitch (read more) or by the solution provider of your choice.

Flow Diagram

Initial Subscription create flow (with CIT Payment)

MIT payment flow in subsequent billing cycle

Integration Guide

1. For non-PCI compliant merchants who wants to use Hyperswitch Payments SDK

1

Configure your Subscription Provider with Hyperswitch and set it as billing connector for the desired profile

Note: Dashboard support for this configuration will be available soon

2

Configure Hyperswitch Webhook endpoint for invoice events on the subscription provider's dashboard

3

Fetch the plan details (to be setup prior on subscription provider)

4

Display the retrieved Plan and Price Details to the user to make their selection

5

Once the user selects a particular Plan, create a customer on Hyperswitch (API Referencearrow-up-right) and create a subscription with the following API

6

Initiate the Hyperswitch unified checkout SDK using the client_secret returned in the /subscriptions/create API response

7

Once the customer selects a payment method and enters the details and confirms the subscription, hit the /subscriptions/:id/confirm using a similar implementation as this

8

Sync with the subscription status for disbursement of services and future billing cycles

2. For PCI Compliant merchants handling the entire checkout experience

1

Follow the same steps as above to create a billing connector, fetch plan details and display the retrieved Plan and Price Details to the user to make their selection

2

Once the user selects a particular Plan, create a customer on Hyperswitch (API Referencearrow-up-right), initiate checkout and collect payment method details

3

After the user enter card/PM details and confirms the payment, hit the Hyperswitch Subscriptions API

Response:

4

Sync with the status of the Subscription API to disburse services to subscribed users

5

Monitor incoming webhooks for renewal during subsequent cycles

FAQs

1. What are subscriptions providers that are currently supported?

Currently we support Chargebee integration. In the upcoming roadmap we are planning to extend support for Recurly, Stripe Billing and Zuora

2. Can the entire experience from plan display, price estimation to payments be handled by Hyperswitch SDK?

We are planning to release a Hyperswitch Subscriptions SDK that will take care of the end-to-end experience. Check the Hyperswitch roadmaparrow-up-right for the latest timeline.

Last updated

Was this helpful?