Get Used Payment Method

I am using customer-ui-extension, i want to get used payment method during the order completion. useSelectedPaymentOptions api is not working on custommer ui extension. How can i get this ?

Hii @Shopify_Partner,

Thanks for the suggestion, but the requirement is to get the payment method on customer ui extension only.

hii @Mayank7845

useSelectedPaymentOptionsdoes not work in Customer UI Extensions it’s only supported in Checkout UI Extensions.

In Customer UI Extensions, Shopify does not expose the selected payment method at order completion for securityprivacy reasons. There is currently no API to read the used payment method in this extension type.

Workarounds

If you need payment info use a Checkout UI Extension instead
Or fetch payment details after order creationvia Admin API / webhooks (e.g. orders paid.

Thanks