Have your say in Community Polls: What was/is your greatest motivation to start your own business?

Why isn't Apple Pay available at checkout on my website?

Why isn't Apple Pay available at checkout on my website?

prettymagnifiqu
Visitor
3 0 0

Hi,

My website is nearly ready to launch but when testing I have found a problem with Apple Pay. It is available in my shop to pay for items if you buy it straight from an item's page. But if you want to use a discount code and go through to the cart and then checkout, there isn't an option to pay by Apple Pay at the end, only card or Paypal. I have followed instructions on the Shopify Help pages, but it doesn't resolve the problem. I have found similar threads on here with the same problem, but it doesn't seem to have been resolved, and they are all dated in the last couple of years. So I would like some up to date advice on this issue, and if anyone has managed to get round it and have Apple Pay as an option on the checkout page?

Thank you

Replies 2 (2)

Miles
Shopify Staff (Retired)
480 68 166

Hi, @prettymagnifiqu!

I'm Miles from the Social Care team at Shopify. Your customers can use discount codes with Apple Pay only if they enter a discount code on the checkout page before clicking the Apple Pay button. If you show the Apple Pay button on the cart page, then your customers can't go to the checkout page to enter a discount code. To make sure your customers can use discount codes with Apple Pay, you need to show the Apple Pay button on the checkout page.

I'll explain below how you can achieve this, but please note this does require you to edit your stores' code. If you're not comfortable with coding and you're using a free theme from Shopify, then our Support team might be able to help you with this tutorial. Although Shopify can help you with many customizations, some kinds of customizations aren't supported.

If you're using a paid theme, then your theme was made by a third-party developer and Shopify's Support team can't help you with it. If you need help customizing a paid theme, then consider hiring a Shopify Expert. Similar to free themes, some kinds of customizations aren't supported because of limitations associated with the theme or Shopify admin.

Learn more about support for themes.

If you want the additional checkout buttons to show up on the checkout page, then you'll have to remove the buttons from your cart page. To remove the additional checkout buttons from your cart page:

  1. From your Shopify admin, go to Online Store > Themes.
  2. Find the theme you want to edit, and then click Actions > Edit code.
  3. In the Sections folder, click cart-template.liquid. If your theme doesn’t have a cart-template.liquid, then click cart.liquid in the Templates folder.
  4. Find the following code and delete it: 
    {% if additional_checkout_buttons %}
    <div class="additional-checkout-buttons">
    {{ content_for_additional_checkout_buttons }}
    </div>
    {% endif %}
  5. Click Save to save your changes to the file.

The additional checkout buttons now appear on the checkout page instead of the cart page.

From there, your customers can choose Apple Pay at the checkout and enter their discount codes.

To learn more visit the Shopify Help Center or the Community Blog.

FivePlusTax
Visitor
3 0 0

hmm I altered the code as suggested and poof...now they're gone entirely. lol  So this definitely didn't work for me.