Google & Apply Pay Element
How to create google pay, apple pay, microsoft pay by Payment-Request-Button
Prerequisites
For Google Chrome
- Chrome 61 or newer
- A saved payment card
For Chrome Mobile for Android
- Chrome 61 or newer
- An activated Google Pay card or a saved card
For Safari (test your's availability)
- iOS devices running iOS 11 or later
- Safari 11 on Mac devices running macOS 10.13 or later
- verified your domain with Apple Pay, tell Stripe to register your domain with Apple. You can do this by either going to the Apple Pay tab in the Account Settings of your Dashboard
Note: For apple domain association file, we don't need to download it manually, it's already done by our plugin.
Create Payment Button
After the below steps, it will show a payment(apple, google, microsoft..) button which depends on the customer browser availability.
- Config digital button element. In plugin admin page, Click Elements tab -> Create, then click 'Digital Wallet' category, then select 'Payment Request Button'. Then fill the fields and save it.

- Copy the shortcode. In Elements list, find the created element just now and copy short code.

- Paste the shortcode and explore it. Paste the short code anywhere in your pages and view the page.

Explore the button
If everything goes well, you should see:


If the browser doesn't meet above condition, then it will show an error message said not support.