امتیازها
113
راهحلها
27
- محل سکونت
- England
- نوشتهها
- 26,276
- تاریخ ثبتنام
- ۱۳۹۹٫۰۴٫۰۶
- پسندها
- 3,286
- سن
- 29
- وب سایت
- xenforo.xyz
- نسخه PHP
- 7.3
- نسخه زنفورو
- xenforo 2.2
Hello!
Im trying to make a validation for WHMCS, but the API returns: Please enter a validation token
PHP:
Read more
Im trying to make a validation for WHMCS, but the API returns: Please enter a validation token
PHP:
کد:
<?php
add_hook('ShoppingCartValidateProductUpdate', 1, function($vars) {
$json = json_encode($vars[customfield]);
$transform = json_decode($json, true);
$url = 'https://xenforo.com/customer-api/license-lookup.json';
$data = array(
'token' => $transform[6],
'domain' => $transform[2]
);
$payload = json_encode($data)...
Read more
