It seems that you’re not able to use payment customizations with ShopPay according to our experience and this link:
https://shopify.dev/docs/api/functions/latest/payment-customization#shop-pay-integration
However this causes an issue in one of our apps logic, where other functions that are not supposed to run if a certain cart attribute is present, still end up running if the user comes back to the cart using an abandoned cart link.
Is there anyway to detect ShopPay in other functions other than shopify.dev/docs/api/functions/latest/cart-transform or is there anyway to make cart transform communicate to other functions that ShopPay is present?
We thought about showing an error in CartTransform telling the user to go back to store and coming back to cart, but I’m not sure if that’s the best solution, since it is quite confusing for users who already abandoned cart.