Have your say in Community Polls: What was/is your greatest motivation to start your own business?
Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Get all payment methods in extensibility app

Get all payment methods in extensibility app

MichelleTQG
Shopify Partner
7 1 1

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.

Replies 2 (2)

Liam
Community Manager
3108 344 889

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

MichelleTQG
Shopify Partner
7 1 1

Hey Liam,

 

thanks for replying. Please keep me posted if and when the feature will be implemented. Looking forward to it