BUG: Access denied calling checkoutCompleteWithCreditCard from iOS App

Rob_Kerr
Shopify Partner
5 0 4

I'm developing a proof-of-concept iOS app to help my company decide whether to use Shopify as a back-end for product sales.  I've followed the iOS SDK guides, and have created a working application that does nearly everything it needs:

1. Access store info

2. Access collections and product catalog

3. Build a shopping cart, update shipping address, use the cardVaultUrl and CardCiient to obtain a token (I'm in test mode, so using a test credit card number)

On the next step I use checkoutCompleteWithCreditCard to process the order, and receive back "access denied".

I see on the uinversity forum that this issue comes up a lot (see links below), with no responses from Shopify whether this opertion shoudl work or not from a private app via iOS SDK.  

Is this feature not supported?  The documentation makes no mention of it being restricted, so it appears to be a bug.

https://ecommerce.shopify.com/c/shopify-apis-and-technology/t/checkoutcompletewithcreditcard-acess-d...

https://ecommerce.shopify.com/c/shopify-apis-and-technology/t/how-to-complete-native-checkout-using-...

https://ecommerce.shopify.com/c/shopify-apis-and-technology/t/storefront-api-checkoutcompletewithtok...

https://ecommerce.shopify.com/c/shopify-apis-and-technology/t/storefront-api-process-checkout-438429

Replies 138 (138)

Dima_Bart
Shopify Staff (Retired)
74 0 8

Craig, what is the name of your private app that you'd like checkout_payment permissiosn for?

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

Craig6
Tourist
11 0 1

Hey @Dima, I'm not sure what you mean by the private app, but the store name I am testing is called Graupel Test. Once i've fully tested everything, I would want to create a production store. 

Craig6
Tourist
11 0 1

Hey Dima - Happy Holidays. Any updates on this request? Thank you for the assistance. 

Craig6
Tourist
11 0 1

Hey Dima - Happy New Year. Is there any chance I can get an update on this. I really wish I could just do this on my own w/o having you as a bottleneck. It has been 9 days and I haven't received a response from you. I would very much like to get the issue resolved as soon as possible.

As an aside, I did some more digging and I think I understand what you mean by a private app. My private app is called graupel-cms.

Dima_Bart
Shopify Staff (Retired)
74 0 8

Craig, I apologize for the delay, I've updated your private app with the correct permissions. Once you create your production store, ping me here again with the name of your private app and I'll update the permissions for you. Unfortunetly, there's no self-serve alternative at the moment.

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

Craig6
Tourist
11 0 1

Thanks, Dima- I should be good to go for a while now.

Craig6
Tourist
11 0 1

Hey @Dima, I am about a couple weeks from setting up the production store. Just want to give you the heads up that I will be needing you to change permissions on your side.

Alex_Hafros
Visitor
1 0 0

Hi Dima,I'm still getting the same error. Could you fix the private app permission on https://blablainproduction.myshopify.com  domain and my private app name is  Checkout Test

Dima_Bart
Shopify Staff (Retired)
74 0 8

Hey Alex, permissions have been updated!

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

piotrem1
Visitor
3 0 0

Hi Dima. Could you give me these permissions for mynewstory.myshopify.com? The private app name is privatestories.

Dima_Bart
Shopify Staff (Retired)
74 0 8

Piotrem, I've updated the permissions for your private app.

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

piotrem1
Visitor
3 0 0

Hi Dima,

Thanks for your effort but Checkout is still not working.

What I am trying to do is to create checkout wit shopify_api gem. When I try to make a new one, like:

a = ShopifyAPI::Checkout.new(line_items: [{variant_id: "variant_id_number", quantity: 1}])

a.save

I am still getting "Forbidden" error.

It's getting little bit confusing as I have all permisions set properly.

So I thought that the checkout_payment permission is needed, but it seems to not working for me.

Can You help me with this issue?

Dima_Bart
Shopify Staff (Retired)
74 0 8

Piotrem, unfortunetly I can't help you with the shopify_api gem. It may or may not be related to it.

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

Ruslan_P_
Shopify Partner
1 0 0

Hi Dima,
Can you please update permission for our store too.
Because I got same error:
[MobileBuySDK.Graph.QueryError.Reason(message: "CheckoutCompleteWithCreditCard access denied", line: nil, column: nil)]))

bowtiebarapp.myshopify.com
private app: bowtiebarapp

Thannk you,
Ruslan

Cesar
Shopify Expert
39 1 9

Hi Dima,

We are having a iOS app, usins SDK hit this error: "CheckoutCompleteWithCreditCard access denied"

Our store is: inscoder-apple-tv-demo.myshopify.com

Please help to fix the permission. 

Find more about apps for your store.
★ Connected Inventory: https://apps.shopify.com/connected-inventory
We're really good at consulting and customization: enquiry@inscoder.com

Dima_Bart
Shopify Staff (Retired)
74 0 8

Hey Ruslan and Cesar, your store's permissions have been updated.

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

jayavardhan_b_n
Shopify Partner
4 0 0

Hi Dima,

I'm also facing the same issue. Can you please update the app permission?

Store: celebapp.myshopify.com

Private App: celebapp

Thank You,

Jay

BIg_Earl
Visitor
1 0 0

Dima:

Can you perhaps give us some other way to request permissions being reset? We're building an app and would prefer to keep our store URL outside of this public forum until we're ready to go live.

Maybe there's a generic support email we can use? This is important as this undocumented permissions issue has been happening for over six months, and we still can't complete a checkout.

Thanks!

jayavardhan_b_n
Shopify Partner
4 0 0

DIma,

Please provide an fix for this issues. What permissions needs to be updated?

jayavardhan_b_n
Shopify Partner
4 0 0

Hi Dima,

Any update on the requested fix? We are planning for a release to the client & then to the store.

Regards,

Jay

Dima_Bart
Shopify Staff (Retired)
74 0 8

jayavardhan, your permissions have been updated.

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

Dima_Bart
Shopify Staff (Retired)
74 0 8

BIg Earl, you can send me a direct email if you prefer. Use my full name as it appears in this forum separated by a period, @shopify.com.

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

Krist_A
Visitor
2 0 0

Hi Dima,

I'm also facing the same issue with checkoutCompleteWithCreditCard. Can you please update the app permission?

Store: dark-angel-survival.myshopify.com

Private App: sascheckout

Thank You,

Krist

Krist_A
Visitor
2 0 0

Hi Dima,

Just wanted to follow up to see if you saw my post.

ARUN15
Shopify Partner
1 0 0

Hi Dima. i have the same issue. can you please update my permission as well.

Store: sona-94.myshopify.com

Private app: Roost App

Craig6
Tourist
11 0 1

Hey Dima,

Can you update permissions for the following sites:

graupel-prod.myshopify.com
private app: graupel-ecommerce

graupel-stage.myshopify.com
private app: graupel-ecommerce

Thanks,

Craig

Dima_Bart
Shopify Staff (Retired)
74 0 8

Krist and Craig, I've updated your permissions. Arun, your store seems to be closed. You'll need to select a plan to continue. Ping me again here once everything is sorted and I'll updated your stores permissions.

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

Dev_2ezasia
Shopify Partner
13 0 0

Hey Dima,

Can you update permissions for the following sites:

mi-o-singapore.myshopify.com

Private App : Mobile App

Thanks,

Dev 2ezasia

Dev_2ezasia
Shopify Partner
13 0 0

hey Dima,

Waiting For your reply 

Thanks,

Dev 2ezasia

 

DigitalSuit
Visitor
2 0 0

hi Dima,
Can you update permissions for my test store? 
store: test-recharge.myshopify.com
app: Preorder

alberto1
New Member
7 0 0

