-
Notifications
You must be signed in to change notification settings - Fork 69
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
Add risk level information to the Fraud & Risk meta box #9515
base: develop
Are you sure you want to change the base?
Conversation
Test the buildOption 1. Jetpack Beta
Option 2. Jurassic Ninja - available for logged-in A12s🚀 Launch a JN site with this branch 🚀 ℹ️ Install this Tampermonkey script to get more options. Build info:
Note: the build is updated when a new commit is pushed to this PR. |
Size Change: +584 B (0%) Total Size: 1.33 MB
ℹ️ View Unchanged
|
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.
The changes looks good and the testing instructions work as expected. The new metabox looks way better! 🙂
Let's 🚢 it
BTW not related with the PR, but the metabox html code is getting a bit out of control 😄 Good call moving the risk level block to a new method.
@@ -96,9 +96,11 @@ public static function is_current_page_settings() { | |||
/** | |||
* Returns the URL of the configuration screen for this gateway, for use in internal links. | |||
* | |||
* @param array $query_args Optional additonal query args to append to the URL. |
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.
* @param array $query_args Optional additonal query args to append to the URL. | |
* @param array $query_args Optional additional query args to append to the URL. |
Fixes #1225
Changes proposed in this Pull Request
This PR aims to add the risk level information to the Fraud & Risk meta box on the order details page. The risk level information provides more information and clarity around the possible risk of the order.
Besides that, an "Adjust risk filters" link was added to the block, allowing merchants to go to the risk filter configuration in an easier way.
Testing instructions
npm run listen
4242424242424242
card4000000000009235
card4242424242424242
card and make sure it gets blocked by your rulesnpm run changelog
to add a changelog file, choosepatch
to leave it empty if the change is not significant. You can add multiple changelog files in one PR by running this command a few times.Post merge