This guide assumes you have already installed the
@locai1/billing-react-sdk package in your project.@locai1/billing-react-sdk package, you need to set up the billing context and reducer in your application. This guide will help you with the initial setup.
Add billingReducer to Your Global Reducer
Ensure the
billingReducer is included in your global reducer setup:Wrap Your Application with BillingProvider
Import and wrap your application or the relevant part of your application with the
BillingProvider: