Documentation

Documentation

Table of Contents

Packages

Application
WooCommerceRedsysGateway

Interfaces

ISRequestInterface
ISResponseInterface

Classes

Plugin_List_Links_Redsys_Premium
Plugin List Links Redsys Premium
Redsys_Advanced_Settings
Redsys Advanced Settings.
Redsys_Card_Images
Class Redsys Card Images
Redsys_Pay_One_Clic
Class Redsys Pay One Clic
Redsys_Push_Notifications
Class Redsys Push Notifications
Redsys_QR_Codes
Redsys QR Codes
Redsys_WP_Dashboard
Redsys_WP_Dashboard Class.
WC_Gateway_Apple_Pay_Checkout
WC_Gateway_Google_Pay_Checkout class.
WC_Gateway_Bizum_Checkout_Redsys
WC_Gateway_Bizum_Checkout_Redsys Class.
WC_Gateway_Bizum_Redsys
WC_Gateway_Bizum_Redsys Class.
WC_Gateway_Direct_Debit_Redsys
Copyright: (C) 2013 - 2024 José Conti
WC_Gateway_Googlepay_Checkout
WC_Gateway_Googlepay_Checkout class.
WC_Gateway_GooglePay_Redirection_Redsys
WC_Gateway_GooglePay_Redirection_Redsys Class.
WC_Gateway_InSite_Redsys
Gateway class
WC_Gateway_MasterPass_Redsys
Copyright: (C) 2013 - 2024 José Conti
WC_Gateway_Paygold_Redsys
Copyright: (C) 2013 - 2024 José Conti
WC_Gateway_Redsys_Bank_Transfer
WooCommerce Redsys Bank Transfer Gateway Class
WC_Gateway_Redsys_Global
Gateway class
WC_Gateway_Redsys_License
Licensing class for License Manager requests
WC_Gateway_Redsys_PSD2
Gateway class
WC_Gateway_Redsys_Scheduled_Actions
WC_Gateway_Redsys_Scheduled_Actions Class.
WC_Gateway_Redsys
Package: WooCommerce Redsys Gateway Plugin URI: https://woo.com/products/redsys-gateway/ Copyright: (C) 2013 - 2024 José Conti
WC_Redsys_Profile
WC_Admin_Profile Class.
WC_REST_Redsys
Class WC Rest Redsys
WooRedsysAPI
NOTA SOBRE LA LICENCIA DE USO DEL SOFTWARE
WooRedsysAPIWS
NOTA SOBRE LA LICENCIA DE USO DEL SOFTWARE
ISConstants
ISGenericXml
ISAuthenticationService
ISDCCConfirmationService
ISService
ISOperationService
ISAnnotation
ISLogger
ISSignatureUtils
WC_Gateway_Redsysbank_Support
Dummy Payments Blocks integration
WC_Gateway_Bizum_Support
Dummy Payments Blocks integration
WC_Gateway_Directdebitredsys_Support
Dummy Payments Blocks integration
WC_Gateway_InSite_Support
Dummy Payments Blocks integration
WC_Gateway_Masterpass_Support
Dummy Payments Blocks integration
WC_Gateway_Paygold_Support
Dummy Payments Blocks integration
WC_Gateway_Redsys_Support
Dummy Payments Blocks integration
Redsys_WC_Email
Class Redsys_WC_Email
Redsys_Customer_Email_Order
Copyright: (C) 2013 - 2024 José Conti
FlattedString
Flatted

Constants

REDSYS_ADD_LICENSE  = 'https://redsys.joseconti.com/product/plugin-woocommerce-redsys-gateway/'
REDSYS_BLOCKS_PATH  = \REDSYS_PLUGIN_PATH_P . 'bloques-redsys/'
REDSYS_BLOCKS_URL  = \REDSYS_PLUGIN_URL_P . 'bloques-redsys/'
REDSYS_CHECK_WOO_CONNECTION  = \true
REDSYS_INSTALL_URL_P  = 'https://redsys.joseconti.com/primeros-pasos-con-redsys-y-woocommerce/'
REDSYS_PLUGIN_API_REDSYS_PATH  = \REDSYS_PLUGIN_PATH_P . 'includes/api-redsys/'
REDSYS_PLUGIN_CLASS_PATH_P  = \REDSYS_PLUGIN_PATH_P . 'classes/'
REDSYS_PLUGIN_DATA_PATH_P  = \REDSYS_PLUGIN_PATH_P . 'includes/data/'
REDSYS_PLUGIN_DATA_URL  = \REDSYS_PLUGIN_URL_P . 'includes/data/'
REDSYS_PLUGIN_METABOXES_PATH  = \REDSYS_PLUGIN_PATH_P . 'includes/metabox/'
REDSYS_PLUGIN_NOTICE_PATH_P  = \REDSYS_PLUGIN_PATH_P . 'includes/notices/'
REDSYS_PLUGIN_STATUS_PATH  = \REDSYS_PLUGIN_PATH_P . 'includes/woo-status/'
REDSYS_POST_PSD2_URL  = 'https://redsys.joseconti.com/2019/09/05/redsys-y-psd2-o-sca/'
REDSYS_PRODUCT_ID_WOO  = 187871
REDSYS_REVIEW_P  = 'https://woo.com/products/redsys-gateway/'
REDSYS_TELEGRAM_SIGNUP_P  = 'https://t.me/wooredsys'
REDSYS_TICKET  = 'https://woo.com/my-account/contact-support/'

Functions

redsys_create_block_bloques_redsys_block_init()  : mixed
Bloque de imagen de visa y mastercard
redsys_imagen_visa_mastercard_enqueue()  : mixed
Enqueue block editor only JavaScript and CSS
redsys_add_invoice_number()  : mixed
Add invoice number to the order list.
redsys_add_invoice_number_value()  : mixed
Add invoice number to the order list.
redsys_add_invoice_number_value_hpos()  : mixed
Add invoice number to the order list.
redsys_add_invoice_number_sortable_colum()  : mixed
Sort by invoice number.
redsys_sort_invoice_orders()  : mixed
Add invoice number to customer email.
redsys_sort_invoice_orders_admin()  : mixed
Add invoice number to customer email.
redsys_add_invoice_number_to_customer_email()  : mixed
Customer_email_invoice_number.
redsys_check_add_invoice_number()  : mixed
Customer_email_invoice_number.
redsys_show_invoice_number()  : mixed
Customer_email_invoice_number.
redsys_use_patterns()  : mixed
Invoice Pattern.
redsys_check_current_year()  : mixed
Redsys Check Current Year.
redsys_register_card_image_widget()  : mixed
Register the widget
WCRed_pay()  : Redsys_Pay_One_Clic
WCRed_pay
redsys_add_oficial_redsys_test()  : mixed
Add test for Redsys to Site Health
redsys_add_oficial_bizum_test()  : mixed
Add test for Bizum to Site Health
redsys_add_test_url_soap_test()  : mixed
Add test for SOAP to Site Health
redsys_add_real_url_soap_test()  : mixed
Add test for SOAP to Site Health
redsys_add_soap_test()  : mixed
Add test for SOAP to Site Health
redsys_oficial_redsys_test()  : array<string|int, mixed>
Test for Redsys Plugin in Site Health
redsys_oficial_bizum_test()  : array<string|int, mixed>
Test for Bizum Plugin in Site Health
redsys_test_url_soap_test()  : array<string|int, mixed>
Test for Redsys Test URL SOAP
redsys_real_url_soap_test()  : array<string|int, mixed>
Test for Redsys Real URL SOAP
redsys_soap_test()  : array<string|int, mixed>
Test for Redsys SOAP
woocommerce_add_gateway_applepay_redsys()  : mixed
Add the gateway to WooCommerce
woocommerce_add_gateway_bizum_checkout_redsys()  : mixed
Add the gateway to WooCommerce
woocommerce_add_gateway_bizum_redsys()  : mixed
Add the gateway to WooCommerce
woocommerce_add_gateway_directdebit_redsys()  : mixed
Add the gateway to woocommerce
woocommerce_add_gateway_googlepay_redsys()  : mixed
Add the gateway to WooCommerce
woocommerce_add_gateway_googlepay_redirection_redsys()  : mixed
Add the gateway to WooCommerce
woocommerce_add_gateway_insite_gateway()  : mixed
Add the gateway to WooCommerce
insite_can_charge_customer()  : bool
Check sutomer can pay for SUMO Subscriptions
insite_renew_sumo_subscription()  : bool
Renew SUMO Subscriptions
woocommerce_add_gateway_masterpass_gateway()  : mixed
Add the gateway to WooCommerce.
woocommerce_add_gateway_paygold_redsys()  : mixed
Add the gateway to woocommerce.
woocommerce_add_gateway_bank_transfer_gateway()  : mixed
Add the gateway to woocommerce.
redsys_can_charge_customer()  : bool
Check sutomer can pay for SUMO Subscriptions
redsys_renew_sumo_subscription()  : bool
Renew SUMO Subscriptions
redsys_custom_api()  : array<string|int, mixed>
Add custom API
serverValidateMerchant()  : mixed
checkImporte()  : mixed
NOTA SOBRE LA LICENCIA DE USO DEL SOFTWARE
checkPedidoNum()  : mixed
checkPedidoAlfaNum()  : mixed
checkFuc()  : mixed
checkMoneda()  : mixed
checkRespuesta()  : mixed
checkFirma()  : mixed
checkAutCode()  : mixed
checkNombreComecio()  : mixed
checkTerminal()  : mixed
generateIdLog()  : mixed
escribirLog()  : mixed
getVersionClave()  : mixed
redsys_add_notice_banner_live()  : mixed
Redsys add noticer banner live
redsys_return_allowed_currencies()  : mixed
Copyright: (C) 2013 - 2024 José Conti
redsys_get_country_code_2()  : array<string|int, mixed>
Get country code.
redsys_get_country_code()  : array<string|int, mixed>
Get country code.
redsys_return_currencies()  : mixed
Copyright: (C) 2013 - 2024 José Conti
plugins_to_deactivate()  : array<string|int, mixed>
Get plugins to deactivate.
redsys_return_dserrors()  : array<string|int, mixed>
Get Redsys errors.
redsys_return_dsresponse()  : array<string|int, mixed>
Get Redsys Response Codes.
redsys_return_insiteerrors()  : array<string|int, mixed>
Get insite errors.
redsys_return_languages()  : array<string|int, mixed>
Get language code.
redsys_return_number_order_type()  : array<string|int, mixed>
Get number order type.
redsys_return_status_paid()  : array<string|int, mixed>
Get status paid.
redsys_return_types()  : array<string|int, mixed>
Get Redsys types.
redsys_return_all_languages_code()  : array<string|int, mixed>
Get Redsys languages.
redsys_qr_get_error()  : mixed
Get QR Error Code
redsys_register_qr_meta_boxes()  : mixed
Register metaboxes.
redsys_qr_metabox_callback()  : mixed
Metabox display callback.
add_redsys_meta_box()  : mixed
Add Redsys metabox to order page
redsys_tab()  : mixed
Add Redsys metabox to order page
redsys_tab_panel()  : mixed
Adding tabs to custom panel.
save_redsys_product()  : mixed
Save Redsys metabox to order page
paygold_metabox()  : mixed
Add PayGold metabox to order page
paygold_meta_box_content()  : mixed
Add PayGold metabox content to order page
paygold_metabox_save()  : mixed
Save the metabox data
redsys_oficial_woocommerce_gateway_redsys_init_check()  : mixed
Copyright: (C) 2013 - 2024 José Conti
redsys_admin_notice_lite_version()  : mixed
Copyright: (C) 2013 - 2024 José Conti
redsys_add_notice_intalled_new()  : mixed
Copyright: (C) 2013 - 2024 José Conti
redsys_add_notice_new_version()  : mixed
Copyright: (C) 2013 - 2024 José Conti
redsys_notice_style()  : mixed
Copyright: (C) 2013 - 2024 José Conti
check_redsys_connected()  : mixed
Copyright: (C) 2013 - 2024 José Conti
paygold_page()  : mixed
Pay Gold Page
redsys_is_private_product()  : mixed
Check if product is private
redsys_make_private()  : mixed
Make private products
redsys_private_product_tab()  : mixed
Adding a custom tab
redsys_private_product_tab_panel()  : mixed
Adding a custom tab panel
redsys_save_private_product()  : mixed
Save the custom fields
redsys_load_scripts_product()  : mixed
Load scripts
redsys_private_product_query()  : mixed
Hide private products from shop
redsys_change_order_received_text()  : mixed
Change the order received text
redsys_send_warning_email_thankyou_page()  : mixed
Send email to admin if order is not marked as paid
redsys_show_recipe_auth()  : mixed
Show receipe in thank you page.
redsys_register_preauthorized_status()  : mixed
Copyright: (C) 2013 - 2024 José Conti
redsys_register_resident_payment_status()  : mixed
Copyright: (C) 2013 - 2024 José Conti
redsys_register_pending_bank_transfer_payment_status()  : mixed
Copyright: (C) 2013 - 2024 José Conti
redsys_register_pending_payment_status()  : mixed
Copyright: (C) 2013 - 2024 José Conti
redsys_add_preauthorized_status()  : mixed
Add registered status to list of WC Order statuses
redsys_add_resident_payment_status()  : mixed
Add registered status to list of WC Order statuses
redsys_add_pending_bank_transfer_payment_status()  : mixed
Add registered status to list of WC Order statuses
redsys_add_pending_payment_status()  : mixed
Add registered status to list of WC Order statuses
redsys_woocommerce_valid_order_statuses_for_payment_complete()  : mixed
Add registered status to list of WC Order statuses
redsys_chekout_button_text()  : mixed
Checkout buton text
redsys_color_button_text()  : mixed
Button color text
redsys_get_customer_shipping_or_billing_zone()  : mixed
Get customer shipping or billing zone.
redsys_calculate_shipping_costs_for_product()  : array<string|int, mixed>
Get shipping costs for a product.
redsys_add_one_click_buy_button()  : mixed
Add One Click Buy Buttons.
redsys_enqueue_custom_scripts()  : mixed
Enqueue custom scripts for Pay With one Click.
redsys_handle_one_click_buy()  : mixed
Handle One Click Buy.
redsys_refresh_checkout_on_payment_methods_change()  : mixed
Refresh checkout on payment methods change.

