Creates a new IapticStripe instance
Configuration options for the Stripe integration
Changes a subscription plan
Plan change parameters
Promise resolving to the updated purchase details
Clears all stored data including access tokens and cached products
Gets the current access token if one exists
The current access token or undefined if none exists
Gets a list of available products and their pricing
Promise resolving to an array of products
Gets the customer's purchase history
OptionalaccessToken: stringOptional access token (uses stored token if not provided)
Promise resolving to an array of purchases
Creates a new order and redirects to Stripe Checkout
Order parameters including product and URLs
Redirects to Stripe Customer Portal for subscription management
Portal parameters including return URL
Forces a refresh of the products list from the server
Promise resolving to an array of products
Main class for interacting with Iaptic's Stripe integration
Remarks
This class handles all Stripe-related operations including product listing, checkout sessions, and subscription management.