Documentation

WC_Gateway_Paygold_Redsys extends WC_Payment_Gateway

Copyright: (C) 2013 - 2024 José Conti

Table of Contents

Properties

$bulkactions  : array<string|int, mixed>
Acciones en bloque.
$butonbgcolor  : string
Color de fondo del botón.
$butontextcolor  : string
Color del texto del botón.
$buttoncheckout  : string
Botón de checkout.
$commercename  : string
Nombre del comercio.
$customer  : string
Información del cliente.
$customtestsha256  : string
Clave secreta de prueba SHA-256.
$debug  : bool
Modo de depuración.
$descripredsys  : string
Descripción de Redsys.
$description  : string
Descripción del método de pago mostrado al cliente.
$enabled  : bool
Indica si el método de pago está habilitado.
$expiration  : string
Expiración.
$hideownsetting  : bool
Indica si se debe ocultar la configuración propia.
$icon  : string
Icono del gateway.
$id  : string
Identificador del gateway.
$liveurlws  : string
URL del servicio web en producción.
$log  : bool
Registro de logs.
$merchantgroup  : string
Grupo de comerciantes.
$method_description  : string
Descripción del método de pago.
$method_title  : string
Título del método de pago.
$multisitesttings  : array<string|int, mixed>
Configuraciones multisite.
$not_use_https  : bool
Indica si no se debe usar HTTPS.
$notify_url  : string
URL de notificación.
$notify_url_not_https  : string
URL de notificación sin HTTPS.
$ownsetting  : array<string|int, mixed>
Configuración propia.
$redsyslanguage  : string
Idioma de Redsys.
$secretsha256  : string
Clave secreta SHA-256.
$showcheckout  : bool
Mostrar en checkout.
$sms  : string
Mensaje SMS.
$subject  : string
Asunto del mensaje.
$supports  : array<string|int, mixed>
Funcionalidades soportadas.
$terminal  : string
Terminal del comercio.
$testforuser  : bool
Prueba para el usuario.
$testforuserid  : int
ID de usuario para pruebas.
$testmode  : bool
Modo de prueba.
$testshowgateway  : bool
Mostrar gateway en modo de prueba.
$title  : string
Título del método de pago mostrado al cliente.
$transactionlimit  : float
Límite de transacción.

Methods

__construct()  : mixed
Package: WooCommerce Redsys Gateway Plugin URI: https://woocommerce.com/products/redsys-gateway/ Copyright: (C) 2013 - 2024 José Conti
add_bulk_actions()  : mixed
Add Bulk Actions
admin_options()  : mixed
Package: WooCommerce Redsys Gateway Plugin URI: https://woocommerce.com/products/redsys-gateway/ Copyright: (C) 2013 - 2024 José Conti
ask_for_refund()  : mixed
Ask for refund
check_ipn_request_is_valid()  : mixed
Package: WooCommerce Redsys Gateway Plugin URI: https://woocommerce.com/products/redsys-gateway/ Copyright: (C) 2013 - 2024 José Conti
check_ipn_response()  : void
Check for Paygold HTTP Notification
check_redsys_refund()  : mixed
Check if the pingback is valid
check_user_show_payment_method()  : bool
Check if user can show payment method.
disable_paygold()  : mixed
Disable paygold if the cart total is greater than the limit
get_redsys_sha256()  : mixed
Get Paygold SHA256
get_redsys_url_gateway()  : mixed
Get Paygold URL
init_form_fields()  : mixed
Package: WooCommerce Redsys Gateway Plugin URI: https://woocommerce.com/products/redsys-gateway/ Copyright: (C) 2013 - 2024 José Conti
is_valid_for_use()  : mixed
Package: WooCommerce Redsys Gateway Plugin URI: https://woocommerce.com/products/redsys-gateway/ Copyright: (C) 2013 - 2024 José Conti
paygold_bulk_actions_handler()  : mixed
Bulk Actions Handler
process_payment()  : mixed
Process the payment and return the result
process_refund()  : mixed
Process a refund if supported
send_link_paygold()  : mixed
Send Link Paygold
show_payment_method()  : mixed
Show payment method.
show_payment_method_add_method()  : mixed
Unset Paygold in checkout
successful_request()  : mixed
Successful Payment!

