With the latest version 8.x-1.x, 2 payments are created per order

Created on 23 September 2024, 2 months ago

Problem/Motivation

With the latest version 8.x-1.x (hash da90c292), 2 payments are created per order due to changes related to webhook handling. This only happens when the "Queue webhook events" is disabled. So 1 payment is created in onReturn() and another is created in processWebHook().
See the attached screenshot for more information:

Steps to reproduce

It can be easily reproduced using Commerce Kickstart and the latest version of commerce_stripe.

Proposed resolution

When the "Queue webhook events" option is disabled, the creation of payments and placing of orders should not happen in processWebHook().

πŸ› Bug report
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡¦Ukraine marchuk.vitaliy Rivne, UA

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024