Hello Dima,

Could you please update permissions for the following stores?

24-kts.myshopify.com

theapplyshop.myshopify.com

Thanks!

Dima_Bart
Shopify Staff (Retired)
74 0 8

Hey guys, permissions have been updated for Dev 2ezasiaDigitalSuit, and alberto.

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

Makifake
Visitor
2 0 0

Hi Dima,

Could you update our test site http://makifake.myshopify.com/ and our private app makifake-ios ?

Thank you Dima.

DigitalSuit
Visitor
2 0 0

hi Dima,
Can you update permissions for another test store? 
store: thinkpreorder.myshopify.com
app: Preorder

Q_2
Shopify Partner
32 0 7

I'm also facing the same issue. Can you please update the app permission?

Store: proj-buttonedup.myshopify.com

Private App: Buttonedup

alberto1
New Member
7 0 0

Hello Dima,

Could you please update permissions for this store?

wonderful-places.myshopify.com

Thanks!

Brent_W
Visitor
1 0 0

Hello Dima,

Could you please update permissions for this store?

Store URL: fazab.myshopify.com
App name: Dealflip iOS app

Thank you!

Dima_Bart
Shopify Staff (Retired)
74 0 8

Brent, permissions updated. Alberto, I'll need the name of your private app.

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

alberto1
New Member
7 0 0

Here it is Dima:

Store URL: wonderful-places.myshopify.com

App name: Wonderful Places

Thanks!

Colton_Brown
Visitor
1 0 0

Hey Dima, I'm having the same issue.

My store is oootraveling.myshopify.com

I'm using the private app ootraveling-api for custom checkout.

Thanks!

Dima_Bart
Shopify Staff (Retired)
74 0 8

Colton & alberto, permissions have been updated.

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

DevTest
Shopify Partner
4 0 0

Hi, I am also getting the error on mobile buy iOS SDK. Please help.

QueryError : "CheckoutCompleteWithCreditCard access denied"

 

my info is:
store url
acocitest.myshopify.com

 

app name:
acoci_test

zac8
Shopify Partner
21 0 1

Hello Dima, 

I was told to post here to get my permissions updated.

Please update the permissions for the app: 'Drobile - Native iOS and Android App Maker'

I sincerely hope this will work for all subsequent stores that will be using our application via the StoreFrontAccess Token.

Thank you

Dima_Bart
Shopify Staff (Retired)
74 0 8

DevTest and zac, your permissions have been updated.

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

Dang
Shopify Partner
3 0 0

Hello Dima Bart,

Please update my permissions https://beostore.myshopify.com/

Thanks.

Mahesh9
Shopify Partner
4 0 0

Hello Dima,

We are getting same error - 

QueryError : "CheckoutCompleteWithCreditCard access denied"

We are developing iphone app for the site https://poshpickle.com/ using iOS SDK.

Would you please advise.

 

Thanks

 

Mahesh

Anurag6
Tourist
9 0 3

Hello Dima, 

I am get the same CheckoutCompleteWithCreditCard access denied while Using Buy Sdk for iOS.

My site is https://retailreco.myshopify.com please set the permission in this and can we set this permission by ourself? if yes please explain.

Thanks,

Anurag

Dima_Bart
Shopify Staff (Retired)
74 0 8

Please provide the name of your private app if you'd like your permissions updated.

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

Mahesh9
Shopify Partner
4 0 0

Hello Dima,

We are developing Iphone app for the site https://poshpickle.com using iOS SDK.

App is yet to upload on iTunes.

It will be shopping app for our site https://poshpickle.com

Please advise,

Thanks

 

Mahesh

 

 

 

Dima_Bart
Shopify Staff (Retired)
74 0 8

"private app" the is a Shopify private app that hosts the API key that you use on the client. Permissions are granted on a per-app basis so I need to know the name of your "private app". You can find private apps in your Shopify Admin, under Apps > Private apps.

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