Order onPaid event called twice

Created on 16 February 2021, almost 4 years ago
Updated 13 September 2024, 2 months ago

Problem/Motivation

There is an event that set the order total paid when the invoice is paid, this will cause the order onPaid event to be called twice.
Function name is "onPayPostTransition" in InvoiceSubscriber.php file

Steps to reproduce

- Set "Invoice when the order is placed" to true in the order type settings.
- Checkout with a manual payment gateway.
- Go to the order and mark the payment as received.

🐛 Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

🇯🇴Jordan Anas_maw

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

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024