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

Pass successUrl and cancelUrl to createStripeCheckoutSession cloud function #1171

Merged
merged 3 commits into from
Dec 7, 2023

Conversation

nilsreichardt
Copy link
Member

Demo

Screen.Recording.2023-12-07.at.19.03.17.mov

@github-actions github-actions bot added testing feature: sharezone plus Includes everything that is related to the Sharezone Plus subscription labels Dec 7, 2023
Copy link

github-actions bot commented Dec 7, 2023

Visit the preview URL for this PR (updated for commit 0c063c0):

https://sharezone-test--pr1171-add-cancel-and-succe-i5kdrebq.web.app

(expires Sun, 10 Dec 2023 22:38:38 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: 4cb3ae61e1e018abfd9841fd3239f5b49ccc034b

Comment on lines 83 to 84
// payment is completed or canceled. We only use the base URL because we a
// whitelist for the allowed URLs.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Last sentence is incomplete. Also I don't follow the argument, I mean the backend could also just match the base url if a longer url is send, no? I guess the argument is so that we have to do less parsing in the backend we only send the base url, correct?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changed the backend that it only needs to match the beginning of the URL ✅

@nilsreichardt nilsreichardt added this pull request to the merge queue Dec 7, 2023
Merged via the queue into main with commit 6a77936 Dec 7, 2023
22 checks passed
@nilsreichardt nilsreichardt deleted the add-cancel-and-success-url branch December 7, 2023 23:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature: sharezone plus Includes everything that is related to the Sharezone Plus subscription testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants