Documentation

WC_Gateway_MasterPass_Redsys extends WC_Payment_Gateway

Copyright: (C) 2013 - 2024 José Conti

Table of Contents

Properties

$notify_url  : mixed

Methods

__construct()  : mixed
Constructor for the gateway.
admin_options()  : mixed
Package: WooCommerce Redsys Gateway Plugin URI: https://woo.com/products/redsys-gateway/ Copyright: (C) 2013 - 2024 José Conti
check_ipn_request_is_valid()  : mixed
Package: WooCommerce Redsys Gateway Plugin URI: https://woo.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://woo.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://woo.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://woo.com/products/redsys-gateway/ Copyright: (C) 2013 - 2024 José Conti

Properties

Methods

admin_options()

Package: WooCommerce Redsys Gateway Plugin URI: https://woo.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://woo.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://woo.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://woo.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://woo.com/products/redsys-gateway/ Copyright: (C) 2013 - 2024 José Conti

public warning_checkout_test_mode_masterpass() : mixed

        
On this page

Search results