Payment APP Extension Receive Multiple Request

HiTRUSTpay
Shopify Partner
4 0 0

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?

Replies 4 (4)
L_J_K
Shopify Staff
Shopify Staff
400 64 81

Hey @HiTRUSTpay 

Thanks for raising this - if this is still occurring, do you by chance have the x-request-id's from the refunds? I'll be happy to take a look at what is occurring in the logs. Thanks!

| Shopify |
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution!
iPayLinks
Shopify Partner
4 0 0

Hi ,has your problem been solved?

Alison_Gatt1
Tourist
7 0 3

Having the same issue, can someone assist?

Alison_Gatt1
Tourist
7 0 3

Hi , Have Same issue, does anyone have solutions to this? @L_J_K