Hi Shopify community,
Would like to get some advice - we noticed that with the new payment SDK platform, our payment gateway app was not able to restock deducted stocks after we send pending mutation to Shopify.
What do we mean is that, say that a customer tries to complete payment when clicking Complete Order, we as a payment app will then send a Pending mutation to Shopify in order to deduct the stock until customer actually completes the payment. If for some reason customer does not complete said payment, we’d like to be able to restock the feature back to the original stock level.
We used to be able to do this in the old Shopify’s PSDK platform but not in the new platform. Wondering whether anyone have any advice how a payment app can perform restock?
Thank you!