Documentation

ISConstants
in package

Class ISConstants

Table of Contents

Properties

$authorization  : string
Authorization code.
$authorization_ok  : int
Authorization OK code.
$cancelation_ok  : int
Cancellation OK code.
$cancellation  : string
Cancellation code.
$confirmation  : string
Confirmation code.
$confirmation_ok  : int
Confirmation OK code.
$connection_timeout_value  : int
Connection timeout value in seconds.
$env_production  : string
Production environment identifier.
$env_sandbox  : string
Sandbox environment identifier.
$port_name  : string
Port name.
$preauthorization  : string
Preauthorization code.
$production_endpoint  : string
Production endpoint URL.
$production_js  : string
Production JavaScript URL.
$read_timeout_value  : int
Read timeout value in seconds.
$refund  : string
Refund code.
$request_datosentrada_tag  : string
Datos entrada tag.
$request_merchant_amount_tag  : string
Amount tag.
$request_merchant_currency_tag  : string
Currency tag.
$request_merchant_direcpayment_3ds  : string
Direct payment 3DS value.
$request_merchant_directpayment_tag  : string
Direct payment tag.
$request_merchant_directpayment_true  : string
Direct payment true value.
$request_merchant_identifier_required  : string
Merchant identifier required.
$request_merchant_identifier_tag  : string
Merchant identifier tag.
$request_merchant_idoper_tag  : string
ID oper tag.
$request_merchant_merchatcode_tag  : string
Merchant code tag.
$request_merchant_order_tag  : string
Merchant order tag.
$request_merchant_session_tag  : string
Session tag.
$request_merchant_sis_currency_tag  : string
SIS currency tag.
$request_merchant_terminal_tag  : string
Terminal tag.
$request_merchant_titular_tag  : string
Titular tag.
$request_merchant_transactiontype_tag  : string
Transaction type tag.
$request_request_tag  : string
Request tag.
$request_signature_tag  : string
Signature tag.
$request_signatureversion_tag  : string
Signature version tag.
$request_signatureversion_value  : string
Signature version value.
$resp_code_ok  : string
Response code OK.
$resp_literal_aut  : string
Response literal AUT.
$resp_literal_ok  : string
Response literal OK.
$response_3ds_challenge_request  : string
Response 3DS challenge request.
$response_3ds_challenge_response  : string
Response 3DS challenge response.
$response_3ds_version_1  : string
Response 3DS version 1.
$response_3ds_version_2_prefix  : string
Response 3DS version 2 prefix.
$response_acs_url_tag  : string
Response ACS URL tag.
$response_amount_tag  : string
Response amount tag.
$response_authorization_code_tag  : string
Response authorization code tag.
$response_card_country_tag  : string
Response card country tag.
$response_card_number_tag  : string
Response card number tag.
$response_code_tag  : string
Response code tag.
$response_currency_tag  : string
Response currency tag.
$response_dcc_amount_tag  : string
Response DCC amount tag.
$response_dcc_bank_name_tag  : string
Response DCC bank name tag.
$response_dcc_change_date_tag  : string
Response DCC change date tag.
$response_dcc_change_rate_tag  : string
Response DCC change rate tag.
$response_dcc_checked_tag  : string
Response DCC checked tag.
$response_dcc_currency_code_tag  : string
Response DCC currency code tag.
$response_dcc_currency_string_tag  : string
Response DCC currency string tag.
$response_dcc_currency_tag  : string
Response DCC currency tag.
$response_dcc_margin_tag  : string
Response DCC margin tag.
$response_dcc_tag  : string
Response DCC tag.
$response_expiry_date_tag  : string
Response expiry date tag.
$response_json_acs_entry  : string
Response JSON ACS entry.
$response_json_md_entry  : string
Response JSON MD entry.
$response_json_pareq_entry  : string
Response JSON PAREQ entry.
$response_json_pares_entry  : string
Response JSON PARES entry.
$response_json_protocol_version_entry  : string
Response JSON protocol version entry.
$response_json_threedsinfo_entry  : string
Response JSON 3DS info entry.
$response_language_tag  : string
Response language tag.
$response_merchant_data_tag  : string
Response merchant data tag.
$response_merchant_identifier_tag  : string
Response merchant identifier tag.
$response_merchant_tag  : string
Response merchant tag.
$response_order_tag  : string
Response order tag.
$response_response_tag  : string
Response response tag.
$response_secure_payment_tag  : string
Response secure payment tag.
$response_signature_tag  : string
Response signature tag.
$response_terminal_tag  : string
Response terminal tag.
$response_transaction_type_tag  : string
Response transaction type tag.
$rest_literal_ko  : string
Response literal KO.
$sandbox_endpoint  : string
Sandbox endpoint URL.
$sandbox_js  : string
Sandbox JavaScript URL.
$service_name  : string
Service name.
$ssl_tlsv12  : int
SSL/TLS version.
$target  : string
Target URL.

