Documentation

one-clic-button.php

One Click Buy Button.

Tags
since
23.2.0
author

José Conti.

link
https://joseconti.com
link
https://redsys.joseconti.com
link
https://woo.com/products/redsys-gateway/
license

GNU General Public License v3.0

license

URI: http://www.gnu.org/licenses/gpl-3.0.html

copyright

2013-2024 José Conti.

Table of Contents

Functions

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.

Functions

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

        
On this page

Search results