Dedicated to the Hydrogen framework, headless commerce, and building custom storefronts using the Storefront API.
Access denied calling checkoutCompleteWithCreditCard from android App
https://help.shopify.com/en/api/storefront-api/reference/mutation/checkoutcompletewithcreditcardv2
Hey @Ansam,
Are you able to provide a request ID from the response headers?
Scott | Developer Advocate @ Shopify
Thanks @Ansam. Looks like a scope issue.
More info in the API checkout guide: to complete the checkout using the checkoutcompletewithtokenizedpaymentv2 mutation you need to have the write_checkouts_payments scope enabled for your app. The scope is enabled by requesting payment processing.
Scott | Developer Advocate @ Shopify
@SBD_ I'm also encountering this issue (CheckoutCompleteWithCreditCard access denied). How can I request the payment processing?
@Lucifer2 https://shopify.dev/tutorials/authenticate-a-public-app-with-oauth#request-payment-processing
Scott | Developer Advocate @ Shopify
@SBD_ oh I see that's a lot of work to do on our side... is there any shopify staff who can configure this for us?
I got permission for payment processing by filling out this form https://docs.google.com/forms/d/e/1FAIpQLSfaiwWJwTsMKKi6Sl-qfiLMwKRKyZ9TxBuutumkk6ThisFTUg/viewform. I'm still getting the “CheckoutCompleteWithCreditCardV2 access denied” error when I try to make a GraphQL query using mobileBuySDK. Our app is a sales channel and has access to Checkout API.
I'm using the card Vault https://github.com/Shopify/mobile-buy-sdk-ios/#card-vaulting- for generating the token and followed this process https://github.com/Shopify/mobile-buy-sdk-ios/#credit-card-checkout- to checkout using credit card. This is where I get the “CheckoutCompleteWithCreditCardV2 access denied” error. Can you let me know why this may be happening? or how can we make sure that write_checkouts_payments scope is enabled for our app ?
Any help would be appreciated. Thanks.