parmsang / gatsby-starter-ecommerce

Gatsby starter for creating an eCommerce site using the Moltin eCommerce Api
https://parmsang.github.io/gatsby-starter-ecommerce/
Other
504 stars 148 forks source link

Stripe react elements #24

Closed marquez138 closed 5 years ago

marquez138 commented 5 years ago

Hi i was hoping to use stripes react elements to change the checkout flow and style similar to moltins demo here. I was hoping you could point me in the right direction as to which files i needed to edit or replace in order to add to this current project. Any help would be greatly appreciated. Thanks again

parmsang commented 5 years ago

Hi - apologises for the delay responding, I recently returned from a holiday. I just updated the code to use the new Moltin datasource, as previously discussed here. This fixes a number of outstanding issues. You have linked this store, but I think you meant this demo. It uses react-stripe-elements and is used in conjunction with gatsby-plugin-stripe. Key files to update are wrap-with-provider and CartSummary. Pull requests are welcome....or I may update to use stripes react elements next weekend when I should have more free time.

parmsang commented 5 years ago

There has been no further update on this issue so I'm going to close it. I had a look at react-stripe-elements, and while it is excellent, I'm reluctant to use it for this starter . I'd like to keep the starter as simple as possible, where it serves as a springboard for users to add additional functionality/complexity, such as react-stripe-elements.