Documentation

WC_Gateway_Redsys_PSD2

Gateway class

Table of Contents

Methods

__construct()  : mixed
Constructor
addr_match()  : mixed
Get Customer match (specific for Redsys PSD2)
clean_data()  : string
Clean Strings
days()  : mixed
Get days
debug()  : mixed
Debug
get_accept_headers()  : mixed
Get accepted headers
get_accept_headers_user()  : mixed
Get Accept Headers
get_acctinfo()  : mixed
Get acctinfo
get_adress_ship()  : mixed
Get Customer Adress
get_agente_navegador()  : mixed
Get Browser Agent
get_agente_navegador_user()  : mixed
Get User Agent
get_altura_pantalla()  : mixed
Get Screen Height
get_altura_pantalla_user()  : mixed
Get Screen Height
get_anchura_pantalla()  : mixed
Get Screen Width
get_anchura_pantalla_user()  : mixed
Get Screen Width
get_browserjavaenabled()  : mixed
Get Browser Java Enabled
get_browserjavaenabled_user()  : mixed
Get Java Enabled
get_challenge_wwndow_size()  : mixed
Get Window Size
get_diferencia_horaria()  : mixed
Get Timezone
get_diferencia_horaria_user()  : mixed
Get Time Zone
get_email()  : mixed
Get Customer email
get_homephone()  : mixed
Get Customer phone
get_idioma_navegador()  : mixed
Get Browser Language
get_idioma_navegador_user()  : mixed
Get Browser Language
get_mobile_phone()  : mixed
Get Customer mobile phone
get_post_num()  : mixed
Get post num
get_profundidad_color()  : mixed
Get Screen Color Depth
get_profundidad_color_user()  : mixed
Get Color Depth
get_redsys_option()  : string
Get Redsys Option
get_state_code()  : string|bool
Get State Code Redsys.
get_work()  : mixed
Get Customer work phone
shipnameindicator()  : mixed
Get Javascript Enabled

Methods

addr_match()

Get Customer match (specific for Redsys PSD2)

public addr_match(object $order) : mixed
Parameters
$order : object

Order.

clean_data()

Clean Strings

public clean_data(string $out) : string
Parameters
$out : string

String to clean.

Return values
string

get_accept_headers()

Get accepted headers

public get_accept_headers(int $order_id) : mixed
Parameters
$order_id : int

Order ID.

get_accept_headers_user()

Get Accept Headers

public get_accept_headers_user(int $user_id) : mixed
Parameters
$user_id : int

User ID.

get_acctinfo()

Get acctinfo

public get_acctinfo(obj $order[, array<string|int, mixed> $user_data_3ds = false ][, int $user_id = false ]) : mixed
Parameters
$order : obj

Order.

$user_data_3ds : array<string|int, mixed> = false

User Data 3DS.

$user_id : int = false

User ID.

get_agente_navegador()

Get Browser Agent

public get_agente_navegador(int $order_id) : mixed
Parameters
$order_id : int

Order ID.

get_agente_navegador_user()

Get User Agent

public get_agente_navegador_user(int $user_id) : mixed
Parameters
$user_id : int

User ID.

get_altura_pantalla()

Get Screen Height

public get_altura_pantalla(int $order_id) : mixed
Parameters
$order_id : int

Order ID.

get_altura_pantalla_user()

Get Screen Height

public get_altura_pantalla_user(int $user_id) : mixed
Parameters
$user_id : int

User ID.

get_anchura_pantalla()

Get Screen Width

public get_anchura_pantalla(int $order_id) : mixed
Parameters
$order_id : int

Order ID.

get_anchura_pantalla_user()

Get Screen Width

public get_anchura_pantalla_user(int $user_id) : mixed
Parameters
$user_id : int

User ID.

get_browserjavaenabled()

Get Browser Java Enabled

public get_browserjavaenabled(int $order_id) : mixed
Parameters
$order_id : int

Order ID.

get_browserjavaenabled_user()

Get Java Enabled

public get_browserjavaenabled_user(int $user_id) : mixed
Parameters
$user_id : int

User ID.

get_challenge_wwndow_size()

Get Window Size

public get_challenge_wwndow_size(object $order) : mixed
Parameters
$order : object

Order.

get_diferencia_horaria()

Get Timezone

public get_diferencia_horaria(int $order_id) : mixed
Parameters
$order_id : int

Order ID.

get_diferencia_horaria_user()

Get Time Zone

public get_diferencia_horaria_user(int $user_id) : mixed
Parameters
$user_id : int

User ID.

get_idioma_navegador()

Get Browser Language

public get_idioma_navegador(int $order_id) : mixed
Parameters
$order_id : int

Order ID.

get_idioma_navegador_user()

Get Browser Language

public get_idioma_navegador_user(int $user_id) : mixed
Parameters
$user_id : int

User ID.

get_mobile_phone()

Get Customer mobile phone

public get_mobile_phone(object $order) : mixed
Parameters
$order : object

Order.

get_post_num()

Get post num

public get_post_num(array<string|int, mixed> $post_status, string $date_query) : mixed
Parameters
$post_status : array<string|int, mixed>

Post status.

$date_query : string

Date query.

get_profundidad_color()

Get Screen Color Depth

public get_profundidad_color(int $order_id) : mixed
Parameters
$order_id : int

Order ID.

get_profundidad_color_user()

Get Color Depth

public get_profundidad_color_user(int $user_id) : mixed
Parameters
$user_id : int

User ID.

get_redsys_option()

Get Redsys Option

public get_redsys_option(string $option, string $gateway) : string
Parameters
$option : string

Option.

$gateway : string

Gateway name.

Return values
string

get_state_code()

Get State Code Redsys.

public get_state_code([string $state = false ]) : string|bool
Parameters
$state : string = false

State.

Return values
string|bool

shipnameindicator()

Get Javascript Enabled

public shipnameindicator(obj $order) : mixed
Parameters
$order : obj

Order.


        
On this page

Search results