Directory lookup bundle

You can call Adyen's directory to request the available payment methods and display them on your site without using Adyen's skin. For this, you require the following bundles:

SuiteCommerce Advanced Vinson (NetSuite ID: 134179)

 This module is available for NetSuite customers that have the SuiteCommerce Advanced module. This bundle is a pre-requisite if you plan on using the Adyen Directory Lookup for your SCA Checkout. Refer to NetSuite documentation for more information.

HPP is supported with Suite Commerce Advanced module.

Add the Adyen Directory Lookup Module to SCA Vinson

  1. Within the SCA Vinson Dev structure, locate the Modules folder and create the extensions subfolder in it.
  2. Copy the contents of folder "Adyen > SuitePayments > Directory Lookup Plugin > SuiteCommerce Advanced Vinson Release > Modules > extensions". This folder contains all the necessary files for the Directory Lookup Module.
  3. In order for SCA Vinson to load the custom module, make sure to modify distro.json located in the root folder of the dev environment:
    • Add "extensions/Adyen": "1.0" to the Modules section.
    • Add "OrderWizard.Module.PaymentMethod.Adyen" as a dependency for SC.Checkout.Starter.
    • Add "GlobalViews.FormatPaymentMethod.View.Ext" as a dependency for SC.Checkout.Starter.

Update Default JSON Configuration

Look for the adyen.config.json file inside the "Adyen@1.0 > Configuration" folder. Make sure to set the default value for the following options:

    • adyenApp.configRecord = internal id of the [ES] Adyen SuitePayment Main Config record id related to the Payment Processing Profile.
    • adyenApp.nsPayMeth = internal id of the NetSuite payment method that should act as the placeholder for Adyen Alternative Payments.
    • adyenApp.lookupURL = URL where the Directory Lookup call is made.

Recompile and Deploy SCA Vinson

  1. Using the SCA Vinson Dev Environment, initiate gulp deploy. This will recompile and deploy the bundle back into NetSuite. Refer to the SCA Vinson documentation for more information.
  2. Add additional library files to the SCA Vinson SSP.
  3. Open the Adyen → SuitePayments → 3rd Party Library folder and copy the following files:

    • Core-min.js
    • Cipher-core.js
    • Hmac-min.js
    • Sha256-min.js
    • Format-hex-min.js
    • Enc-base64-min.js
  4. Navigate to the SuiteCommerce Advanced – Dev Vinson SSP record and add these script files under the Scripts → Libraries subtab.

SiteBuilder Extension Vinson (NetSuite ID: 134180)

This module is available for NetSuite customers that have the SiteBuilder Advanced module. This bundle is a pre-requisite if you plan on using the Adyen Directory Lookup for your SiteBuilder Advanced Checkout. Refer to NetSuite documentation for more information.

You can make 3D Secure payments with SiteBuilder basic module.

Local payment methods are supported with SiteBuilder if you have SiteBuilder extensions or Reference Checkout.

Add the Adyen Directory Lookup Module to SiteBuilder Extension Vinson

  1. Within the SiteBuilder Extension Vinson Dev structure, locate the Modules folder and create the extensions subfolder in it.
  2. Copy the contents of folder "Adyen > SuitePayments > Directory Lookup Plugin > SiteBuilder Extension Vinson Release > Modules > extensions". This folder contains all the necessary files for the Directory Lookup Module.
  3. In order for SiteBuilder Extension Vinson to load the custom module, make sure to modify distro.json located in the root folder of the dev environment:
    • Add "extensions/Adyen": "1.0" to the Modules section.
    • Add "OrderWizard.Module.PaymentMethod.Adyen" as a dependency for SC.Checkout.Starter.
    • Add "GlobalViews.FormatPaymentMethod.View.Ext" as a dependency for SC.Checkout.Starter.

Update Default JSON Configuration

Look for the adyen.config.json file inside the "Adyen@1.0 > Configuration" folder. Make sure to set the default value for the following options:

    • adyenApp.configRecord = internal id of the [ES] Adyen SuitePayment Main Config record id related to the Payment Processing Profile.
    • adyenApp.nsPayMeth = internal id of the NetSuite payment method that should act as the placeholder for Adyen Alternative Payments.
    • adyenApp.lookupURL = URL where the Directory Lookup call is made.

Recompile and Deploy SiteBuilder Extension Vinson

  1. Using the SiteBuilder Extension Vinson Dev Environment, initiate gulp deploy. This will recompile and deploy the bundle back into NetSuite. Refer to the SiteBuilder Extension Vinson documentation for more information.
  2. Add additional library files to the SiteBuilder Extension Vinson SSP.
  3. Open the Adyen → SuitePayments → 3rd Party Library folder and copy the following files:

    • Core-min.js
    • Cipher-core.js
    • Hmac-min.js
    • Sha256-min.js
    • Format-hex-min.js
    • Enc-base64-min.js
  4. Navigate to the SiteBuilder Extension – Dev Vinson SSP record and add these script files under the Scripts → Libraries subtab.