Skip to content

Commit

Permalink
ADYEN-406 - fix README.MD file
Browse files Browse the repository at this point in the history
  • Loading branch information
jluisalias-e2y committed Jul 6, 2023
1 parent e67a33f commit 29aa584
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
This plugin supports SAP Commerce (Hybris) versions 6.x

The plugin is using following adyen libraries and API.
- [adyen-java-api-library](https://github.com/Adyen/adyen-java-api-library) (v14.0.0)
- [adyen-web](https://github.com/Adyen/adyen-web) (v4.3.1)
- [Adyen Checkout API](https://docs.adyen.com/api-explorer/) (v67)
- [adyen-java-api-library](https://github.com/Adyen/adyen-java-api-library) (v18.1.3)
- [adyen-web](https://github.com/Adyen/adyen-web) (v5.25.0)
- [Adyen Checkout API](https://docs.adyen.com/api-explorer/) (v69)

## Integration

Expand Down Expand Up @@ -184,6 +184,15 @@ adyen.samesitecookie.handler.enabled=true

For SAP Commerce versions 2005 and above, check how to use [SAP's SameSite Cookie Attribute Handler](https://help.sap.com/viewer/d0224eca81e249cb821f2cdf45a82ace/2005/en-US/bde41b6a42c541a08eb2a3b1993fb097.html).

## Amazon Pay configuration
To be able to complete payments in Amazon Pay, you must add your Amazon Pay private key to the following folder /adyen-hybris/adyenv6core/resources/certificates, and once done, set the correct PEM file name on /adyen-hybris/adyenv6core/src/com/adyen/v6/DefaultAdyenAmazonPayIntegratorService.java in the following line:
```
payConfiguration = new PayConfiguration()
.setPublicKeyId(amazonpayPublicKey)
.setRegion(Region.valueOf(amazonpayRegion.getCode()))
---> .setPrivateKey(new String(Files.readAllBytes(ResourceUtils.getFile("classpath:certificates/amazonpay/YourCertificateName.pem").toPath())).toCharArray())
```

## Documentation
https://github.com/Adyen/adyen-hybris/wiki

Expand Down

0 comments on commit 29aa584

Please sign in to comment.