Completing a Checkout via the checkoutCompleteWithTokenizedPaymentV2

davidgetter
Shopify Partner
7 0 1

Hello I am currently working on a mobile app where I display my shop and where I can use the full functionality of the shop (buying products etc.)
As of right now I have a private app.
I communicate with the Storefront API via graphql which lets me create a checkout, associate the checkout to a customer and even (as the docs state) complete the checkout.
Whenever I create a checkout, it immediatly gets added to abandoned checkouts( is this normal behavior?)
furthermore when I complete the checkout it says the following in the History tab of the order:
Unable to process a payment for €1,00 EUR on the card ending in ••• via card.
My process looks like this:

  1. I create the checkout via the CheckoutCreate mutation
  2. I get a token from the Stripe API as I send them the credit card information
  3. I complete the checkout via the checkoutCompleteWithTokenizedPaymentV2 mutation

 

Replies 2 (2)

vix
Shopify Staff
540 103 122

Hey @davidgetter 

 

What is the response from your last step? Are you receiving access denied, a permissions error, or 200? With that information, I will be able to help you troubleshoot. 

 

Thank you!

To learn more visit the Shopify Help Center or the Community Blog.

davidgetter
Shopify Partner
7 0 1

Hello @vix
It looks like this:

 payment_error.JPG

Thank you for your time!