Skip to content

Commit

Permalink
Merge pull request #790 from saleor/update-adyne
Browse files Browse the repository at this point in the history
Update Adyen page
  • Loading branch information
timuric committed Jun 3, 2023
2 parents 19112ca + 21b89a1 commit 1bb4092
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/developer/app-store/apps/adyen.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Adyen App follows the flow described in detail in the [Saleor Payment App docume

## Configuration

For Adyen to appear as [available payment gateway](../../checkout/finalizing#listing-available-payment-gateways), you need to [install it in the Saleor Dashboard](../overview#usage). You need to obtain the API key from Adyen and paste it into the Adyen App configuration form. Then, a wizard will guide you through the process of configuring the Adyen App, setting up the webhook to receive notifications from Adyen, generating the HMAC key, and adding allowed origins for the Client Key that's used on your Storefront.
For Adyen to appear as [available payment gateway](../../checkout/finalizing#listing-available-payment-gateways), you need to [install it in the Saleor Dashboard](../overview#usage). You must obtain the API key from Adyen and paste it into the Adyen App configuration form. Then, a wizard will guide you through the process of configuring the Adyen App, setting up the webhook to receive notifications from Adyen, generating the HMAC key, and adding allowed origins for the Client Key that's used on your Storefront.

## Usage in Storefront or mobile apps

Expand All @@ -52,7 +52,7 @@ import GitHubLogo from "./adyen-web-drop-in.png";

### Getting payment gateways

The first step is to fetch the Checkout object including [`availablePaymentGateways`](../../../api-reference/checkout/objects/checkout#code-style-fontweight-normal-checkoutbavailablepaymentgatewaysbcodepaymentgateway---) field. The `availablePaymentGateways` field contains a list of payment gateways available for given checkout. The Adyen App should be one of the payment gateways available in the list. Its `id` is [`app.saleor.adyen`](https://github.com/saleor/saleor-app-payment-adyen/blob/canary/src/pages/api/manifest.ts#L15) - defined in app's manifest.
The first step is to fetch the Checkout object including [`availablePaymentGateways`](../../../api-reference/checkout/objects/checkout#code-style-fontweight-normal-checkoutbavailablepaymentgatewaysbcodepaymentgateway---) field. The `availablePaymentGateways` field contains a list of payment gateways available for given checkout. The Adyen App should be one of the payment gateways available in the list. Its `id` is [`app.saleor.adyen`](https://adyen.saleor.app/api/manifest) - defined in app's manifest.

```graphql
query {
Expand Down

1 comment on commit 1bb4092

@vercel
Copy link

@vercel vercel bot commented on 1bb4092 Jun 3, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.