Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 1.62 KB

README.md

File metadata and controls

34 lines (23 loc) · 1.62 KB

Corrily SDK integration examples

Corrily integration involves two main tasks:

  1. Display prices sourced from Corrily on your pricing page.
  2. Connect Corrily to your subscription management platform to feed revenue events for analytics.

👉 This repository provides examples for the first task, while documentation for the second can be found in Corrily's integration docs.

There are two common methods to display Corrily prices:

  1. Use Corrily's no-code Paywall Builder for full control over your pricing page's design and content.
  2. Integrate Corrily API to power the content on your existing pricing page without altering your unique design.

Corrily API Integration

Retrieve user-specific prices by making API requests to Corrily from your back-end.

  1. Stripe Golang example (link)

Corrily Paywalls Integration (React SDK)

Use the React SDK to render the Corrily Paywall in your application.

Each example listed below will contain both front-end and server code to illustrate how to render Paywall, and how to create Checkout Session with prices user seen.

  1. Recurly integration example (link)

    • integrate @corrily/react-sdk into your pricing page
    • interact with Recurly to do a checkout
  2. Stripe integration example (link)

    • integrate @corrily/react-sdk into your pricing page
    • interact with Stripe to create checkout session