Inventory quantity is not linked when checkout test with Create payment link in sandbox

i try create payment link api

Why doesn’t the quantity value of Retrieve inventory count decrease even after completing the payment by accessing the parameter url (https://sandbox.square.link/xxx) returned by the api of this url?

after payment sandbox retrieve inventory count api but quantity is not change

At this time in sandbox the inventory webhook events aren’t currently available when payments to payment links are made. We’re constantly working to improve our features based on feedback like this, so I’ll be sure to share your request to the API product team. :slightly_smiling_face:

hi.
Is it linked in the production environment?

Yes, it is. This is a gap in Sandbox. :slightly_smiling_face:

thanks. i understand.