App reviews, troubleshooting, and recommendations
Heyo,
I've been messing with the payments api and came across an issue with the documentation: Processing a payment (shopify.dev)
mutation PaymentSessionPending($id: ID!, $pendingExpiresAt: DateTime!, $reason: PaymentSessionStatesPendingReason!) {
paymentSessionPending(id: $id, pendingExpiresAt: $pendingExpiresAt, reason: $reason) {
paymentSession {
id
state {
... on PaymentSessionStatesPending {
reason
}
}
nextAction {
action
context {
... on PaymentSessionActionsRedirect {
redirectUrl
}
}
}
}
userErrors {
field
message
}
}
}
It looks like there's a misspelling on "PaymentSessionStatesPendingReason", I think it should be "PaymentSessionStatePendingReason".
Also: "PaymentSessionStatesPending" -> "PaymentSessionStatePending"
⭐️ If I was helpful, please Like or Accept the solution
✅ Contact me directly via email: Jonathan@Innovonics.com
Discover how to increase customer engagement on your store with articles from Shopify A...
By Jacqui Apr 23, 2025Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025