eeco_logo_svg Created with Sketch.

WooCommerce Smartum Gateway

Application

Interfaces, Classes and Traits

Eeco_Smartum_Update_Client
Client for our API handling plugin updates and license validation.
HookDocsGenerator
Generate documentation for hooks in WC
WC_Smartum_Gateway_Admin
class for handling the admin side of things
WC_smartum_gateway_api
handles the smartum api
WC_Smartum_Gateway_Handler
handle the smartum api redirect
WC_Smartum_Gateway
Smartum_Gateway_For_Woocommerce
initializing the plugin and loading all the necessary files

Table of Contents

WCG_SMARTUM_DEBUG_MODE  = FALSE
WCG_SMARTUM_PATH  = untrailingslashit(plugin_dir_path(__FILE__))
WCG_SMARTUM_PRODUCTION  = '-----BEGIN PUBLIC KEY----- MIGbMBAGByqGSM49AgEGBSuBBAAjA4GGAAQA4c5s+DBP4novRcrtjuPwjb5jzcoUsStZrh1dMoKJyTz6+McVmBNlLsTNMGLLWCpGj7ubbBhSvyWQojJkSt8h8wwAffURUcre8DsKtO0XJbtAMBGs+NIQzZCFhyeIqA2LgW7b/ToNNbZgvQGpFRk2X3qhjEtGUGlUWHDobVU/nNKZa6U= -----END PUBLIC KEY-----'
WCG_SMARTUM_STAGING  = '-----BEGIN PUBLIC KEY----- MIGbMBAGByqGSM49AgEGBSuBBAAjA4GGAAQAe8rGH96EqvqcIg+DQ/9q8bM+fH1k/31Pw1kCESxdOQ0jy+zIpgZ3SN3U9I7aBKugZe1cejygJBpFNvORPzaIzBEAaJ367fnNZG2chabdJEsUW5qcrffCQNlfcYXvMeZPbps3P3ofwY+Qd2+kpbIUi+Y48n+xe9pEVS5dkH+2lk1DUQc= -----END PUBLIC KEY-----'
WCG_SMARTUM_VERSION  = '1.2.4'
eeco_smartum_get_payment_gateway_settings()  : array<string|int, mixed>
get custom payment gateway settings with defaults
eeco_smartum_benefit_types()  : array<string|int, mixed>
Returns a list of smartum benefit types and the translations

Constants

WCG_SMARTUM_PRODUCTION

public mixed WCG_SMARTUM_PRODUCTION = '-----BEGIN PUBLIC KEY----- MIGbMBAGByqGSM49AgEGBSuBBAAjA4GGAAQA4c5s+DBP4novRcrtjuPwjb5jzcoUsStZrh1dMoKJyTz6+McVmBNlLsTNMGLLWCpGj7ubbBhSvyWQojJkSt8h8wwAffURUcre8DsKtO0XJbtAMBGs+NIQzZCFhyeIqA2LgW7b/ToNNbZgvQGpFRk2X3qhjEtGUGlUWHDobVU/nNKZa6U= -----END PUBLIC KEY-----'

WCG_SMARTUM_STAGING

public mixed WCG_SMARTUM_STAGING = '-----BEGIN PUBLIC KEY----- MIGbMBAGByqGSM49AgEGBSuBBAAjA4GGAAQAe8rGH96EqvqcIg+DQ/9q8bM+fH1k/31Pw1kCESxdOQ0jy+zIpgZ3SN3U9I7aBKugZe1cejygJBpFNvORPzaIzBEAaJ367fnNZG2chabdJEsUW5qcrffCQNlfcYXvMeZPbps3P3ofwY+Qd2+kpbIUi+Y48n+xe9pEVS5dkH+2lk1DUQc= -----END PUBLIC KEY-----'

Functions

eeco_smartum_get_payment_gateway_settings()

get custom payment gateway settings with defaults

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

eeco_smartum_benefit_types()

Returns a list of smartum benefit types and the translations

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

Benefits

Search results