class-wc-gateway-insite-redsys.php
WooCommerce Redsys Gateway InSite Class.
Tags
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
boolinsite_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.