Dynamic payment button not showing

yozora5
Tourist
4 0 3

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截屏2021-05-10 下午2.47.55.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.

KetanKumar
Shopify Partner
18896 1985 6993

@yozora5 

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

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

 

If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help
Shopify Expert | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
0 Likes
yozora5
Tourist
4 0 3

@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.

0 Likes
nhanhgon
Tourist
3 0 0
{% if settings.payment_button_enable %}
                        <div class="product-form__item product-form__item--checkout">
                          {% form 'product', product, class:form_classes, novalidate: 'novalidate', data-product-form: '' %}
                          {{ form | payment_button }}
                          {% endform %}
                        </div>
                      {% endif %}
Skype: coi.vn | Email: noit@yahoo.com
0 Likes
yozora5
Tourist
4 0 3

Thank you for your reply,

this is the original code of my theme.

original version.png

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

 changed version.png

Could you please check this. Thanks a lot.

KetanKumar
Shopify Partner
18896 1985 6993

@yozora5 

are you check on your theme customization option 

If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help
Shopify Expert | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
0 Likes
yozora5
Tourist
4 0 3

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

KetanKumar
Shopify Partner
18896 1985 6993

@yozora5 

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

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

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

If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help
Shopify Expert | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
0 Likes