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

fix: Stripe checkout session type error #180

Merged
merged 1 commit into from
May 10, 2023
Merged

fix: Stripe checkout session type error #180

merged 1 commit into from
May 10, 2023

Conversation

iuioiua
Copy link
Contributor

@iuioiua iuioiua commented May 10, 2023

According to the documentation, it's fine to use the non-null assertion error on url as the session is active in our case.

The URL to the Checkout Session. Redirect customers to this URL to take them to Checkout. If you're using Custom Domains, the URL will use your subdomain. Otherwise, it'll use checkout.stripe.com. This value is only present when the session is active.

Fixes #179.

@iuioiua iuioiua merged commit 6564e4d into main May 10, 2023
@iuioiua iuioiua deleted the fix-179 branch May 10, 2023 07:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant