Documentation

WC_Gateway_Paygold_Redsys extends WC_Payment_Gateway

Copyright: (C) 2013 - 2024 José Conti

Table of Contents

Properties

$notify_url  : mixed

Methods

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