Provides the ability to cancel a Payment Builder action, using Permissions as a Action Creator.
Testing
Account with Permission Payer (or higher or Arbitration permission on the contracts) is required to Create "Payment builder" action and Cancel it in Review step.
Account with Permission Payer (or higher or Arbitration permission on the contracts) is required to Create "Payment builder" action and Cancel it any step after the Review step.
In the Scope of that story
In align with Figma design
Responsive design
Kebab menu with Edit/Cancel/Copy:
appears after creating an action, but Cancel shows only for Action Creator or Non-creator users with Payer role (or higher or Arbitration permission on the contracts)
For now "Edit" option can be hidden
it's not a part of scope
"Copy" copies transaction URL to users clipboard
Path for Canceling action in Review step (Action is not yet in Locked state):
Cancel action as Action creator
Cancel modal (simple version)
Path for Canceling action after Review step (Action is in Locked state):
Cancel action as Action creator
Cancel modal (expanded version with Decision method dropdown and Penalise/Non Penalise options)
Out of Scope of that story
Making changes (at any step)
Cancel as Non-Creator user or Non-permission holder.
Support working functionality for Decisions Method other than Permission (at any step)
Parts of the UI for other decision methods may exist, but they don't work.
Teamwork task: [ADV.PAYMENTS][PAYMENT BUILDER][PERMISSION METHOD] As a Action Creator I can use my permissions to CANCEL action at any stage
Related sub-issues/PR's
Description
Provides the ability to cancel a Payment Builder action, using Permissions as a Action Creator.
Testing
In the Scope of that story
Out of Scope of that story