Documentation

class-wc-gateway-insite-redsys.php

WooCommerce Redsys Gateway InSite Class.

Tags
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

Classes

WC_Gateway_InSite_Redsys
Gateway class

Functions

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

Functions

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

        
On this page

Search results