-
Notifications
You must be signed in to change notification settings - Fork 257
Shopify: UX confusing error message when creating credit memo #5097
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
base: main
Are you sure you want to change the base?
Shopify: UX confusing error message when creating credit memo #5097
Conversation
…m refund and update related test.\n\n- Updated error message in ShpfyRefundsAPI.Codeunit.al to clarify when a refund cannot be used to create a credit memo.\n- Updated test in ShpfyOrderRefundTest.Codeunit.al to expect the new error message.
src/Apps/W1/Shopify/App/src/Order Refunds/Codeunits/ShpfyRefundsAPI.Codeunit.al
Outdated
Show resolved
Hide resolved
src/Apps/W1/Shopify/Test/Order Refunds/ShpfyOrderRefundTest.Codeunit.al
Outdated
Show resolved
Hide resolved
…dsAPI.Codeunit.al Co-authored-by: Onat Buyukakkus <55088871+onbuyuka@users.noreply.github.com>
…deunit.al Co-authored-by: Onat Buyukakkus <55088871+onbuyuka@users.noreply.github.com>
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.
Pull Request Overview
This PR updates a confusing error message related to Shopify refund processing to provide clearer guidance to users when a refund cannot be used to create a credit memo.
- Updated error message text in ShpfyRefundsAPI codeunit to be more descriptive and explanatory
- Updated corresponding test assertion to expect the new error message
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
File | Description |
---|---|
ShpfyRefundsAPI.Codeunit.al | Updated error message label to provide more detailed explanation of why refunds cannot create credit memos |
ShpfyOrderRefundTest.Codeunit.al | Updated test assertion to expect the new, more descriptive error message |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
src/Apps/W1/Shopify/App/src/Order Refunds/Codeunits/ShpfyRefundsAPI.Codeunit.al
Outdated
Show resolved
Hide resolved
…dsAPI.Codeunit.al Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
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.
Pull Request Overview
Copilot reviewed 2 out of 2 changed files in this pull request and generated no new comments.
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Summary
Updated error message in ShpfyRefundsAPI.Codeunit.al to clarify when a refund cannot be used to create a credit memo.
Updated test in ShpfyOrderRefundTest.Codeunit.al to expect the new error message.
Work Item(s)
Fixes # AB#609501