TechBuzzPro

How to Add Apple Pay Donate Button on Medium

· 6 min read · Apps & Browsers

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Adding an Apple Pay donate button to your Medium articles lets readers support your work with a single tap, using the payment method already stored on their iPhone, iPad, or Mac. This guide walks you through the two main approaches: embedding a Stripe payment link (Apple Pay is enabled by default in Stripe Checkout) or using a third-party donation service that supports Apple Pay. You'll need a Stripe account (or a compatible donation platform), a Medium account with a custom domain or the ability to embed external links, and a basic understanding of HTML if you choose the embed route.

What You'll Need

  • A Medium account (free or Partner Program)
  • A Stripe account (stripe.com) – free to create, pay-per-transaction
  • A product or donation link created in Stripe (or a donation platform like Ko-fi, Buy Me a Coffee, or PayPal that supports Apple Pay)
  • Access to your Medium article editor (web or app)
  • Optional: a custom domain for Medium (needed for some embed methods)

Step-by-Step

  1. Create a Stripe Payment Link (if using Stripe): Log in to your Stripe Dashboard. Go to Payment Links (under Products or More). Click Create Payment Link. If you don't have a product yet, create one: set a name like "Donation", a price (e.g., $5), and choose "One-time" pricing. For donations, you can also set a custom amount – Stripe allows this by enabling "Allow customers to set their own price" in the payment link settings. After configuring, click Create Link. Stripe automatically enables Apple Pay for all payment links (as long as the customer uses Safari or a compatible browser). Copy the resulting URL (e.g., https://buy.stripe.com/...).
  2. Alternatively, set up a donation platform: If you prefer not to use Stripe directly, sign up for a service like Ko-fi, Buy Me a Coffee, or PayPal. These platforms generate a donation link or button that often supports Apple Pay (check the platform's documentation). For example, Ko-fi provides a direct link like https://ko-fi.com/yourusername. Copy that URL.
  3. Open your Medium article editor: Go to medium.com, click your profile picture, and select New Story. Or edit an existing draft.
  4. Insert the donate button as a link: In the editor, highlight the text you want to turn into a button (e.g., "Support Me") or create a new line. Click the link icon (chain link) in the toolbar. Paste the Stripe payment link or donation platform URL into the field. Press Enter. This creates a hyperlink – not yet a button.
  5. Make it look like a button (optional but recommended): Medium doesn't have a native button block. To create a visual button, you can use an image with a hyperlink: Create an image in any editor (like Canva) with text like "Donate with Apple Pay". Upload it to Medium by clicking the + icon and selecting Image. Then click the image, select the link icon, and paste the same donation URL. This makes the image clickable.
  6. Embed a Stripe Payment Link (advanced): Stripe Payment Links can be embedded as an iframe in Medium using the Embed feature. Copy the payment link URL. In Medium, click the + icon, choose Embed, and paste the URL. Medium will try to fetch a preview – if it doesn't work, you can paste the raw URL as an iframe by selecting Custom and entering an HTML snippet. However, Medium's editor doesn't allow arbitrary HTML, so this method is limited. A simpler alternative is to use a service like Stripe Checkout directly in a custom HTML block – but Medium doesn't support custom HTML blocks in standard articles. Therefore, the hyperlink/image method is the most reliable.
  7. Test the button: After publishing, click the button to ensure it opens the payment page. On an iPhone, open the link in Safari – you should see the Apple Pay option. If not, the customer may need to use a different browser or have Apple Pay set up.
  8. Publish your article: Once the button works, publish your story. You can also add the button to your Medium profile's About section or a featured story.

Common Mistakes

  • Forgetting to enable Apple Pay in Stripe: Apple Pay is automatically enabled for Stripe Checkout, but if you're using a custom integration, you must enable it in the Stripe Dashboard under Settings > Payment methods.
  • Using a browser that doesn't support Apple Pay: Apple Pay only works in Safari on Apple devices. If a reader uses Chrome on an Android phone, they won't see the Apple Pay option – they'll see a card payment form instead. That's fine, but don't expect Apple Pay for all visitors.
  • Linking to a product page instead of a payment link: If you link to a Stripe Product page, customers may not be able to donate directly. Always use a Payment Link URL.
  • Not testing on a real device: The button might look fine on desktop but break on mobile. Always test on an iPhone or iPad.
  • Using a non-secure URL: Ensure your donation link uses HTTPS. Medium automatically uses HTTPS, but if you paste an HTTP link, it may be blocked.

Tips

  • Place the button prominently: Put it at the beginning or end of your article, or both. Readers are more likely to donate when the call-to-action is visible without scrolling.
  • Use clear text: Write "Donate with Apple Pay" or "Support My Work" – avoid vague phrases like "Click here".
  • Set a suggested amount: In Stripe Payment Links, you can set a default amount (e.g., $5) but allow custom amounts. This increases the likelihood of donations.
  • Mention Apple Pay in your article: Tell readers that Apple Pay is accepted – this encourages iPhone users to donate.
  • Use a QR code for print: If you also share your article offline, generate a QR code that links to the payment page.

Troubleshooting

  • Apple Pay option doesn't appear: Ensure the customer is using Safari on an Apple device with Apple Pay set up (Wallet app). Also, check that your Stripe account is in a supported country and that you've completed verification.
  • The button doesn't open the payment page: Right-click the link and copy the URL – if it's broken, recreate the Stripe Payment Link. Also, ensure you didn't accidentally add a space or extra character.
  • Medium embed shows an error: If you tried to embed the payment link as iframe and it failed, fall back to the hyperlink method. Medium's embed feature doesn't support all URLs.
  • Donations aren't arriving: Check your Stripe Dashboard for successful payments. If the payment succeeds but you don't see it, ensure you're logged into the correct Stripe account.
  • Button looks ugly on mobile: Use a high-resolution image (e.g., 800x200 px) for the button image. Test on a small screen.

Frequently Asked Questions

Q: Do I need a custom domain to add an Apple Pay donate button on Medium?
A: No, a custom domain is not required. The hyperlink or image method works on any Medium article, regardless of domain.

Q: Can I accept donations without a Stripe account?
A: Yes, you can use platforms like Ko-fi, Buy Me a Coffee, or PayPal. However, not all of them support Apple Pay – check their documentation. Stripe is the most direct way to enable Apple Pay.

Q: Will Apple Pay work on Android devices?
A: No, Apple Pay is only available on Apple devices (iPhone, iPad, Mac). On Android, customers can still donate using a credit/debit card via Stripe Checkout.

Q: Does Medium take a cut of donations?
A: Medium itself does not take a cut of donations made through external links. However, Stripe charges a processing fee (typically 2.9% + 30¢ per transaction).

Q: Can I add multiple donation buttons for different amounts?
A: Yes, you can create multiple Stripe Payment Links with different amounts (e.g., $5, $10, $25) and add separate buttons or a list of links.

Q: Is there a way to embed the Apple Pay button directly into the article without an image?
A: Medium doesn't support custom HTML, so you can't embed a native Apple Pay button. The image-with-link method is the closest workaround.