{errors: Not Found} when submitting payment to checkout

Bill6
Tourist
23 0 1

I am working through this guide:  https://help.shopify.com/en/api/guides/sell-through-the-checkout-api

I am on the "Completing the purchase" step where I am trying to submit the "Direct Payment" for a checkout.  I have succesfully vaulted a test card and have a valid "session_id" for the vaulted card.  But when I make the subsequent call to "/admin/checkouts/{checkouttoken}/payments.json" to pass the payment payload with the session_id i get the response:  "errors: Not Found"

What is "Not Found" indicating in this context?  The error is not giving me much to go on...

The test store in which I am creating the checkout object has Shopify Payments setup and active in test mode and I can place test credit card orders using the Shopify Admin.

 

0 Likes
Alex
Shopify Staff
Shopify Staff
1555 81 293

Hey Bill,

I can probably take a closer look with a request-id. Are you able to provide one? You will have received one as a response header.

Cheers.

0 Likes
Bill6
Tourist
23 0 1

X-Request-Id = a13a761d-3f20-43b7-8cc7-255b0c6ba8a9

 

Thanks!

0 Likes
Alex
Shopify Staff
Shopify Staff
1555 81 293

Logs haven't populated for the request yet on my end but I'll try to get back to you on this one by end of day. Stay tuned!

0 Likes
Bill6
Tourist
23 0 1

Thanks Alex!

0 Likes
Alex
Shopify Staff
Shopify Staff
1555 81 293

Hey Bill,

Logs aren't showing me too much sadly. Are you able to try again and add a debug=true query parameter to your request and give me a new request-id? That will give me much more detailed logs to sift through. Not seeing anything immediately obvious.

Cheers.

0 Likes
Bill6
Tourist
23 0 1

Done.  Here is the new request-id:  163bfa60-dd31-4804-8673-73eafd9bbba9

0 Likes
Bill6
Tourist
23 0 1

Hi Alex - Just wanted to see if you were able to check your logs.  Thanks

0 Likes
Alex
Shopify Staff
Shopify Staff
1555 81 293

Hey Bill,

Sorry for the delay. The current state of things looks to be a permissions issue. I can see that you've requested access to payment processing but have not yet been approved. This looks to be the issue. With that said, the error messaging could use some clarifying, so I'll look into that one.

0 Likes
Steve_Robbins
Shopify Partner
8 0 1

Looks like the error message still isn't updated.  How does one get approved for payment access?  What is the permission scope?

0 Likes