checkoutCompleteWithTokenizedPaymentV3 fails to complete order, but returns no feedback for why

I’m trying to figure out how to implement a custom checkout flow. I’m having difficulties getting the checkout api working, and it’s partly due to the fact that the checkoutCompleteWithTokenizedPaymentV3 mutation doesn’t give feedback for errors.

My app is a sales channel. I’ve gotten approval to process payments. I’ve signed up for Stripe and created a Connect integration account. I’ve installed the app in a development store.

Complete checkout Request id: c23dbd15-e5ca-41b0-ab16-db2ac38d90f2

I’ve created a card token with Stripe using this api: https://stripe.com/docs/api/tokens/create_card?lang=curl

And passed that in the “paymentData” field in the “payment” input field and set “type” to “STRIPE_VAULT_TOKEN” and I’ve tried “SHOPIFY_PAY”.

Running the mutation doesn’t complete the checkout, nor return any fields in “checkoutUserErrors”. I would assume if a checkout is not completed some feedback would be returned to help figure out why, but nothing it returned… I’m querying all the fields for checkoutUserErrors.

3 Likes