-
Notifications
You must be signed in to change notification settings - Fork 194
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
Handle the Stripe connect redirect on specific pages #7223
Handle the Stripe connect redirect on specific pages #7223
Conversation
src/PaymentGateways/Stripe/Controllers/NewStripeAccountOnBoardingController.php
Outdated
Show resolved
Hide resolved
src/PaymentGateways/Stripe/Controllers/NewStripeAccountOnBoardingController.php
Outdated
Show resolved
Hide resolved
e303ea6
to
2193d15
Compare
is_setting_page function handle this check internally.
@jonwaldstein, I've implemented several improvements based on your suggestions and added tests to validate the functionality. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ravinderk looks good now, thanks! Please send off to QA 🙏
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Passed manual QA tests.
Description
Based on the query param, we are handling the Stripe redirect from the connect gateway server. We should limit handling to specific pages to prevent conflict.
Testing Instructions
Pre-review Checklist
@unreleased
tags included in DocBlocks