Properties

Methods

__construct()

Package: WooCommerce Redsys Gateway Plugin URI: https://woocommerce.com/products/redsys-gateway/ Copyright: (C) 2013 - 2024 José Conti

public __construct() : mixed

add_bulk_actions()

Add Bulk Actions

public static add_bulk_actions(array<string|int, mixed> $bulk_actions) : mixed
Parameters
$bulk_actions : array<string|int, mixed>

Array of actions.

admin_options()

Package: WooCommerce Redsys Gateway Plugin URI: https://woocommerce.com/products/redsys-gateway/ Copyright: (C) 2013 - 2024 José Conti

public admin_options() : mixed

ask_for_refund()

Ask for refund

public ask_for_refund(int $order_id, string $transaction_id, float $amount) : mixed
Parameters
$order_id : int

Order ID.

$transaction_id : string

Transaction ID.

$amount : float

Amount.

check_ipn_request_is_valid()

Package: WooCommerce Redsys Gateway Plugin URI: https://woocommerce.com/products/redsys-gateway/ Copyright: (C) 2013 - 2024 José Conti

public check_ipn_request_is_valid() : mixed

check_redsys_refund()

Check if the pingback is valid

public check_redsys_refund(string $order_id) : mixed
Parameters
$order_id : string

Order ID.

check_user_show_payment_method()

Check if user can show payment method.

public check_user_show_payment_method([int $userid = false ]) : bool
Parameters
$userid : int = false

User ID.

Return values
bool

disable_paygold()

Disable paygold if the cart total is greater than the limit

public disable_paygold(array<string|int, mixed> $available_gateways) : mixed
Parameters
$available_gateways : array<string|int, mixed>

Available gateways.

get_redsys_url_gateway()

Get Paygold URL

public get_redsys_url_gateway(int $user_id[, string $type = 'rd' ]) : mixed
Parameters
$user_id : int

User ID.

$type : string = 'rd'

Type.

init_form_fields()

Package: WooCommerce Redsys Gateway Plugin URI: https://woocommerce.com/products/redsys-gateway/ Copyright: (C) 2013 - 2024 José Conti

public init_form_fields() : mixed

is_valid_for_use()

Package: WooCommerce Redsys Gateway Plugin URI: https://woocommerce.com/products/redsys-gateway/ Copyright: (C) 2013 - 2024 José Conti

public is_valid_for_use() : mixed

paygold_bulk_actions_handler()

Bulk Actions Handler

public static paygold_bulk_actions_handler(string $redirect_to, string $doaction, array<string|int, mixed> $user_ids) : mixed
Parameters
$redirect_to : string

Redirect URL.

$doaction : string

Action.

$user_ids : array<string|int, mixed>

Array of user IDs.

process_payment()

Process the payment and return the result

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

Order ID.

process_refund()

Process a refund if supported

public process_refund(int $order_id[, float $amount = null ][, string $reason = '' ]) : mixed
Parameters
$order_id : int

Order ID.

$amount : float = null

Refund amount.

$reason : string = ''

Refund reason.

show_payment_method()

Show payment method.

public show_payment_method(array<string|int, mixed> $available_gateways) : mixed
Parameters
$available_gateways : array<string|int, mixed>

Available gateways.

show_payment_method_add_method()

Unset Paygold in checkout

public show_payment_method_add_method(array<string|int, mixed> $available_gateways) : mixed
Parameters
$available_gateways : array<string|int, mixed>

Available gateways.

successful_request()

Successful Payment!

public successful_request(array<string|int, mixed> $posted) : mixed
Parameters
$posted : array<string|int, mixed>

wp_post.


        
On this page

Search results