You need to be an administrator of your Oracle Commerce Cloud account to install the extension.
Before you begin
- Install Node.js on your machine (v.8.1.1 or later).
- Install NPM or Yarn.
Step 1: Set up the extension
To set up the extension in the Oracle Commerce Cloud, you need to:
Deploy the extension
To deploy the extension to Oracle Commerce Cloud:
- Download the latest extension release from GitHub or the Oracle Cloud Marketplace.
- Extract the downloaded .zip file on your machine.
In the scripts folder, open the occ.config file and fill in the following fields:
Field Value Username Your Oracle Commerce Cloud username. Password Your Oracle Commerce Cloud password. URL The web address of your Oracle Commerce Cloud admin site. Extension The name that will be given to the extension created in Oracle Commerce Cloud, for example, Adyen Payments Extension.
- Deploy the extension from your command line using the following commands:
$ cdextracted folder path
$ npm run deploy:server
$ npm run deploy:client
You will receive a message saying that the extension is installed.
Enable the extension
To enable the extension in Oracle Commerce Cloud administration area:
- Go to Settings > Payment Processing > Payment Gateways tab.
- Under Service Type, select Adyen.
- Select Enable Payment Gateway.
Step 2: Add the Adyen widget
To add the Adyen widget to your checkout pages in your Oracle Commerce Cloud:
- Go to Design.
- Select the Grid View button in the Checkout Page where you want to add the Adyen widget.
- Drag to place the Adyen widget where you want to show it.
- Select Create New Widget Instance and name it, for example, Adyen Checkout Widget.
- Select Save.
Update or re-install the extension
To update or re-install the extension, you need to first delete the existing extension from Oracle Commerce Cloud.
Make a copy of all your preferences since these will be lost after the extension is deleted
To delete the existing extension from Oracle Commerce Cloud:
- Go to Settings > Extensions and find the Adyen extension.
- Select Deactivate.
The deactivation may take a few minutes.
- After the extension is deactivated, select Delete.