How-to
How to Add an Apple Wallet Button Easily
This page adds an Add to Apple Wallet badge. It does not switch the image to Google Wallet when the browser is Chrome. If the page should offer both wallets, use both badges and a desktop fallback.
The badge and the pass link
Copy the pass link from the pass you already created. The badge and the text fallback use that exact URL. Replace your-pass in the sample. Do not append a name, membership id, or order number.
An Apple badge asks an iPhone to add the pass. The link itself opens the share page, which can also offer Google Wallet. Use the Apple badge when this spot on the page is specifically for Apple Wallet. Use both badges when you do not know which phone the person has.
<p>
<a href="https://app.addtowallet.co/card/your-pass">
<img src="https://s3.amazonaws.com/i.addtowallet.co/assets/add_to_apple_wallet.png" alt="Add to Apple Wallet">
</a>
</p>
<p><a href="https://app.addtowallet.co/card/your-pass">Open the pass link</a></p>
Check on an iPhone, and leave a desktop path
- Open the page on an iPhone and activate Add to Apple Wallet.
- Wallet should offer to add the pass you issued. Confirm the pass name after it saves.
- On a desktop browser, use Open the pass link. The desktop page is the fallback. It is not a substitute for the iPhone check.
Follow Apple’s Add to Apple Wallet guidelines for the badge artwork. Create the pass with create an Apple Wallet pass.
See both wallet badges