Documentation

WC_Gateway_MasterPass_Redsys extends WC_Payment_Gateway

Copyright: (C) 2013 - 2024 José Conti

Table of Contents

Properties

$butonbgcolor  : string
The background color of the button.
$butontextcolor  : string
The text color of the button.
$buttoncheckout  : string
The button text for checkout.
$commercename  : string
The commerce name of the gateway.
$customer  : string
The customer number of the gateway.
$debug  : bool
Indicates if the gateway is in debug mode.
$descripredsys  : string
The description of the gateway for Redsys.
$description  : string
The description of the gateway.
$enabled  : bool
Indicates if the gateway is enabled.
$has_fields  : bool
Indicates if the gateway has fields.
$hashtype  : string
The hash type of the gateway.
$hideownsetting  : bool
Indicates if the "NOT use Network" setting is hidden in subsites.
$icon  : string
The icon of the gateway.
$id  : string
The ID of the gateway.
$liveurl  : string
The live URL of the gateway.
$log  : string
The log of the gateway.
$masterpasslanguage  : string
The language of the gateway.
$method_description  : string
The description of the gateway.
$method_title  : string
The title of the gateway.
$multisitesttings  : bool
Indicates if the gateway is used in a multisite network.
$notify_url  : string
The notify URL of the gateway.
$ownsetting  : bool
Indicates if the gateway uses its own settings.
$secretsha256  : string
The secret passphrase SHA-256 of the gateway.
$terminal  : string
The terminal number of the gateway.
$testmode  : bool
Indicates if the gateway is in test mode.
$testurl  : string
The test URL of the gateway.
$title  : string
The title of the gateway.
$woomasterpassurlko  : string
The URL for failed transactions of the gateway.

Methods

__construct()  : mixed
Constructor for the gateway.
admin_options()  : mixed
Package: WooCommerce Redsys Gateway Plugin URI: https://woocommerce.com/products/redsys-gateway/ Copyright: (C) 2013 - 2024 José Conti
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()  : mixed
Check for Servired/RedSys HTTP Notification
check_user_show_payment_method()  : mixed
Check if user is in test mode
generate_masterpass_form()  : mixed
Generate the redsys form
get_currencies()  : mixed
Package: WooCommerce Redsys Gateway Plugin URI: https://woocommerce.com/products/redsys-gateway/ Copyright: (C) 2013 - 2024 José Conti
get_error_by_code()  : mixed
Get error message by error code
get_masterpass_args()  : mixed
Get redsys Args for passing to the tpv
get_masterpass_order()  : mixed
Get_masterpass_order function.
init_form_fields()  : mixed
Initialise Gateway Settings Form Fields.
is_valid_for_use()  : mixed
Package: WooCommerce Redsys Gateway Plugin URI: https://woocommerce.com/products/redsys-gateway/ Copyright: (C) 2013 - 2024 José Conti
process_payment()  : mixed
Process the payment and return the result
receipt_page()  : mixed
Output for the order received page.
show_payment_method()  : mixed
Show payment method
successful_request()  : mixed
Successful Payment!
warning_checkout_test_mode_masterpass()  : mixed
Package: WooCommerce Redsys Gateway Plugin URI: https://woocommerce.com/products/redsys-gateway/ Copyright: (C) 2013 - 2024 José Conti

Properties

Methods

admin_options()

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

public admin_options() : mixed

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_user_show_payment_method()

Check if user is in test mode

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

User ID.

generate_masterpass_form()

Generate the redsys form

public generate_masterpass_form(mixed $order_id) : mixed
Parameters
$order_id : mixed

Order ID.

get_currencies()

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

public get_currencies() : mixed

get_error_by_code()

Get error message by error code

public get_error_by_code(string $error_code) : mixed
Parameters
$error_code : string

Error code.

get_masterpass_args()

Get redsys Args for passing to the tpv

public get_masterpass_args(WC_Order $order) : mixed
Parameters
$order : WC_Order

Order object.

get_masterpass_order()

Get_masterpass_order function.

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

Order ID.

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

process_payment()

Process the payment and return the result

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

Order ID.

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.

successful_request()

Successful Payment!

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

Post data after notify.

warning_checkout_test_mode_masterpass()

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

public warning_checkout_test_mode_masterpass() : mixed

        
On this page

Search results