Methods

get_js_path()  : string
Get JavaScript path based on environment.

Properties

$authorization

Authorization code.

public static string $authorization = '0'

$authorization_ok

Authorization OK code.

public static int $authorization_ok = 00

$cancelation_ok

Cancellation OK code.

public static int $cancelation_ok = 400

$confirmation_ok

Confirmation OK code.

public static int $confirmation_ok = 900

$connection_timeout_value

Connection timeout value in seconds.

public static int $connection_timeout_value = 10

$env_production

Production environment identifier.

public static string $env_production = '1'

$env_sandbox

Sandbox environment identifier.

public static string $env_sandbox = '0'

$preauthorization

Preauthorization code.

public static string $preauthorization = '1'

$production_endpoint

Production endpoint URL.

public static string $production_endpoint = 'https://sis.redsys.es/sis/rest/entradaREST'

$production_js

Production JavaScript URL.

public static string $production_js = 'https://sis.redsys.es/sis/NC/redsys.js'

$read_timeout_value

Read timeout value in seconds.

public static int $read_timeout_value = 120

$request_datosentrada_tag

Datos entrada tag.

public static string $request_datosentrada_tag = 'DATOSENTRADA'

$request_merchant_amount_tag

Amount tag.

public static string $request_merchant_amount_tag = 'DS_MERCHANT_AMOUNT'

$request_merchant_currency_tag

Currency tag.

public static string $request_merchant_currency_tag = 'DS_MERCHANT_CURRENCY'

$request_merchant_direcpayment_3ds

Direct payment 3DS value.

public static string $request_merchant_direcpayment_3ds = '3DS'

$request_merchant_directpayment_tag

Direct payment tag.

public static string $request_merchant_directpayment_tag = 'DS_MERCHANT_DIRECTPAYMENT'

$request_merchant_directpayment_true

Direct payment true value.

public static string $request_merchant_directpayment_true = 'true'

$request_merchant_identifier_required

Merchant identifier required.

public static string $request_merchant_identifier_required = 'REQUIRED'

$request_merchant_identifier_tag

Merchant identifier tag.

public static string $request_merchant_identifier_tag = 'DS_MERCHANT_IDENTIFIER'

$request_merchant_idoper_tag

ID oper tag.

public static string $request_merchant_idoper_tag = 'DS_MERCHANT_IDOPER'

$request_merchant_merchatcode_tag

Merchant code tag.

public static string $request_merchant_merchatcode_tag = 'DS_MERCHANT_MERCHANTCODE'

$request_merchant_order_tag

Merchant order tag.

public static string $request_merchant_order_tag = 'DS_MERCHANT_ORDER'

$request_merchant_session_tag

Session tag.

public static string $request_merchant_session_tag = 'DS_MERCHANT_SESION'

$request_merchant_sis_currency_tag

SIS currency tag.

public static string $request_merchant_sis_currency_tag = 'Sis_Divisa'

$request_merchant_terminal_tag

Terminal tag.

public static string $request_merchant_terminal_tag = 'DS_MERCHANT_TERMINAL'

$request_merchant_titular_tag

Titular tag.

public static string $request_merchant_titular_tag = 'DS_MERCHANT_TITULAR'

$request_merchant_transactiontype_tag

Transaction type tag.

public static string $request_merchant_transactiontype_tag = 'DS_MERCHANT_TRANSACTIONTYPE'

$request_request_tag

Request tag.

public static string $request_request_tag = 'REQUEST'

$request_signature_tag

Signature tag.

public static string $request_signature_tag = 'DS_SIGNATURE'

$request_signatureversion_tag

Signature version tag.

public static string $request_signatureversion_tag = 'DS_SIGNATUREVERSION'

$request_signatureversion_value

Signature version value.

public static string $request_signatureversion_value = 'HMAC_SHA256_V1'

$resp_literal_aut

Response literal AUT.

public static string $resp_literal_aut = 'AUT'

$resp_literal_ok

Response literal OK.

public static string $resp_literal_ok = 'OK'

$response_3ds_challenge_request

Response 3DS challenge request.

public static string $response_3ds_challenge_request = 'ChallengeRequest'

$response_3ds_challenge_response

Response 3DS challenge response.

public static string $response_3ds_challenge_response = 'ChallengeResponse'

$response_3ds_version_1

Response 3DS version 1.

public static string $response_3ds_version_1 = '1.0.2'

$response_3ds_version_2_prefix

Response 3DS version 2 prefix.

public static string $response_3ds_version_2_prefix = '2.'

$response_acs_url_tag

Response ACS URL tag.

