{errors: Not Found} when submitting payment to checkout

Bill6
Shopify Partner
47 0 17

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.

 

Replies 15 (15)

Alex
Shopify Staff
1561 81 341

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.

Alex | Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit the Shopify Help Center or the Shopify Blog

Bill6
Shopify Partner
47 0 17

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

 

Thanks!

Alex
Shopify Staff
1561 81 341

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!

Alex | Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit the Shopify Help Center or the Shopify Blog

Bill6
Shopify Partner
47 0 17

Thanks Alex!

Alex
Shopify Staff
1561 81 341

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.

Alex | Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit the Shopify Help Center or the Shopify Blog

Bill6
Shopify Partner
47 0 17

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

Bill6
Shopify Partner
47 0 17

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

Alex
Shopify Staff
1561 81 341

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.

Alex | Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit the Shopify Help Center or the Shopify Blog

Steve_Robbins
Shopify Partner
11 0 1

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

aruninnoppl
Tourist
12 0 2

Hi Alex,

 

I'm getting the same 404 error while submitting the payment for checkout. 

 

I have tried this in my Shopify store account and got the 404 error. I requested access to payment processing but it is not approved yet.

 

I have also tried this in my developer preview account and getting the same error. Is the payment processing required for the developer preview account too?

 

Also how long it takes for Shopify to approve the payment process?

 

Thanks in advance.

guid
Tourist
14 0 1

I have the same problem now.

 

additional, I'm using develop mode to do it, Is that the reason of the issue ?

KimTranjan
Shopify Partner
7 1 0

Same problem here.

Lautaro
Visitor
2 0 0

Same problem here...any updates?

newtonx
Shopify Partner
13 1 3

it's 2020!! and it still the same [POST /admin/api/2020-01/checkouts/{returnedCheckoutTokenFromCheckOutObject}/payments.json]

 

Response 404 Not Found

{
    "errors""Not Found"
}
 
I have tried everything! Sales channel is enabled.
 
X-Request-Id: 83f8f10e-a723-4651-8d20-b0504bce73fb

yosuer
Tourist
3 1 0

Hi!

You have to enable Payment processing for the app.

In App Setup, section Sales Channel, Payment processing:

Screen Shot 2020-09-14 at 11.45.19.png

and you should choose a option depends on your implementation

Screen Shot 2020-09-14 at 11.46.58.png

and you will show this message:

Screen Shot 2020-09-14 at 11.39.57.png

Regards!