Hi, I am developing a mobile application with Qt that connects to the store of a client. As of today, I have finished every part of the mobile application except the checkout completition process. Because of client requirements, I cannot use the webUrl field. So I've tried two approaches:
However, the first approach failed and does not give me any error (more info in this post), and the second approach results with CheckoutCompleteWithCreditCardV2 access denied. Reading on the forums, I saw that I must convert my application into a sales channel. However, my client does not want for the application to be displayed publicly.
What can I do to allow users to complete checkouts directly from my private application?
Solved! Go to the solution
This is an accepted solution.
Hi @alex-spataru ,
As per our documentation (https://shopify.dev/docs/storefront-api/reference/mutation/checkoutcompletewithcreditcardv2?api[vers...), the Storefront API mutations of 'CheckoutCompleteWithCreditCardV2' requires your app to be approved by Shopify to handle payment processing, and in order to be approved by Shopify for this your app must first be a public Sales Channel that serves multiple merchants. These are the requirements. If your app doesn't meet this, then you should utilize the 'webUrl' field to complete the payment processing through the Shopify Checkout - that is the most secure, safest, and efficient option.
If your merchant is on the Shopify Plus plan, they can try maybe reaching out to their MSM for additional context or workarounds here. Otherwise, the 'webUrl' is your best option here.
Hassain | Developer Support Specialist @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Click Accept as Solution