sapfsdigitalpaymentfacades Extension

The sapfsdigitalpaymentfacades extension enables the integration of Financial Services Accelerator with SAP digital payments add-on.

About the Extension

Name

Directory

Related Module
sapfsdigitalpaymentfacades <HYBRIS_BIN_DIR>/modules/financial-services-accelerator SAP Digital Payments Add-On Integration Module

The extension is included in the financial_spa_integrations recipe.

Dependencies

The sapfsdigitalpaymentfacades depends on cissapdigitalpayment and commercewebservicescommons extensions.

Overview

The sapfsdigitalpaymentfacades extension extends the payment functionality of the cissapdigitalpaymentextension, which is responsible for providing the core functionalities for integration between SAP Commerce and SAP digital payments add-on.

The FSCisSapDigitalPaymentFacade extends CisSapDigitalPaymentFacade and re-implements the addPaymentAddressToCart method by adding the billing address to the payment information.

Installation

  1. Add the sapfsdigitalpaymentfacades to your localextensions.xml file.
  2. Set the following property in your local.properties file:
    site.pci.strategy=HOP
  3. Start SAP Commerce Server.

Configuration

  1. Start SAP Commerce Server.
  2. Import your client and payment endpoint configuration through Administration Console:
    INSERT_UPDATE SAPDigitalPaymentConfiguration; name[unique = true]; sapDigitalpaymentClient(clientId); baseUrl; companyCode; customerCountry; paymentMethod; customParam; maxRetry; retryInterval; timeOut; pollCardDelay;
    ; sap_payment_integration ; <your_clientId> ; https://digitalpayments-core.cfapps.eu10.hana.ondemand.com/core/v1 ; <companyCode> ; <customerCountry> ; CC ; insurance ; 3 ; 2000 ; 4000 ; 1000 ;
     
    INSERT_UPDATE SAPDigitalPaymentClient;clientId[unique=true]         ;clientSecret       ;tokenUrl           ;scope          ;authorizedGrantTypes
    ; <your_clientId> ; <client_secret> ; <tokenUrl> ; uaa.resource ; client_credentials
     
    # Base Store
    INSERT_UPDATE BaseStore;uid[unique=true];sapDigitalPaymentConfiguration(name)
    ; insurance ; sap_payment_integration
  3. In the Administration Console, check that the storefront uses Hosted Order Page (HOP) style of integration with the payment service provider. To do that, go to Start of the navigation pathPlatform Next navigation step ConfigurationEnd of the navigation path tab and, if needed, set the site.pci.strategy configuration to HOP.