Hi,
what do you end it up with? you got it working with Stripe Intent API? or you still have to use old token API?
I am going to try it later with Stripe Intent. I think you may have misunderstood what they say:
it says to add the Stripe-Account header with the value of shopify_payments_account_id in the checkout object, and use my secret key from my stripe account but stripe won’t let me tokenize my credit card since my key doesn’t have access to the merchant’s account
I think this process is for shopify checkout using Stripe tokenization. So, you have to have a Stripe account, you save your customer credit card details into your Stripe account (as a customer). then when your customer buys something, then you use your customer’s credit card details (saved in your Stripe account) tokenization, and send to Shopify checkout. so Shopify will use the token to get the fund and complete the checkout process.
so, as long as you have a Stripe account, you will have secrets and you will have token (worse case, you can use old token service), and send to shopify checkout. when you create the token using Stripe token service, you need to pass the shopify_payments_account_id to it. so Shopify will know it when you send the token to Shopify.
hope it makes sense.
Although I have done it, I am sure I understand properly. so hopefully, it works.
In regards to using Stripe Intent, to be honest, I don’t know yet. because there is no documentation on Shopify to mention it. But Stripe keeps encouraging people to use Payment Intent. so I think it should work in theory. I actually got very close to it (I mean by reading lots of docs, not the implementation, I will do).
so, for Stripe Payment_Intent, you will do the ConfirmCardPayment in your app by end customers. it doesn’t use token at all for payment_intent. The only thing here I cannot understand is that stripe.ConfirmCardPayment will actually initiate the payment collecting process. In theory, Stripe would send the confirmation to Shopify under the hook. then the Shopify checkout is completed automatically. in this case, we don’t event need to call Shopify complete checkout endpoint because stripe.ConfirmCardPayment did the job.
But as I said, I am not 100% sure this because I cannot find anyone or any documentation to confirm this. but it is very close to the solution, just last mile.
Here is the link for using payment_intent:
https://stripe.com/docs/payments/payment-intents/migration
At last, we still can call Stripe token API to create the token and call Shopify checkout API to complete the checkout.
hope it helps someone to understand current case. Or someone from Shopify to confirm this please. I also checked the upcoming Shopify API release, it doesn’t mention anything regarding this. Because it is critical for me to develop the sales channel app using Stripe tokenizing credit card to complete Shopify checkout process. Thanks