Constants

REDSYS_ADD_LICENSE

public mixed REDSYS_ADD_LICENSE = 'https://redsys.joseconti.com/product/plugin-woocommerce-redsys-gateway/'

REDSYS_BLOCKS_PATH

public mixed REDSYS_BLOCKS_PATH = \REDSYS_PLUGIN_PATH_P . 'bloques-redsys/'

REDSYS_BLOCKS_URL

public mixed REDSYS_BLOCKS_URL = \REDSYS_PLUGIN_URL_P . 'bloques-redsys/'

REDSYS_CHECK_WOO_CONNECTION

public mixed REDSYS_CHECK_WOO_CONNECTION = \true

REDSYS_INSTALL_URL_P

public mixed REDSYS_INSTALL_URL_P = 'https://redsys.joseconti.com/primeros-pasos-con-redsys-y-woocommerce/'

REDSYS_PLUGIN_API_REDSYS_PATH

public mixed REDSYS_PLUGIN_API_REDSYS_PATH = \REDSYS_PLUGIN_PATH_P . 'includes/api-redsys/'

REDSYS_PLUGIN_CLASS_PATH_P

public mixed REDSYS_PLUGIN_CLASS_PATH_P = \REDSYS_PLUGIN_PATH_P . 'classes/'

REDSYS_PLUGIN_DATA_PATH_P

public mixed REDSYS_PLUGIN_DATA_PATH_P = \REDSYS_PLUGIN_PATH_P . 'includes/data/'

REDSYS_PLUGIN_DATA_URL

public mixed REDSYS_PLUGIN_DATA_URL = \REDSYS_PLUGIN_URL_P . 'includes/data/'

REDSYS_PLUGIN_METABOXES_PATH

public mixed REDSYS_PLUGIN_METABOXES_PATH = \REDSYS_PLUGIN_PATH_P . 'includes/metabox/'

REDSYS_PLUGIN_NOTICE_PATH_P

public mixed REDSYS_PLUGIN_NOTICE_PATH_P = \REDSYS_PLUGIN_PATH_P . 'includes/notices/'

REDSYS_PLUGIN_STATUS_PATH

public mixed REDSYS_PLUGIN_STATUS_PATH = \REDSYS_PLUGIN_PATH_P . 'includes/woo-status/'

REDSYS_POST_PSD2_URL

public mixed REDSYS_POST_PSD2_URL = 'https://redsys.joseconti.com/2019/09/05/redsys-y-psd2-o-sca/'

REDSYS_PRODUCT_ID_WOO

public mixed REDSYS_PRODUCT_ID_WOO = 187871

REDSYS_REVIEW_P

public mixed REDSYS_REVIEW_P = 'https://woo.com/products/redsys-gateway/'

REDSYS_TELEGRAM_SIGNUP_P

public mixed REDSYS_TELEGRAM_SIGNUP_P = 'https://t.me/wooredsys'

REDSYS_TICKET

public mixed REDSYS_TICKET = 'https://woo.com/my-account/contact-support/'

Functions

redsys_create_block_bloques_redsys_block_init()

Bloque de imagen de visa y mastercard

redsys_create_block_bloques_redsys_block_init() : mixed

redsys_imagen_visa_mastercard_enqueue()

Enqueue block editor only JavaScript and CSS

redsys_imagen_visa_mastercard_enqueue() : mixed

redsys_add_invoice_number()

Add invoice number to the order list.

redsys_add_invoice_number(array<string|int, mixed> $columns) : mixed
Parameters
$columns : array<string|int, mixed>

Add Invocien Number to the order list.

redsys_add_invoice_number_value()

Add invoice number to the order list.

redsys_add_invoice_number_value(array<string|int, mixed> $column) : mixed
Parameters
$column : array<string|int, mixed>

column.

redsys_add_invoice_number_value_hpos()

Add invoice number to the order list.

redsys_add_invoice_number_value_hpos(array<string|int, mixed> $column, int $order_id) : mixed
Parameters
$column : array<string|int, mixed>

column.

$order_id : int

order id.

redsys_add_invoice_number_sortable_colum()

Sort by invoice number.

redsys_add_invoice_number_sortable_colum(array<string|int, mixed> $columns) : mixed
Parameters
$columns : array<string|int, mixed>

columns.

redsys_sort_invoice_orders()

Add invoice number to customer email.

redsys_sort_invoice_orders(int $order_id) : mixed
Parameters
$order_id : int

order.

redsys_sort_invoice_orders_admin()

Add invoice number to customer email.

redsys_sort_invoice_orders_admin(int $order_id) : mixed
Parameters
$order_id : int

order id.

redsys_add_invoice_number_to_customer_email()

Customer_email_invoice_number.

redsys_add_invoice_number_to_customer_email(int $order) : mixed
Parameters
$order : int

Order ID.

redsys_check_add_invoice_number()

Customer_email_invoice_number.

redsys_check_add_invoice_number(int $order) : mixed
Parameters
$order : int

Order ID.

redsys_show_invoice_number()

Customer_email_invoice_number.

redsys_show_invoice_number(int $oldnumber, int $order) : mixed
Parameters
$oldnumber : int

Numer.

$order : int

Order ID.

redsys_add_oficial_redsys_test()

Add test for Redsys to Site Health

redsys_add_oficial_redsys_test(array<string|int, mixed> $tests) : mixed
Parameters
$tests : array<string|int, mixed>

Site Health tests.

redsys_add_oficial_bizum_test()

Add test for Bizum to Site Health

redsys_add_oficial_bizum_test(array<string|int, mixed> $tests) : mixed
Parameters
$tests : array<string|int, mixed>

Site Health tests.

redsys_add_test_url_soap_test()

Add test for SOAP to Site Health

redsys_add_test_url_soap_test(array<string|int, mixed> $tests) : mixed
Parameters
$tests : array<string|int, mixed>

Site Health tests.

redsys_add_real_url_soap_test()

Add test for SOAP to Site Health

redsys_add_real_url_soap_test(array<string|int, mixed> $tests) : mixed
Parameters
$tests : array<string|int, mixed>

Site Health tests.

redsys_add_soap_test()

Add test for SOAP to Site Health

redsys_add_soap_test(array<string|int, mixed> $tests) : mixed
Parameters
$tests : array<string|int, mixed>

Site Health tests.

redsys_oficial_redsys_test()

Test for Redsys Plugin in Site Health

redsys_oficial_redsys_test() : array<string|int, mixed>
Return values
array<string|int, mixed>

redsys_oficial_bizum_test()

Test for Bizum Plugin in Site Health

redsys_oficial_bizum_test() : array<string|int, mixed>
Return values
array<string|int, mixed>

redsys_test_url_soap_test()

Test for Redsys Test URL SOAP

redsys_test_url_soap_test() : array<string|int, mixed>
Return values
array<string|int, mixed>

redsys_real_url_soap_test()

Test for Redsys Real URL SOAP

redsys_real_url_soap_test() : array<string|int, mixed>
Return values
array<string|int, mixed>

redsys_soap_test()

Test for Redsys SOAP

redsys_soap_test() : array<string|int, mixed>
Return values
array<string|int, mixed>

woocommerce_add_gateway_applepay_redsys()

Add the gateway to WooCommerce

woocommerce_add_gateway_applepay_redsys(array<string|int, mixed> $methods) : mixed
Parameters
$methods : array<string|int, mixed>

WooCommerce payment methods.

woocommerce_add_gateway_bizum_checkout_redsys()

Add the gateway to WooCommerce

woocommerce_add_gateway_bizum_checkout_redsys(array<string|int, mixed> $methods) : mixed
Parameters
$methods : array<string|int, mixed>

WooCommerce payment methods.

woocommerce_add_gateway_bizum_redsys()

Add the gateway to WooCommerce

woocommerce_add_gateway_bizum_redsys(array<string|int, mixed> $methods) : mixed
Parameters
$methods : array<string|int, mixed>

WooCommerce payment methods.

woocommerce_add_gateway_directdebit_redsys()

Add the gateway to woocommerce

woocommerce_add_gateway_directdebit_redsys(array<string|int, mixed> $methods) : mixed
Parameters
$methods : array<string|int, mixed>

WooCommerce payment methods.

woocommerce_add_gateway_googlepay_redsys()

Add the gateway to WooCommerce

woocommerce_add_gateway_googlepay_redsys(array<string|int, mixed> $methods) : mixed
Parameters
$methods : array<string|int, mixed>

WooCommerce payment methods.

woocommerce_add_gateway_googlepay_redirection_redsys()

Add the gateway to WooCommerce

woocommerce_add_gateway_googlepay_redirection_redsys(array<string|int, mixed> $methods) : mixed
Parameters
$methods : array<string|int, mixed>

WooCommerce payment methods.

woocommerce_add_gateway_insite_gateway()

Add the gateway to WooCommerce

woocommerce_add_gateway_insite_gateway(array<string|int, mixed> $methods) : mixed
Parameters
$methods : array<string|int, mixed>

WooCommerce payment methods.

insite_can_charge_customer()

Check sutomer can pay for SUMO Subscriptions

insite_can_charge_customer(bool $bool, int $subscription_id, obj $renewal_order) : bool
Parameters
$bool : bool

True or false.

$subscription_id : int

Subscription ID.

$renewal_order : obj

Renewal Order.

Return values
bool

insite_renew_sumo_subscription()

Renew SUMO Subscriptions

insite_renew_sumo_subscription(bool $bool, int $subscription_id, obj $renewal_order[, bool $retry = false ]) : bool
Parameters
$bool : bool

True or false.

$subscription_id : int

Subscription ID.

$renewal_order : obj

Renewal Order.

$retry : bool = false

True or false.

Return values
bool

woocommerce_add_gateway_masterpass_gateway()

Add the gateway to WooCommerce.

woocommerce_add_gateway_masterpass_gateway(array<string|int, mixed> $methods) : mixed
Parameters
$methods : array<string|int, mixed>

WooCommerce payment methods.

woocommerce_add_gateway_paygold_redsys()

Add the gateway to woocommerce.

woocommerce_add_gateway_paygold_redsys(array<string|int, mixed> $methods) : mixed
Parameters
$methods : array<string|int, mixed>

Payment methods.

woocommerce_add_gateway_bank_transfer_gateway()

Add the gateway to woocommerce.

woocommerce_add_gateway_bank_transfer_gateway(array<string|int, mixed> $methods) : mixed
Parameters
$methods : array<string|int, mixed>

Payment methods.

redsys_can_charge_customer()

Check sutomer can pay for SUMO Subscriptions

redsys_can_charge_customer(bool $bool, int $subscription_id, obj $renewal_order) : bool
Parameters
$bool : bool

True or false.

$subscription_id : int

Subscription ID.

$renewal_order : obj

Renewal Order.

Return values
bool

redsys_renew_sumo_subscription()

Renew SUMO Subscriptions

redsys_renew_sumo_subscription(bool $bool, int $subscription_id, obj $renewal_order[, bool $retry = false ]) : bool
Parameters
$bool : bool

True or false.

$subscription_id : int

Subscription ID.

$renewal_order : obj

Renewal Order.

$retry : bool = false

True or false.

Return values
bool

redsys_custom_api()

Add custom API

redsys_custom_api(array<string|int, mixed> $controllers) : array<string|int, mixed>
Parameters
$controllers : array<string|int, mixed>

Controllers.

Return values
array<string|int, mixed>

serverValidateMerchant()

serverValidateMerchant(mixed $validationURL) : mixed
Parameters
$validationURL : mixed

checkImporte()

NOTA SOBRE LA LICENCIA DE USO DEL SOFTWARE

checkImporte(mixed $total) : mixed

El uso de este software está sujeto a las Condiciones de uso de software que se incluyen en el paquete en el documento "Aviso Legal.pdf". También puede obtener una copia en la siguiente url: http://www.redsys.es/wps/portal/redsys/publica/areadeserviciosweb/descargaDeDocumentacionYEjecutables

Redsys es titular de todos los derechos de propiedad intelectual e industrial del software.

Quedan expresamente prohibidas la reproducción, la distribución y la comunicación pública, incluida su modalidad de puesta a disposición con fines distintos a los descritos en las Condiciones de uso.

Redsys se reserva la posibilidad de ejercer las acciones legales que le correspondan para hacer valer sus derechos frente a cualquier infracción de los derechos de propiedad intelectual y/o industrial.

Redsys Servicios de Procesamiento, S.L., CIF B85955367

Parameters
$total : mixed

checkPedidoNum()

checkPedidoNum(mixed $pedido) : mixed
Parameters
$pedido : mixed

checkPedidoAlfaNum()

checkPedidoAlfaNum(mixed $pedido) : mixed
Parameters
$pedido : mixed

checkFuc()

checkFuc(mixed $codigo) : mixed
Parameters
$codigo : mixed

checkMoneda()

checkMoneda(mixed $moneda) : mixed
Parameters
$moneda : mixed

checkRespuesta()

checkRespuesta(mixed $respuesta) : mixed
Parameters
$respuesta : mixed

checkFirma()

checkFirma(mixed $firma) : mixed
Parameters
$firma : mixed

checkAutCode()

checkAutCode(mixed $id_trans) : mixed
Parameters
$id_trans : mixed

checkNombreComecio()

checkNombreComecio(mixed $nombre) : mixed
Parameters
$nombre : mixed

checkTerminal()

checkTerminal(mixed $terminal) : mixed
Parameters
$terminal : mixed

escribirLog()

escribirLog(mixed $texto, mixed $activo) : mixed
Parameters
$texto : mixed
$activo : mixed

redsys_add_notice_banner_live()

Redsys add noticer banner live

redsys_add_notice_banner_live() : mixed

redsys_return_allowed_currencies()

Copyright: (C) 2013 - 2024 José Conti

redsys_return_allowed_currencies() : mixed

redsys_get_country_code_2()

Get country code.

redsys_get_country_code_2() : array<string|int, mixed>
Return values
array<string|int, mixed>

redsys_get_country_code()

Get country code.

redsys_get_country_code() : array<string|int, mixed>
Return values
array<string|int, mixed>

redsys_return_currencies()

Copyright: (C) 2013 - 2024 José Conti

redsys_return_currencies() : mixed

plugins_to_deactivate()

Get plugins to deactivate.

plugins_to_deactivate() : array<string|int, mixed>
Return values
array<string|int, mixed>

redsys_return_dserrors()

Get Redsys errors.

redsys_return_dserrors() : array<string|int, mixed>
Return values
array<string|int, mixed>

redsys_return_dsresponse()

Get Redsys Response Codes.

redsys_return_dsresponse() : array<string|int, mixed>
Return values
array<string|int, mixed>

redsys_return_insiteerrors()

Get insite errors.

redsys_return_insiteerrors() : array<string|int, mixed>
Return values
array<string|int, mixed>

redsys_return_languages()

Get language code.

redsys_return_languages() : array<string|int, mixed>
Return values
array<string|int, mixed>

redsys_return_number_order_type()

Get number order type.

redsys_return_number_order_type() : array<string|int, mixed>
Return values
array<string|int, mixed>

redsys_return_status_paid()

Get status paid.

redsys_return_status_paid() : array<string|int, mixed>
Return values
array<string|int, mixed>

redsys_return_types()

Get Redsys types.

redsys_return_types() : array<string|int, mixed>
Return values
array<string|int, mixed>

redsys_return_all_languages_code()

Get Redsys languages.

redsys_return_all_languages_code() : array<string|int, mixed>
Return values
array<string|int, mixed>

redsys_qr_get_error()

Get QR Error Code

redsys_qr_get_error(string $error) : mixed
Parameters
$error : string

Error code.

redsys_register_qr_meta_boxes()

Register metaboxes.

redsys_register_qr_meta_boxes() : mixed

redsys_qr_metabox_callback()

Metabox display callback.

redsys_qr_metabox_callback(WP_Post $post) : mixed
Parameters
$post : WP_Post

Current post object.

add_redsys_meta_box()

Add Redsys metabox to order page

add_redsys_meta_box(WP_Post $post_or_order_object) : mixed
Parameters
$post_or_order_object : WP_Post

Post object.

redsys_tab()

Add Redsys metabox to order page

redsys_tab(array<string|int, mixed> $tabs) : mixed
Parameters
$tabs : array<string|int, mixed>

Tabs.

redsys_tab_panel()

Adding tabs to custom panel.

redsys_tab_panel() : mixed

save_redsys_product()

Save Redsys metabox to order page

save_redsys_product(int $post_id) : mixed
Parameters
$post_id : int

Post ID.

paygold_metabox()

Add PayGold metabox to order page

paygold_metabox(object $post_or_order_object) : mixed
Parameters
$post_or_order_object : object

Order Object.

paygold_meta_box_content()

Add PayGold metabox content to order page

paygold_meta_box_content(object $post) : mixed
Parameters
$post : object

Post Object.

paygold_metabox_save()

Save the metabox data

paygold_metabox_save(int $order_id) : mixed
Parameters
$order_id : int

Order ID.

redsys_oficial_woocommerce_gateway_redsys_init_check()

Copyright: (C) 2013 - 2024 José Conti

redsys_oficial_woocommerce_gateway_redsys_init_check() : mixed

redsys_admin_notice_lite_version()

Copyright: (C) 2013 - 2024 José Conti

redsys_admin_notice_lite_version() : mixed

redsys_add_notice_intalled_new()

Copyright: (C) 2013 - 2024 José Conti

redsys_add_notice_intalled_new() : mixed

redsys_add_notice_new_version()

Copyright: (C) 2013 - 2024 José Conti

redsys_add_notice_new_version() : mixed

redsys_notice_style()

Copyright: (C) 2013 - 2024 José Conti

redsys_notice_style() : mixed

check_redsys_connected()

Copyright: (C) 2013 - 2024 José Conti

check_redsys_connected() : mixed

redsys_is_private_product()

Check if product is private

redsys_is_private_product(int $user_id, int $product_id) : mixed
Parameters
$user_id : int

User ID.

$product_id : int

Product ID.

redsys_make_private()

Make private products

