WC_Gateway_Redsys_Bank_Transfer
extends WC_Payment_Gateway
in package
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
$beneficiario
Beneficiary of the transaction.
public
string
$beneficiario
$butonbgcolor
Button background color.
public
string
$butonbgcolor
$butontextcolor
Button text color.
public
string
$butontextcolor
$buttoncheckout
Button text at checkout.
public
string
$buttoncheckout
$codigoswift
SWIFT/BIC code for international transactions.
public
string
$codigoswift
$commercename
Commerce name.
public
string
$commercename
$customer
Customer ID.
public
string
$customer
$debug
Whether debugging is enabled.
public
bool
$debug
$descripredsys
Description for Redsys.
public
string
$descripredsys
$description
Description of the gateway.
public
string
$description
$has_fields
Whether the gateway has fields.
public
bool
$has_fields
$hashtype
Hash type used for security.
public
string
$hashtype
$hideownsetting
Whether to hide own settings.
public
bool
$hideownsetting
$iban
IBAN number for transactions.
public
string
$iban
$icon
Gateway icon URL.
public
string
$icon
$id
Gateway ID.
public
string
$id
$liveurl
Live URL for payment.
public
string
$liveurl
$log
Logger instance.
public
WC_Logger
$log
$logo
Gateway logo.
public
string
$logo
$method_description
Description of the payment method.
public
string
$method_description
$method_title
Title of the payment method.
public
string
$method_title
$multisitesttings
Whether to use multisite settings.
public
bool
$multisitesttings
$not_use_https
Whether to use HTTPS.
public
bool
$not_use_https
$notify_url
Notification URL.
public
string
$notify_url
$notify_url_not_https
Notification URL without HTTPS.
public
string
$notify_url_not_https
$orderdo
Order operation.
public
string
$orderdo
$ownsetting
Whether to use own settings.
public
bool
$ownsetting
$redsyslanguage
Language for Redsys.
public
string
$redsyslanguage
$secret
Secret key.
public
string
$secret
$secretsha256
Secret SHA-256 key.
public
string
$secretsha256
$terminal
Terminal ID.
public
string
$terminal
$testmode
Whether the gateway is in test mode.
public
bool
$testmode
$testshowgateway
User IDs to show gateway in test mode.
public
array<string|int, mixed>
$testshowgateway
$title
Title of the gateway.
public
string
$title
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
stringget_redsys_args()
Get Redsys Arguments for passing to PP
public
get_redsys_args(WC_Order $order) : mixed
Parameters
- $order : WC_Order
-
Order object.
get_redsys_order()
Get_redsys_order function.
public
get_redsys_order(mixed $order_id) : mixed
Parameters
- $order_id : mixed
-
Order ID.
init_form_fields()
Initialise Gateway Settings Form Fields
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
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>receipt_page()
Output for the order receipt page.
public
receipt_page(object $order) : mixed
Parameters
- $order : object
-
Order object.
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.