ShopPay with ajax cart API

I have a site where the products are dynamic so the pages and product variant options are changed using Javascript (React) based on user selections. Due to the dynamic nature of this site, I am using the ajax Cart API.

Is it possible to use ShopPay with the Cart API? Since I am not using the standard form to add a product to the cart, I cannot find any documentation on integration ShopPay with the Cart API.

Looking for any guidance/pointers to what I may be missing.

Thanks!

Are you seeing it not work? I could understand if there’s a buy now button on a page, but for a normal cart/checkout flow it won’t effect that. As long as it’s in the cart those products will appear in the shop pay flow. The AJAX api is still part of the normal storefront and processed just like a form based add to cart.

If you’re seeing something different please consider posting a link to your shop with some replication steps.

Got it. I see the option in the checkout. I didn’t realize that it could be used from there and thought it had to be triggered when adding to the cart. Thanks for the clarificatio.