krokedil / klarna-order-management-for-woocommerce

GNU General Public License v3.0
4 stars 8 forks source link

Prevent order status change on callback once processed once #108

Closed mntzrr closed 11 months ago

mntzrr commented 11 months ago

WC_Order::get_date_paid is true if the payment has been completed which covers cases for when the order status is cancelled or refunded.

mntzrr commented 11 months ago

Task linked: CU-86933pkzd Check if order has already been processed when handling notification callback