eeco_logo_svg Created with Sketch.

WooCommerce Smartum Gateway

WC_Smartum_Gateway_Handler
in package

handle the smartum api redirect

Table of Contents

$gateway  : mixed
__construct()  : mixed
add action for handling the response
handle_order()  : mixed
check if response was valid and update order
jwt_is_valid()  : bool
validate the jwt token

Properties

Methods

handle_order()

check if response was valid and update order

public handle_order(int $id) : mixed
Parameters
$id : int

Order id

Return values
mixed

jwt_is_valid()

validate the jwt token

private jwt_is_valid(string $jwt) : bool
Parameters
$jwt : string

The jwt token

Return values
bool

Whether jwt token is valid or not


        

Search results