I have my own React websites and using Shopify’s checkout process (integrate with Storefront cart api). I need to know exactly when a customer completes checkout so I can trigger API calls to my backend server for additional business logic.
Using the standard orders/create webhook is not suitable in my case because of my own bussiness logic in my app not allow to do it
I found that Shopify Checkout Kit seems like a good fit. However, I’m running into an issue:
-
When I open checkout in a popup or new tab, my website does not receive the
checkout:completeevent (exceptcheckout:close) -
I wann try the
inlinetarget instead, but it requires a JWT token for authentication:
https://shopify.dev/docs/storefronts/mobile/checkout-kit/web#authentication
But how can I obtain the client ID and client secret, which Shopify app or configuration provides these credentials
Additionally, if there are alternative solutions that would better fit this use case, I’d really appreciate hearing about them.
Thank u all!