Stripe Session Service
A service which handles all things around the Stripe Session
The Stripe session service is what creates and handles the creation, updating and clearing of the Stripe session.
You can access the Stripe session service by injecting ISessionService
which can be found within the namespace UmbCheckout.Stripe.Interfaces
GetSession
Gets a Stripe session
Parameters:
Name | Detail |
---|---|
id | Id of the Stripe Session |
GetSessionAsync
Gets a Stripe session asynchronously
Parameters:
Name | Detail |
---|---|
id | Id of the Stripe Session |
CreateSession
Creates a Stripe session
Parameters:
Name | Detail |
---|---|
basket | The basket to be stored in the Stripe Session |
CreateSessionAsync
Creates a Stripe session asynchronously
Parameters:
Name | Detail |
---|---|
basket | The basket to be stored in the Stripe Session |
ClearSession
Clears the Stripe session
Parameters:
Name | Detail |
---|---|
id | Id of the Stripe Session |
ClearSessionAsync
Clears the Stripe session asynchronously
Parameters:
Name | Detail |
---|---|
id | Id of the Stripe Session |
Last updated