Add payment workflow for the Omise payments

Created on 18 April 2023, about 2 years ago
Updated 21 April 2023, about 2 years ago

Problem/Motivation

Currently, the Omise module doesn't have its own payment workflow and it uses the default provided by Commerce.
But in case you want, for example, to create a different type of order with manual payment capture and handle this process on your own, it's hard to handle these two cases with the default payment workflow due to a lack of states.

Proposed resolution

We suggest adding a separate workflow for the Omise payments with an additional manual_capture state to provide the possibility to handle different cases with payments. Also, we added validation for the onNotify() method to prevent payment changes for the payments with manual_capture state.

✨ Feature request
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡¦Ukraine _shy Ukraine, Lutsk πŸ‡ΊπŸ‡¦

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

Comments & Activities

Production build 0.71.5 2024