BUG: Access denied calling checkoutCompleteWithCreditCard from android App

Highlighted
New Member
2 0 0

Access denied calling checkoutCompleteWithCreditCard from android App

https://help.shopify.com/en/api/storefront-api/reference/mutation/checkoutcompletewithcreditcardv2

0 Likes
Highlighted
Shopify Staff
Shopify Staff
1041 140 166

Hey @Ansam,

 

Are you able to provide a request ID from the response headers?

0 Likes
Highlighted
New Member
2 0 0
Hi @SBD_ 

X-Request-ID : ee86cab3-c68a-40ac-964d-a000673c52a4
 
0 Likes
Highlighted
Shopify Staff
Shopify Staff
1041 140 166

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.

0 Likes
Highlighted
Tourist
13 0 1

@SBD_ I'm also encountering this issue (CheckoutCompleteWithCreditCard access denied). How can I request the payment processing?

0 Likes
Highlighted
Highlighted
Tourist
13 0 1

@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?

0 Likes
Highlighted
New Member
3 0 0

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.Screenshot 2020-07-09 at 1.00.51 PM.png

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.

0 Likes