React-Native Chargebee integration

Viewed 11

How we can integrate chargebee in our react native mobile application.

I am trying to integrate chargebee in my react native app but checkout is not working so is there any docs and examples are avialable to use chargebee in react native mobile application

import { CheckoutCart } from "@chargebee/react-native-chargebee";


<CheckoutCart
  onSuccess={(hostedPageId: string) => successfulPurchase(hostedPageId)}
  onEachStep={(stepName: string) => handleStep(stepName)}
  site={site}
  planId={planId}
  couponIds={couponIds}
  addons={addons}
  customer={customer}
  subscription={subscription}
  billingAddress={billingAddress}
  items={items} // Only for V2
/>
0 Answers
Related