redsys_make_private() : mixed

redsys_private_product_tab()

Adding a custom tab

redsys_private_product_tab(array<string|int, mixed> $tabs) : mixed
Parameters
$tabs : array<string|int, mixed>

Tabs.

redsys_private_product_tab_panel()

Adding a custom tab panel

redsys_private_product_tab_panel() : mixed

redsys_save_private_product()

Save the custom fields

redsys_save_private_product(int $post_id) : mixed
Parameters
$post_id : int

Post ID.

redsys_load_scripts_product()

Load scripts

redsys_load_scripts_product() : mixed

redsys_private_product_query()

Hide private products from shop

redsys_private_product_query(object $q) : mixed
Parameters
$q : object

Query.

redsys_change_order_received_text()

Change the order received text

redsys_change_order_received_text(string $text, object $order) : mixed
Parameters
$text : string

The text.

$order : object

The order.

redsys_send_warning_email_thankyou_page()

Send email to admin if order is not marked as paid

redsys_send_warning_email_thankyou_page(int $order_id) : mixed
Parameters
$order_id : int

Order ID.

redsys_show_recipe_auth()

Show receipe in thank you page.

redsys_show_recipe_auth(string $text, object $order) : mixed
Parameters
$text : string

Text.

$order : object

Order.

redsys_register_preauthorized_status()

Copyright: (C) 2013 - 2024 José Conti

redsys_register_preauthorized_status() : mixed

redsys_register_resident_payment_status()

Copyright: (C) 2013 - 2024 José Conti

redsys_register_resident_payment_status() : mixed

redsys_register_pending_bank_transfer_payment_status()

Copyright: (C) 2013 - 2024 José Conti

redsys_register_pending_bank_transfer_payment_status() : mixed

redsys_register_pending_payment_status()

Copyright: (C) 2013 - 2024 José Conti

redsys_register_pending_payment_status() : mixed

redsys_add_preauthorized_status()

Add registered status to list of WC Order statuses

redsys_add_preauthorized_status(array<string|int, mixed> $wc_statuses_arr) : mixed
Parameters
$wc_statuses_arr : array<string|int, mixed>

Array of all order statuses on the website.

redsys_add_resident_payment_status()

Add registered status to list of WC Order statuses

redsys_add_resident_payment_status(array<string|int, mixed> $wc_statuses_arr) : mixed
Parameters
$wc_statuses_arr : array<string|int, mixed>

Array of all order statuses on the website.

redsys_add_pending_bank_transfer_payment_status()

Add registered status to list of WC Order statuses

redsys_add_pending_bank_transfer_payment_status(array<string|int, mixed> $wc_statuses_arr) : mixed
Parameters
$wc_statuses_arr : array<string|int, mixed>

Array of all order statuses on the website.

redsys_add_pending_payment_status()

Add registered status to list of WC Order statuses

redsys_add_pending_payment_status(array<string|int, mixed> $wc_statuses_arr) : mixed
Parameters
$wc_statuses_arr : array<string|int, mixed>

Array of all order statuses on the website.

redsys_woocommerce_valid_order_statuses_for_payment_complete()

Add registered status to list of WC Order statuses

redsys_woocommerce_valid_order_statuses_for_payment_complete(array<string|int, mixed> $statuses) : mixed
Parameters
$statuses : array<string|int, mixed>

Array of all order statuses on the website.

redsys_chekout_button_text()

Checkout buton text

redsys_chekout_button_text(string $order_button_text) : mixed
Parameters
$order_button_text : string

Button text.

redsys_color_button_text()

Button color text

redsys_color_button_text(string $html) : mixed
Parameters
$html : string

Button text.

redsys_get_customer_shipping_or_billing_zone()

Get customer shipping or billing zone.

redsys_get_customer_shipping_or_billing_zone() : mixed

redsys_calculate_shipping_costs_for_product()

Get shipping costs for a product.

redsys_calculate_shipping_costs_for_product(WC_Product $product, WC_Shipping_Zone $shipping_zone) : array<string|int, mixed>
Parameters
$product : WC_Product

Product.

$shipping_zone : WC_Shipping_Zone

Shipping zone.

Return values
array<string|int, mixed>

Shipping costs.

redsys_add_one_click_buy_button()

Add One Click Buy Buttons.

redsys_add_one_click_buy_button() : mixed

redsys_enqueue_custom_scripts()

Enqueue custom scripts for Pay With one Click.

redsys_enqueue_custom_scripts() : mixed

redsys_handle_one_click_buy()

Handle One Click Buy.

redsys_handle_one_click_buy() : mixed

redsys_refresh_checkout_on_payment_methods_change()

Refresh checkout on payment methods change.

redsys_refresh_checkout_on_payment_methods_change() : mixed

Search results