Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- add_hook('OrderPaid', 1, function($vars) {
- $command = 'OpenTicket';
- $postData = array(
- 'deptid' => '1',
- 'subject' => 'New Service Installation',
- 'message' => 'Hello, ',
- 'clientid' => 44,
- 'priority' => 'Medium',
- 'markdown' => true,
- );
- $results = localAPI($command, $postData, $adminUsername);
- print_r($results);
- });
Add Comment
Please, Sign In to add comment