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

NEXT-39768 - Added a listener to stop the Shop registration process if the Shop URL is not reachable #51

Conversation

nsaliu
Copy link
Contributor

@nsaliu nsaliu commented Nov 27, 2024

This PR adds the BeforeRegistrationStartsListener subscribed to the BeforeRegistrationStartsEvent event triggered by the app-php-sdk that prevents the Shop from being registered if the Shop URL is not reachable from the internet.

If the value of check_if_shop_url_is_reachable is true, then the check will take place, and an exception will be thrown; otherwise, nothing will happen.

@nsaliu nsaliu self-assigned this Nov 27, 2024
@nsaliu nsaliu force-pushed the next-39769/add-event-listener-to-stop-the-registration-if-the-url-is-not-reachable branch from c330b95 to 69ac305 Compare November 28, 2024 10:33
@nsaliu nsaliu marked this pull request as ready for review November 28, 2024 10:46
@nsaliu
Copy link
Contributor Author

nsaliu commented Nov 29, 2024

This PR must be merged only after shopware/app-php-sdk#28

@nsaliu nsaliu requested review from buzyka and shyim November 29, 2024 12:25
@shyim shyim merged commit 881d225 into main Dec 3, 2024
8 of 9 checks passed
@shyim shyim deleted the next-39769/add-event-listener-to-stop-the-registration-if-the-url-is-not-reachable branch December 3, 2024 08:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants