-
Notifications
You must be signed in to change notification settings - Fork 10.8k
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
Use the default payment suggestions when woocommerce_show_marketplace_suggestions is set to no #34083
Merged
moon0326
merged 4 commits into
trunk
from
fix/33958-blank-payment-task-when-marketplace-suggestion-is-disabled
Jul 28, 2022
Merged
Use the default payment suggestions when woocommerce_show_marketplace_suggestions is set to no #34083
moon0326
merged 4 commits into
trunk
from
fix/33958-blank-payment-task-when-marketplace-suggestion-is-disabled
Jul 28, 2022
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…ment suggestions when both woocommerce_show_marketplace_suggestions and woocommerce_setting_payments_recommendations_hidden options are set to no
github-actions
bot
added
focus: react admin
package: @woocommerce/data
issues related to @woocommerce/data
plugin: woocommerce
Issues related to the WooCommerce Core plugin.
labels
Jul 27, 2022
5 tasks
Test Results SummaryCommit SHA: 8aae557
To view the full E2E test report, click here. To view all test reports, visit the WooCommerce Test Reports Dashboard. |
ilyasfoo
approved these changes
Jul 28, 2022
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.
Tested well, LGTM! Thanks for working on this fix, @moon0326! 🚢 🚢
moon0326
deleted the
fix/33958-blank-payment-task-when-marketplace-suggestion-is-disabled
branch
July 28, 2022 04:02
Hi @moon0326, thanks for merging this pull request. Please take a look at these follow-up tasks you may need to perform:
|
jacob-sewell
pushed a commit
that referenced
this pull request
Jul 29, 2022
…_suggestions is set to no (#34083) * Support force_default_suggestions argument * Use force_default_suggestions * Support force_default_suggestions argument -- returns the default payment suggestions when both woocommerce_show_marketplace_suggestions and woocommerce_setting_payments_recommendations_hidden options are set to no * Add changelog
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
package: @woocommerce/data
issues related to @woocommerce/data
plugin: woocommerce
Issues related to the WooCommerce Core plugin.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
All Submissions:
Changes proposed in this Pull Request:
Closes #33958 .
This PR adds a new optional argument
force_default_suggestions
to the payment suggestions endpoint.When the argument is set to true, the endpoint returns the default payment suggestions when both
woocommerce_show_marketplace_suggestions
andwoocommerce_setting_payments_recommendations_hidden
are set tono
It fixes the blank page described in the original issue.
How to test the changes in this Pull Request:
woocommerce_show_marketplace_suggestions
option tono
WooCommerce -> Home
and chooseSet up payments
task.Other information:
pnpm changelog add --filter=<project>
?FOR PR REVIEWER ONLY: