I use the refundCreate
mutation and get the following error:
Currency Currency must match parent transaction CHF
.
My problem is that the RefundInput > transaction
does not allow me to define a currency, so I feel lost on how to solve this issue. Can someone help me here?
Documentation on “RefundInput!”:
Response Error:
"data": {
"refundCreate": {
"userErrors": [
{
"field": null,
"message": "Currency Currency must match parent transaction CHF"
}
],
"refund": null
}
}, ...
GraphQL: 2025-01
Transaction:
{
"orderId": "gid://shopify/Order/xxx",
"gateway": "paypal",
"kind": "REFUND",
"amount": "73.0",
"parentId": "gid://shopify/OrderTransaction/xxx"
}
I double checked it, it is the right parentId (with CHF as currency presentmentMoney and EUR shopMoney).