Why isn't my dynamic payment button appearing on my product page?

Hi

Sorry for my poor English. I have problem with dynamic payment button. There used to be dynamic ayment button in my product page. But it is not showing now.

I checked HTML code, the button class always ends with [shopify-payment-button__button–hidden] and contains these attributes [disabled=“disabled”] [aria-hidden=“true”].

Please check attached images.

截屏2021-05-10 下午2.47.25.png

It seems like Shopify detects user’s payment preference to determine show it or not, but I’d like to show the button all the time.

Could someone please tell me how to configure it? Thanks a lot.

@yozora5

https://help.shopify.com/en/manual/online-store/dynamic-checkout/add-buttons

https://help.shopify.com/en/manual/online-store/dynamic-checkout

@KetanKumar

Thank you for your reply.

I have already added dynamic button to my store, but it is not showing. I wonder what caused it not showing.

Could you please tell me how to show the button? Thank you.

{% if settings.payment_button_enable %}
                        

                          {% form 'product', product, class:form_classes, novalidate: 'novalidate', data-product-form: '' %}
                          {{ form | payment_button }}
                          {% endform %}
                        

                      {% endif %}

Thank you for your reply,

this is the original code of my theme.

I tried to make change like this, but it still not working.

Could you please check this. Thanks a lot.

@yozora5

are you check on your theme customization option

Yes, I also selected show dynamic payment button in my theme settings.

@yozora5

Sorry you are facing this issue, it would be my pleasure to help you.

Welcome to the Shopify community! :blush:
Thanks for your good question.

Please share your site URL,
I will check out the issue and provide you a solution here.