swellstores / swell-js

JS library for building storefronts and checkouts with Swell ecommerce.
https://swell.is
MIT License
138 stars 29 forks source link

fix: rework Stripe Google Pay using the payment request button #154

Closed vstudenichnik-insoft closed 7 months ago

vstudenichnik-insoft commented 7 months ago

https://app.asana.com/0/1203838771973396/1205867429173200/f

Description

The current integration works directly with the Google Pay API. However, for some reason, the Google Pay API sometimes returns an error when clicking the pay button.

Therefore, it was decided to rework the Stripe Google Pay integration using the Stripe Payment Request Button. This provides the following benefits: