Skip to content

Commit

Permalink
Merge pull request #64 from commercelayer/update_readme
Browse files Browse the repository at this point in the history
Update README with express payments
  • Loading branch information
gciotola authored Feb 7, 2024
2 parents a4e7d87 + 15ca37a commit b5655f9
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion packages/cart/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

The Commerce Layer Cart application (React) provides you with a production-ready shopping cart powered by Commerce Layer APIs. You can fork this repository and deploy it to any hosting service or use it as a reference application to build your own. A hosted version is also available.

![Commerce Layer Cart demo](https://user-images.githubusercontent.com/30926550/207573087-39ed2ad5-1ab6-49ef-9bb5-013452b06d7f.png)
![Commerce Layer Cart demo](https://github.com/commercelayer/mfe-cart/assets/55532244/aae6ac71-f37d-40c5-9c6b-30fa3dc8a262)

## What is Commerce Layer?

Expand All @@ -13,6 +13,7 @@ The Commerce Layer Cart application (React) provides you with a production-ready
- [Getting started](#getting-started)
- [Hosted version](#hosted-version)
- [Embedding the cart](#embedding-the-cart)
- [Express checkout](#express-checkout)
- [Contributors guide](#contributors-guide)
- [Running on Windows](#running-on-windows)
- [Help and support](#need-help)
Expand Down Expand Up @@ -75,6 +76,10 @@ The cart can be embedded in your application or website by loading the hosted UR

> You can either set your iFrame to a fixed height or keep it responsive using the [iFrame Resizer](https://github.com/davidjbradshaw/iframe-resizer) library — the Cart app already includes the `iframeResizer.contentWindow` scripts, so you only need to add it to your parent app.
## Express checkout

The cart supports express checkout buttons for both Apple Pay and Google Pay via Stripe. To enable this feature, you need to activate the `auto_payments` option on your Commerce Layer [Stripe gateway](https://docs.commercelayer.io/core/v/api-reference/stripe_gateways) and configure the necessary settings in your Stripe dashboard.

## Contributors guide

1. Fork [this repository](https://github.com/commercelayer/mfe-cart) (you can learn how to do this [here](https://help.github.com/articles/fork-a-repo)).
Expand Down

0 comments on commit b5655f9

Please sign in to comment.