Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README with express payments #64

Merged
merged 5 commits into from
Feb 7, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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