For discussing the development and usage of Checkout UI extensions, post-purchase extensions, web pixels, Customer Accounts UI extensions, and POS UI extensions
We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more
Hello Shopify!
I've noticed an issue on the checkout page. Using my extension we can change items in the cart, after this action there is a possibility that some payment methods are no longer available and there is an error message on the checkout page:
The requested payment method is not available.
It occurs when we have used some payment method, and after action fired by the extension this particular method disappears. New method is now available on the list and set by default which is perfectly fine, but error message looks like something went wrong. Good example is upsell from OTP to subscription:
1. Customer has OTP product in the cart.
2. Customer chooses non credit card payment method on the checkout page.
3. Then using extension cart item is converted into Subscription.
4. Non credit card payment method disappears, cc is only visible now and is selected (correct behavior), but error message is shown to the user.
Can you, please look into this issue?
Hi Greg,
Is this happening with all orders/ products or only if there is a subscription as part of the order?
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
Dear @Liam, subscription is just an example, easiest example, I guess. If we don't have subscription in the cart and e.g. want to use COD and then, using extension, cart item is converted into subscription then COD is not available as payment method and automatically credit card is selected which causes this error.
Any news @Liam ?