diff --git a/README.md b/README.md index 45eca1f..6e9561d 100644 --- a/README.md +++ b/README.md @@ -25,16 +25,19 @@ pnpm dev ## Using with other environments -1. Make sure you added deployment URL to allowed client hosts in Adyen app configuration & Adyen Dashboard -2. Check url structure below on how to supply your own data: - - `/env//checkout//` goes to details of checkout (shipping & billing sections) - - `/env//checkout//payment-gateway` allows you to select payment gateway - - `/env//checkout//payment-gateway/` renders Adyen drop-in component - - `/env//checkout//payment-gateway//summary` shows checkout summary and allows to create an order +Make sure you added deployment URL to `allowed client hosts` in Adyen app configuration & Adyen Dashboard -Variables used in point 2: +Check table below with possible URL paths and how you can supply your own data: + +| Path | Location | +| ---------------------------------------------------------------------------- | ---------------------------------------------------- | +| `/env//checkout//` | Details of checkout (shipping & billing sections) | +| `/env//checkout//payment-gateway/` | Allows you to select payment gateway | +| `/env//checkout//payment-gateway//` | Renders Adyen drop-in component | +| `/env//checkout//payment-gateway//summary` | Shows checkout summary and allows to create an order | + +Variables used in table: -- `BASE_URL` is deployment or your local url e.g localhost:3000 - `ENV_UR` is encoded url to your environment (must end with `/graphql/`) - `CHECKOUT_ID` is id of checkout you want to use - `GATEWAY_ID` is id of Adyen app e.g app.saleor.adyen