Cancelling an order via the API doesn't always cancel on UI and cancelled_at still null

Tourist
6 1 3

I'm cancelling orders via the API, and refunding by setting the amount field.

The order is always refunded but sometimes it's not cancelled (not in UI, and the cancelled_at field is still null)

Using the PHP SDK

Did anyone experience this before?

0 Likes
Highlighted
Community Manager
Community Manager
499 23 54

Hi @Lulu1,

 

Are the orders you are trying to cancel already fulfilled? If they are, you would first need to cancel the fulfillment, and then you will be able to cancel the order.

0 Likes