# Apple Pay button not rendering

**URL:** <https://developer.squareup.com/forums/t/apple-pay-button-not-rendering/7881>\
**Category:** Questions\
**Tags:** payments-api\
**Created:** [December 8, 2022, 9:25pm UTC](https://developer.squareup.com/forums/t/apple-pay-button-not-rendering/7881 "2022-12-08T21:25:35Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Richard](https://avatars.discourse-cdn.com/v4/letter/r/f0a364/32.png) [@Richard](https://developer.squareup.com/forums/u/Richard)\
**Post date:** [December 8, 2022, 9:25pm UTC](https://developer.squareup.com/forums/t/apple-pay-button-not-rendering/7881/1 "2022-12-08T21:25:35Z")

</div>

I’ve downloaded the Square Connect API examples from GitHub. (From this url: [GitHub - square/connect-api-examples: Code samples demonstrating the functionality of the Square Connect API](https://github.com/square/connect-api-examples))

In playing with the csharp\_payment sample app, I noticed that the button for Apple Pay is defined in the HTML, but is not actually rendering:

```
  <div id="apple-pay-button" alt="apple-pay" type="button"></div>

```

Is there a fix?

---

<div class="post-metadata">

**Author:** ![Bryan-Square](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/bryan-square/32/38_2.png) [@Bryan-Square](https://developer.squareup.com/forums/u/Bryan-Square)\
**Post date:** [December 8, 2022, 11:20pm UTC](https://developer.squareup.com/forums/t/apple-pay-button-not-rendering/7881/2 "2022-12-08T23:20:11Z")

</div>

Are you in Safari and using a device that has Apple Pay on it? 🙂

---

<div class="post-metadata">

**Author:** ![Richard](https://avatars.discourse-cdn.com/v4/letter/r/f0a364/32.png) [@Richard](https://developer.squareup.com/forums/u/Richard)\
**Post date:** [December 29, 2022, 12:54am UTC](https://developer.squareup.com/forums/t/apple-pay-button-not-rendering/7881/3 "2022-12-29T00:54:27Z")

</div>

No. I’m developing on a Windows machine. Visual Studio defaults to using Microsoft Edge as the browser.

---

<div class="post-metadata">

**Author:** ![Bryan-Square](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/bryan-square/32/38_2.png) [@Bryan-Square](https://developer.squareup.com/forums/u/Bryan-Square)\
**Post date:** [December 29, 2022, 12:55am UTC](https://developer.squareup.com/forums/t/apple-pay-button-not-rendering/7881/4 "2022-12-29T00:55:59Z")

</div>

Okay, the button will only render in Safari on a device that has Apple pay enabled. 🙂

---

<div class="post-metadata">

**Author:** ![Richard](https://avatars.discourse-cdn.com/v4/letter/r/f0a364/32.png) [@Richard](https://developer.squareup.com/forums/u/Richard)\
**Post date:** [December 29, 2022, 10:05pm UTC](https://developer.squareup.com/forums/t/apple-pay-button-not-rendering/7881/5 "2022-12-29T22:05:21Z")

</div>

Thanks for the clarification on Apple Pay. I didn’t realized that it was so Apple-centric.
