craftcms / commerce

Fully integrated ecommerce for Craft CMS.
https://craftcms.com/commerce
Other
215 stars 169 forks source link

[5.x]: Sending email for order hangs #3476

Closed atelierbim closed 2 months ago

atelierbim commented 2 months ago

What happened?

Description

Sending email for order hangs forever in pending state and never gets sent.

Steps to reproduce

  1. Place an order

Expected behavior

Orders email where always immediately sent.

Actual behavior

this can never gets sent:

Capture d’écran 2024-05-01 à 15 01 04

Craft CMS version

5.1.0

Craft Commerce version

5.0.1

PHP version

8.2

Operating system and version

craft cloud

Database type and version

mysql 8

Image driver and version

No response

Installed plugins and versions

- mailgun 3.1.0

linear[bot] commented 2 months ago

PT-1685 [5.x]: Sending email for order hangs

lukeholder commented 2 months ago

Thanks for reporting. This has been fixed for the next release.

To get this early, change your craftcms/commerce requirement in your project's composer.json to:

"require": {
  "craftcms/commerce": "5.x-dev#2acf82f43928eddd2b9b4675a91373fdb2cd8243 as 5.0.1",
  "...": "..."
}

Thanks

lukeholder commented 2 months ago

@atelierbim We will update this issue when it's included in an official release.

lukeholder commented 2 months ago

Commerce 5.0.2 is now out with this fix.