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
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025