Documentation

WC_Gateway_Redsys_Bank_Transfer extends WC_Payment_Gateway

WooCommerce Redsys Bank Transfer Gateway Class

Table of Contents

Properties

$beneficiario  : string
Beneficiary of the transaction.
$butonbgcolor  : string
Button background color.
$butontextcolor  : string
Button text color.
$buttoncheckout  : string
Button text at checkout.
$codigoswift  : string
SWIFT/BIC code for international transactions.
$commercename  : string
Commerce name.
$customer  : string
Customer ID.
$debug  : bool
Whether debugging is enabled.
$descripredsys  : string
Description for Redsys.
$description  : string
Description of the gateway.
$has_fields  : bool
Whether the gateway has fields.
$hashtype  : string
Hash type used for security.
$hideownsetting  : bool
Whether to hide own settings.
$iban  : string
IBAN number for transactions.
$icon  : string
Gateway icon URL.
$id  : string
Gateway ID.
$liveurl  : string
Live URL for payment.
$log  : WC_Logger
Logger instance.
$logo  : string
Gateway logo.
$method_description  : string
Description of the payment method.
$method_title  : string
Title of the payment method.
$multisitesttings  : bool
Whether to use multisite settings.
$not_use_https  : bool
Whether to use HTTPS.
$notify_url  : string
Notification URL.
$notify_url_not_https  : string
Notification URL without HTTPS.
$orderdo  : string
Order operation.
$ownsetting  : bool
Whether to use own settings.
$redsyslanguage  : string
Language for Redsys.
$secret  : string
Secret key.
$secretsha256  : string
Secret SHA-256 key.
$terminal  : string
Terminal ID.
$testmode  : bool
Whether the gateway is in test mode.
$testshowgateway  : array<string|int, mixed>
User IDs to show gateway in test mode.
$title  : string
Title of the gateway.

Methods

__construct()  : mixed
Package: WooCommerce Redsys Gateway Plugin URI: https://woocommerce.com/products/redsys-gateway/ Copyright: (C) 2013 - 2024 José Conti
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
Package: WooCommerce Redsys Gateway Plugin URI: https://woocommerce.com/products/redsys-gateway/ Copyright: (C) 2013 - 2024 José Conti
check_user_show_payment_method()  : mixed
Check show test or live payment method
generate_redsys_form()  : string
Generate the redsys form
get_redsys_args()  : mixed
Get Redsys Arguments for passing to PP
get_redsys_order()  : mixed
Get_redsys_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()  : array<string|int, mixed>
Process the payment and return the result
receipt_page()  : mixed
Output for the order receipt page.
show_payment_method()  : mixed
Show or hide payment method.
successful_request()  : void
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

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

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

public check_ipn_response() : mixed

check_user_show_payment_method()

Check show test or live payment method

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

User ID.

generate_redsys_form()

Generate the redsys form

public generate_redsys_form(string $order_id) : string
Parameters
$order_id : string

Order ID.

Return values
string

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) : array<string|int, mixed>
Parameters
$order_id : int

Order ID.

Return values
array<string|int, mixed>

show_payment_method()

Show or hide 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) : void
Parameters
$posted : array<string|int, mixed>

Post data after processing.


        
On this page

Search results