Order is not automatically marked as Complete as payment

The order is not automatically marked as completed as soon as payment has been received. 4.15.2 MV. I use PayPal checkout.

The Paid status means the payment has been received. The Complete status means the order has been shipped or fulfilled.

Thank you very much for the quick reply.
Every time I receive a payment, I first have to check whether the payment has been received and then manually set it to Completed.
I would like the status to change automatically to completed when the customer pays and the payment is received by Paypal.


please replace

CaptureStatus::COMPLETED => OrderStatuses::PAID,


CaptureStatus::COMPLETED => OrderStatuses::COMPLETE,

and clear cache then

1 Like