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

Cancel and refund an order #861

Open
lunika opened this issue Jun 26, 2024 · 0 comments
Open

Cancel and refund an order #861

lunika opened this issue Jun 26, 2024 · 0 comments
Assignees
Labels

Comments

@lunika
Copy link
Member

lunika commented Jun 26, 2024

Feature Request

Is your feature request related to a problem or unsupported use case? Please describe.

We want to be able to cancel an order and refund it from the BO. Now we have to manually refund the transaction on the payment provider and then cancel it in the BO.
With the payment schedule, we also to have managed all paid installments on the refund action

Describe the solution you'd like

A button on the order should be available to cancel. Once the order cancel, then a new button to refund the customer should be available. So the button refund should not be available while the order state is not canceled.
A new state refund should be added in the state machine, the transition is only available from the canceled state and the action is to refund all paid installments.

Discovery, Documentation, Adoption, Migration Strategy

Payzen endpoint to use to cancel or refund a transaction : https://payzen.io/fr-FR/rest/V4.0/api/playground/Transaction/CancelOrRefund

@lunika lunika added the feature label Jun 26, 2024
@lunika lunika self-assigned this Jun 26, 2024
@jonathanreveille jonathanreveille changed the title Cancel and refound an order Cancel and refund an order Sep 2, 2024
@jonathanreveille jonathanreveille self-assigned this Sep 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants