atpCustom Reference

payment_gw_paythen extends abstract_extension
in package

Extension: payment_gw_paythen - WooCommerce Paythen - ATP Custom Plugin for WordPress

Tags
category

WordPress Plugin

author

Kevin Burkholder KBurkholder@EarthAsylum.com

copyright

Copyright (c) 2026 American Telecast Products

uses
abstract_extension

Table of Contents

ENABLE_OPTION  = 'Paythen Payments'
GATEWAY_ID  = 'paythen'
VERSION  = '26.0605.1'
$chatId  : string
$table  : string
__construct()  : mixed
constructor method
addActionsAndFilters()  : mixed
Add filters and actions - called from main plugin
admin_options_help()  : mixed
Add help tab on admin page
admin_options_settings()  : mixed
register options on options_settings_page
initialize()  : void
initialize method - called from main plugin
paythen_confirmation()  : null
Payment confirmation
paythen_description()  : mixed
Set the description
paythen_max_installments()  : mixed
Set the max payment installments
paythen_redirect()  : mixed
alter paythen redirect url
paythen_validate()  : null
Validate the request
remove_payment_gateways()  : mixed
remove a payment gateway - only paythen for payment plans

Constants

ENABLE_OPTION

public string|array<string|int, mixed>|bool ENABLE_OPTION = 'Paythen Payments'

to set (or disable) default group display/switch

Properties

Methods

__construct()

constructor method

public __construct(object $plugin) : mixed
Parameters
$plugin : object

main plugin object

Return values
mixed

addActionsAndFilters()

Add filters and actions - called from main plugin

public addActionsAndFilters() : mixed
Return values
mixed

admin_options_settings()

register options on options_settings_page

public admin_options_settings() : mixed
Tags
access

public

Return values
mixed

paythen_confirmation()

Payment confirmation

public paythen_confirmation(int $order_id) : null
Parameters
$order_id : int
Return values
null

paythen_description()

Set the description

public paythen_description(mixed $value) : mixed
Parameters
$value : mixed
Return values
mixed

paythen_max_installments()

Set the max payment installments

public paythen_max_installments(mixed $value) : mixed
Parameters
$value : mixed
Return values
mixed

paythen_redirect()

alter paythen redirect url

public paythen_redirect(mixed $location[, mixed $status = null ]) : mixed
Parameters
$location : mixed
$status : mixed = null
Return values
mixed

paythen_validate()

Validate the request

public paythen_validate(array<string|int, mixed> $fields, mixed $errors) : null
Parameters
$fields : array<string|int, mixed>

form fields

$errors : mixed
Return values
null

remove_payment_gateways()

remove a payment gateway - only paythen for payment plans

public remove_payment_gateways(mixed $gateways) : mixed

woocommerce_available_payment_gateways

Parameters
$gateways : mixed
Return values
mixed

Search results