Hi, we have encountered a problem with the payment APP extension we are building right now.
When we make capture, refund or void, we will receive two or three requests at the same time.
According to the design of the API document’s Response section (https://shopify.dev/apps/payments/processing-a-refund) , we should not receive the same gid request again after replying HTTP code 201
For example, there is a refund {“id”:“azYA6V6Z1catABWMnG8AzJlW”,“gid”:“gid://shopify/RefundSession/azYA6V6Z1catABWMnG8AzJlW”,“payment_id”:“PRt3eggD1y8mountI5"wg”,currency ":“JPY”,“merchant_locale”:“en”,“proposed_at”:“2021-09-02T06:19:21Z”}
We received two requests in our system at the same time.
Could you help us declear this problem?