public static string $response_acs_url_tag = 'Ds_AcsUrl'

$response_amount_tag

Response amount tag.

public static string $response_amount_tag = 'Ds_Amount'

$response_authorization_code_tag

Response authorization code tag.

public static string $response_authorization_code_tag = 'Ds_AuthorisationCode'

$response_card_country_tag

Response card country tag.

public static string $response_card_country_tag = 'Ds_Card_Country'

$response_card_number_tag

Response card number tag.

public static string $response_card_number_tag = 'Ds_Card_Number'

$response_code_tag

Response code tag.

public static string $response_code_tag = 'CODIGO'

$response_currency_tag

Response currency tag.

public static string $response_currency_tag = 'Ds_Currency'

$response_dcc_amount_tag

Response DCC amount tag.

public static string $response_dcc_amount_tag = 'importe'

$response_dcc_bank_name_tag

Response DCC bank name tag.

public static string $response_dcc_bank_name_tag = 'nombreEntidad'

$response_dcc_change_date_tag

Response DCC change date tag.

public static string $response_dcc_change_date_tag = 'fechaCambio'

$response_dcc_change_rate_tag

Response DCC change rate tag.

public static string $response_dcc_change_rate_tag = 'cambio'

$response_dcc_checked_tag

Response DCC checked tag.

public static string $response_dcc_checked_tag = 'checked'

$response_dcc_currency_code_tag

Response DCC currency code tag.

public static string $response_dcc_currency_code_tag = 'litMonedaR'

$response_dcc_currency_string_tag

Response DCC currency string tag.

public static string $response_dcc_currency_string_tag = 'litMoneda'

$response_dcc_currency_tag

Response DCC currency tag.

public static string $response_dcc_currency_tag = 'moneda'

$response_dcc_margin_tag

Response DCC margin tag.

public static string $response_dcc_margin_tag = 'margenDCC'

$response_dcc_tag

Response DCC tag.

public static string $response_dcc_tag = 'DCC'

$response_expiry_date_tag

Response expiry date tag.

public static string $response_expiry_date_tag = 'Ds_Card_Number'

$response_json_acs_entry

Response JSON ACS entry.

public static string $response_json_acs_entry = 'acsURL'

$response_json_md_entry

Response JSON MD entry.

public static string $response_json_md_entry = 'MD'

$response_json_pareq_entry

Response JSON PAREQ entry.

public static string $response_json_pareq_entry = 'PAReq'

$response_json_pares_entry

Response JSON PARES entry.

public static string $response_json_pares_entry = 'PARes'

$response_json_protocol_version_entry

Response JSON protocol version entry.

public static string $response_json_protocol_version_entry = 'protocolVersion'

$response_json_threedsinfo_entry

Response JSON 3DS info entry.

public static string $response_json_threedsinfo_entry = 'threeDSInfo'

$response_language_tag

Response language tag.

public static string $response_language_tag = 'Ds_Language'

$response_merchant_data_tag

Response merchant data tag.

public static string $response_merchant_data_tag = 'Ds_MerchantData'

$response_merchant_identifier_tag

Response merchant identifier tag.

public static string $response_merchant_identifier_tag = 'Ds_Card_Number'

$response_merchant_tag

Response merchant tag.

public static string $response_merchant_tag = 'Ds_MerchantCode'

$response_order_tag

Response order tag.

public static string $response_order_tag = 'Ds_Order'

$response_response_tag

Response response tag.

public static string $response_response_tag = 'Ds_Response'

$response_secure_payment_tag

Response secure payment tag.

public static string $response_secure_payment_tag = 'Ds_SecurePayment'

$response_signature_tag

Response signature tag.

public static string $response_signature_tag = 'Ds_Signature'

$response_terminal_tag

Response terminal tag.

public static string $response_terminal_tag = 'Ds_Terminal'

$response_transaction_type_tag

Response transaction type tag.

public static string $response_transaction_type_tag = 'Ds_TransactionType'

$rest_literal_ko

Response literal KO.

public static string $rest_literal_ko = 'KO'

$sandbox_endpoint

Sandbox endpoint URL.

public static string $sandbox_endpoint = 'https://sis-t.redsys.es:25443/sis/rest/entradaREST'

$sandbox_js

Sandbox JavaScript URL.

public static string $sandbox_js = 'https://sis-t.redsys.es:25443/sis/NC/sandbox/redsys2.js'

$service_name

Service name.

public static string $service_name = 'SerClsWSEntradaService'

$target

Target URL.

public static string $target = 'http://webservice.sis.sermepa.es'

Methods

get_js_path()

Get JavaScript path based on environment.

public static get_js_path(string $env) : string
Parameters
$env : string

Environment identifier.

Return values
string

JavaScript path.


        
On this page

Search results