![]()
Topic summary
A developer is encountering errors while implementing Razorpay payment integration with Shopify’s GraphQL API.
Initial Problem:
- The
orderCapturemutation fails with “Field ‘payments’ doesn’t exist on type ‘Order’” - Original attempt used
paymentGatewayIdparameter with Razorpay payment ID
Troubleshooting Steps:
- Another user suggested using
parentTransactionIdinstead ofpaymentGatewayId - After making this change, a new error emerged: “Invalid global id ‘pay_NQmaLp5p0FBqZ6’”
- The error indicates the Razorpay payment ID format is incompatible with Shopify’s expected global ID format
Current Status:
- The issue remains unresolved
- The developer’s final response contains only emoji characters, suggesting frustration
- No working solution has been identified for properly formatting the Razorpay transaction ID for Shopify’s API