Installing and configuring Computop

Edit on GitHub
You are browsing a previous version of the document. The latest version is 202212.0.

The SprykerEco.Computop bundle provides integration of the Computop industry partner with Spryker Commerce OS. It requires the SprykerEco.ComputopApi bundle that provides the REST Client for making API calls to the Computop Payment Provider.

The SprykerEco.Computop module includes the integrations:

  • Checkout process - payment forms with all the necessary fields that are required to make payment requests, save order information and so on.
  • OMS (Order Management System) - state machines, all necessary commands for making modification requests and conditions for changing order statuses accordingly.

The SprykerEco.Computop module provides the following payment methods:

Installing Computop

To install the payment provider, run:

composer require spryker-eco/computop

Configuration

All the necessary configurations can be found in:

vendor/spryker-eco/computop/config/config.dist.php
Configuration Key Type Description
$config[ComputopApiConstants::MERCHANT_ID] string Computop merchant identifier.
$config[ComputopApiConstants::BLOWFISH_PASSWORD] string Password for blowfish hashing.
$config[ComputopApiConstants::HMAC_PASSWORD] string Password for hmac hashing.
$config[ComputopConstants::PAYDIREKT_SHOP_KEY] string Shop key for Paydirect payment method.
$config[ComputopConstants::IDEAL_ISSUER_ID] string Issuer ID for Ideal payment method.
$config[ComputopConstants::PAY_NOW_INIT_ACTION] string Init API call endpoint for PayNow payment method.
$config[ComputopConstants::CREDIT_CARD_INIT_ACTION] string Init API call endpoint for Credit Card payment method.
$config[ComputopConstants::PAYPAL_INIT_ACTION] string Init API call endpoint for PayPal payment method.
$config[ComputopConstants::DIRECT_DEBIT_INIT_ACTION] string Init API call endpoint for Direct Debit payment method.
$config[ComputopConstants::SOFORT_INIT_ACTION] string Init API call endpoint for Sofort payment method.
$config[ComputopConstants::PAYDIREKT_INIT_ACTION] string Init API call endpoint for Paydirect payment method.
$config[ComputopConstants::IDEAL_INIT_ACTION] string Init API call endpoint for Ideal payment method.
$config[ComputopConstants::EASY_CREDIT_INIT_ACTION] string Init API call endpoint for Easy Credit payment method.
$config[ComputopApiConstants::EASY_CREDIT_STATUS_ACTION] string Status API call endpoint for Easy Credit payment method.
$config[ComputopApiConstants::EASY_CREDIT_AUTHORIZE_ACTION] string Authorize API call endpoint for Easy Credit payment method.
$config[ComputopApiConstants::AUTHORIZE_ACTION] string Authorize API call endpoint.
$config[ComputopApiConstants::CAPTURE_ACTION] string Capture API call endpoint.
$config[ComputopApiConstants::REVERSE_ACTION] string Reserve API call endpoint.
$config[ComputopApiConstants::INQUIRE_ACTION] string Inquire API call endpoint.
$config[ComputopApiConstants::REFUND_ACTION] string Refund API call endpoint.
$config[ComputopApiConstants::RESPONSE_MAC_REQUIRED] array MAC is required for methods (to check MAC on response).
$config[ComputopConstants::CREDIT_CARD_TEMPLATE_ENABLED] bool Is custom template enabled for Credit Card payment method.
$config[ComputopConstants::CREDIT_CARD_TX_TYPE] string TX TYPE for Credit Card payment method (empty string).
$config[ComputopConstants::PAY_NOW_TX_TYPE] string TX TYPE for PayNow payment method (empty string).
$config[ComputopConstants::PAY_PAL_TX_TYPE] string TX TYPE for PayPal payment method (Auth).
$config[ComputopConstants::PAYMENT_METHODS_WITHOUT_ORDER_CALL] array Array of payment methods without order call.
$config[ComputopApiConstants::PAYMENT_METHODS_CAPTURE_TYPES] array Array with mapping payment methods and their capture types (MANUAL or AUTO).
$config[ComputopConstants::CRIF_ENABLED] bool Is CRIF risk check enabled.
$config[ComputopApiConstants::CRIF_ACTION] string CRIF API call endpoint.
$config[ComputopApiConstants::CRIF_PRODUCT_NAME] string QuickCheckConsumer or
CreditCheckConsumer or
QuickCheckBusiness or
CreditCheckBusiness or
IdentCheckConsume.
$config[ComputopApiConstants::CRIF_LEGAL_FORM] string PERSON or COMPANY or UNKNOWN.
$config[ComputopConstants::CRIF_GREEN_AVAILABLE_PAYMENT_METHODS] array List of payment methods available with green response code.
$config[ComputopConstants::CRIF_YELLOW_AVAILABLE_PAYMENT_METHODS] array List of payment methods available with yellow response code.
$config[ComputopConstants::CRIF_RED_AVAILABLE_PAYMENT_METHODS] array List of payment methods available with red response code.