在收到并记录支付网关回调时运行。
参数
变量 | 类型 | 注意 |
---|---|---|
gateway | string | 支付网关名称 |
data | string | 收到的所有发布数据的字符串格式版本 |
result | string | 网关模块返回的状态 |
响应
不支持响应
示例代码
<?php
add_hook('LogTransaction', 1, function($vars) {
// Perform hook code here...
});
相关用法
- PHP WHMCS LogActivity用法及代码示例
- PHP WHMCS ListOAuthCredentials用法及代码示例
- PHP WHMCS LicensingAddonVerify用法及代码示例
- PHP WHMCS LinkTracker用法及代码示例
- PHP WHMCS LicensingAddonReissue用法及代码示例
- PHP WHMCS ClientAreaPageDownloads用法及代码示例
- PHP Ds\Map isEmpty()用法及代码示例
- PHP PHPUnit assertIsNotFloat()用法及代码示例
- PHP disk_total_space()用法及代码示例
- PHP ReflectionClass getTraitAliases()用法及代码示例
- PHP hash_hmac()用法及代码示例
- PHP String wordwrap()用法及代码示例
- PHP XMLWriter endPi()用法及代码示例
- PHP SimpleXMLElement children()用法及代码示例
- PHP IntlCalendar getTimeZone()用法及代码示例
- PHP SplPriorityQueue isCorrupted()用法及代码示例
- PHP XMLReader::getParserProperty()用法及代码示例
- PHP imagegif()用法及代码示例
- PHP imageresolution()用法及代码示例
- PHP array_reverse()用法及代码示例
- PHP IntlCalendar getActualMinimum()用法及代码示例
- PHP WHMCS DomainGetWhoisInfo用法及代码示例
- PHP metaphone()用法及代码示例
- PHP WHMCS ClientAreaHeaderOutput用法及代码示例
- PHP imagebmp()用法及代码示例
注:本文由纯净天空筛选整理自whmcs.com大神的英文原创作品 LogTransaction。非经特殊声明,原始代码版权归原作者所有,本译文未经允许或授权,请勿转载或复制。