Apple Pay button not rendering

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)

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?

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

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

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

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