Return the order from the PaymentApproveResource if the state transition isn't allowed

Created on 29 March 2023, about 2 years ago
Updated 25 April 2023, almost 2 years ago

Problem/Motivation

As part of 🐛 The payment resources should check whether the "place" transition is allowed Fixed , an exception is now returned when the order is already placed.

This caused a regression on a project of mine due to the fact that the previous behavior returned the order in case the order was no longer a draft.

📌 Task
Status

Fixed

Version

1.0

Component

Code

Created by

🇮🇱Israel jsacksick

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024