Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improvement: Include subscriptions on provider #128

Open
chrisvdm opened this issue Aug 21, 2023 · 0 comments
Open

Improvement: Include subscriptions on provider #128

chrisvdm opened this issue Aug 21, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@chrisvdm
Copy link
Owner

Add subscriptions to <StripeProvider/> accessible from useStripeCustomer React hook. subscriptions would list subscriptions active to customer.

import { useStripeCustomer } from '@redwoodjs-stripe/web'

...

const { subscriptions } = useStripeCustomer()
@chrisvdm chrisvdm added the enhancement New feature or request label Aug 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant