Discussing Shopify Functions development, deployment, and usage in Shopify apps.
Hello,
we want to setup a list of all available payments in our checkout functions app so we can sort them via drag and drop. Is there a opportunity to get a list of those payments? I only saw a react hook for the UI extensions but this is not available in the functions.
Hi Michelle,
From looking into this, it seems Shopify doesn't provide a direct API to fetch all the available payment methods within the checkout functions app. The payment methods are usually configured in the Shopify admin under Settings > Payments, and there is currently no API to access this information directly from within a checkout functions app.
I'll raise this as a feature request with our team though - thanks for highlighting this use case.
Liam | Developer Advocate @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog
Hey Liam,
thanks for replying. Please keep me posted if and when the feature will be implemented. Looking forward to it