Payment Request Button
Collect payment and address information from customers who use Apple Pay, Google Pay, Microsoft Pay, and the Payment Request API.
The Payment Request Button Element gives you a single integration for Apple Pay, Google Pay, Microsoft Pay, and the browser standard Payment Request API.
Prerequisites
Add a payment method to your browser.
Serve your application over HTTPS, both in development and production
For Apple Pay you will need to verify your domain, both in development and production
Please check all the information regarding prerequisites in the Stripe Payment Request Button site.
After that, you can use the built-in component. Here is a complete example:
Outputs
The component has a couple of Outputs you can subscribe. The ones in the example are the most important ones, but here is a complete list:
token
paymentMethod
cancel
shippingaddresschange
shippingoptionchange
notavailable
Last updated