Home Blog FAQ Contact API documentation

Accept Apple Pay and Google Pay on Your Website: Full Guide

Want to accept Apple Pay and Google Pay on your website? See how mobile wallets work, what you need, and how to add them in minutes with a hosted checkout.

Payments By the VelyoPay team 6 min read
A smartphone showing a one-tap payment with a card and coins floating around it

More and more shoppers reach your store from a phone, and almost none of them enjoy typing a 16-digit card number on a small screen. Mobile wallets fix that. With one tap and a fingerprint or face scan, the payment is done.

If you want to accept Apple Pay and Google Pay on your website, you have two paths: build the integration yourself, or use a payment gateway with a hosted checkout that already supports both wallets. This guide explains how the wallets work, what each path requires, and how to go live quickly.

Why mobile wallets matter for your checkout

A checkout form is where many sales are lost. Every extra field is a chance for the buyer to give up, mistype or go back to social media. Wallets remove most of that work.

  • Speed. Card details, and often the billing address, are already stored on the device.
  • Fewer errors. No typos in card numbers or expiry dates, so fewer declined payments.
  • Security. The real card number is not shared with the merchant. The wallet sends a device-specific token and a one-time cryptogram, and the buyer confirms with Face ID, Touch ID, a fingerprint or a PIN.
  • Trust. Shoppers recognise the Apple Pay and Google Pay buttons, which reassures first-time visitors who do not know your brand yet.

How Apple Pay and Google Pay work on the web

Both wallets sit on top of the customer's existing cards. The payment still travels over the card networks; the wallet simply handles authentication and tokenisation.

Apple Pay Google Pay
Where it shows up Safari and supported browsers on iPhone, iPad and Mac Chrome and other supported browsers on Android and desktop
How the buyer confirms Face ID, Touch ID or device passcode Fingerprint, screen lock or Google account
What the merchant receives A token and cryptogram, not the card number A token, not the card number
What it costs the merchant Usually the same pricing as a card payment with your provider Usually the same pricing as a card payment with your provider

One practical point: the wallet button only appears when the visitor's device and browser support it and they have a card saved. Everyone else should still see a regular card form, so never remove your standard card option.

Path 1: build the integration yourself

Developers can add wallets directly with the Apple Pay JS API, the Payment Request API or the Google Pay API. It is doable, but it takes real work:

  • An HTTPS site with a valid certificate.
  • An Apple developer account, a merchant identifier, a payment processing certificate and domain verification for every domain that shows the button.
  • A Google Pay business profile and integration review.
  • A payment processor that can decrypt and charge the wallet tokens.
  • Front-end code for the buttons, fallbacks for unsupported browsers, and testing on several devices.

This path makes sense for large teams that want full control of the design. For most small and mid-sized businesses, it is weeks of effort for a feature that a gateway can provide out of the box.

Path 2: use a hosted checkout that includes the wallets

With a hosted checkout, your customer is sent to a secure payment page that already offers cards, Apple Pay and Google Pay. The gateway takes care of the wallet setup, and you only need to create the payment and handle the result.

Here is how it works with VelyoPay:

  1. Create an account. Sign up at velyopay.com/register. There is no KYC: the account is active right away, without identity documents.
  2. Create a payment. Use a payment link from your dashboard, or call the REST API: POST /v1/payments returns a checkout_url.
  3. Redirect the buyer. Send the customer to the checkout_url. The hosted page shows Apple Pay and Google Pay when their device supports it, along with cards and crypto.
  4. Confirm the order with a webhook. VelyoPay sends a signed webhook with a VelyoPay-Signature header (HMAC-SHA256). Verify it on your server before delivering the order, and rely on automatic retries if your server was briefly unavailable.
  5. Receive your payout. You are paid in USDC on the Polygon network, directly to your own wallet. Timing depends on the payment provider and network confirmations.

A minimal request looks like this:

curl https://api.velyopay.com/v1/payments \
  -H "Authorization: Bearer vp_live_..." \
  -H "Content-Type: application/json" \
  -d '{"amount": 49, "currency": "USD", "reference": "ORDER-1042", "return_url": "https://myshop.com/thanks"}'

If you only want to offer one wallet for a given payment, the optional provider parameter accepts values such as applepay or googlepay. Check every parameter in the API documentation before going to production.

Tips to get the most out of wallets

  • Test on real devices. Try an iPhone with Safari and an Android phone with Chrome, with a card saved in each wallet.
  • Keep the checkout short. Do not ask for information you do not need before the payment step.
  • Show the logos early. Displaying wallet logos on product and cart pages tells mobile visitors that checkout will be quick.
  • Speak your customer's language. The VelyoPay checkout is available in English, French, Spanish, Arabic, Portuguese, Russian and Turkish.
  • Do not rely on the redirect alone. Always confirm a payment through the signed webhook, not just because the buyer came back to your thank-you page.

FAQ

Do I need an Apple developer account to accept Apple Pay?

Only if you build the integration yourself. With a hosted checkout such as VelyoPay, the wallet runs on the payment page, so you do not need to manage Apple certificates or wallet code.

Does Apple Pay or Google Pay cost more than a card payment?

Apple and Google do not usually charge merchants a separate fee per online payment; you pay your gateway's pricing. With VelyoPay that is 5.99% per successful transaction, with no setup or monthly fee. Payment providers or networks may add their own fee.

Can customers dispute a wallet payment?

Yes. A wallet payment is a card payment, so the cardholder can still contact their card issuer. Wallet authentication helps against stolen cards, but good service matters too. See our guide on how to prevent chargebacks.

Will the buttons show on every browser?

No. They appear only on supported devices and browsers where the customer has a card saved. Others see the regular card form.

Add one-tap payments today

Mobile wallets are one of the simplest ways to make checkout faster and more reassuring. With VelyoPay you get cards, Apple Pay, Google Pay and crypto on one hosted page, without paperwork. Create your free account and start accepting payments in minutes, or browse the FAQ first.

All articles

Ready to accept payments?

Create your account in one minute: no KYC, no setup fee, no monthly fee. 5.99% per successful transaction.

Create a free account