{"action":"created","comment":{"url":"https://api.github.com/repos/paymentwall/module-whmcs/pulls/comments/42648694","id":42648694,"diff_hunk":"@@ -27,79 +29,120 @@\n     $userData = mysql_fetch_assoc(select_query('tblclients', 'email, firstname, lastname, country, address1, state, phonenumber, postcode, city, id', array(\"id\" => $orderData['userid'])));\r\n \r\n     if ($pingback->isDeliverable()) {\r\n-\r\n-        addInvoicePayment($invoiceid, $pingback->getReferenceId(), null, null, 'paymentwall');\r\n-        logTransaction($gateway[\"name\"], $_GET, \"Successful\");\r\n-\r\n-        // Check enable delivery request\r\n-        if (isset($gateway['enableDeliveryApi']) && $gateway['enableDeliveryApi'] != '') {\r\n-\r\n-            $invoiceData = localAPI('getinvoice', array('invoiceid' => $invoiceid));\r\n-            $hostId = false;\r\n-\r\n-            // Get invoice product\r\n-            foreach ($invoiceData['items']['item'] as $item) {\r\n-                if ($item['relid'] != 0 && $item['type'] == 'Hosting') {\r\n-                    $hostId = $item['relid'];\r\n-                }\r\n-            }\r\n-\r\n-            // Get products detail\r\n-            if ($hostId && $hosting = mysql_fetch_assoc(select_query(\r\n-                    'tblhosting',\r\n-                    'tblhosting.id,tblhosting.username,tblproducts.autosetup,tblhosting.packageid',\r\n-                    array(\"tblhosting.id\" => $hostId), false, false, 1,\r\n-                    \"tblproducts ON tblhosting.packageid=tblproducts.id\"\r\n-                ))\r\n-            ) {\r\n-\r\n-                // Get Delivery data from DB\r\n-                $deliveryData = mysql_fetch_assoc(select_query('pw_delivery_data', '*', array(\r\n-                    \"package_id\" => $hosting['packageid'],\r\n-                    \"user_id\" => $userData['id'],\r\n-                    \"username\" => $hosting['username'],\r\n-                    \"order_id\" => $orderData['id'],\r\n-                    \"status\" => \"unsent\",\r\n-                )));\r\n-\r\n-                if ($deliveryData) {\r\n-                    $data = array_merge(array(\r\n-                        'payment_id' => $pingback->getReferenceId(),\r\n-                        'status' => 'delivered',\r\n-                        'estimated_delivery_datetime' => date('Y/m/d H:i:s'),\r\n-                        'estimated_update_datetime' => date('Y/m/d H:i:s'),\r\n-                        'details' => 'Item will be delivered via email by ' . date('Y/m/d H:i:s')\r\n-                    ),\r\n-                        json_decode($deliveryData['data'], true));\r\n-\r\n-                    send_delivery($data);\r\n-\r\n-                    // Update status\r\n-                    update_query('pw_delivery_data', array(\r\n-                        'status' => 'sent',\r\n-                        'reference_id' => $pingback->getReferenceId(),\r\n-                        'invoice_id' => $invoiceid,\r\n-                        'data' => json_encode($data),\r\n-                        'updated_date' => time(),\r\n-                    ), array(\r\n-                        'id' => $deliveryData['id']\r\n-                    ));\r\n-                }\r\n-            }\r\n-\r\n-        }\r\n+        processDeliverable($invoiceid, $pingback, $gateway, $userData, $orderData);\r\n     } elseif ($pingback->isCancelable()) {\r\n+        // WHMCS not supported\r\n         logTransaction($gateway[\"name\"], $_GET, \"Not Supported\");\r\n+        die(\"Not Supported\");\r\n+    } else {\r\n+        switch ($pingback->getType()) {\r\n+            case Paymentwall_Pingback::PINGBACK_TYPE_SUBSCRIPTION_EXPIRED:\r\n+            case Paymentwall_Pingback::PINGBACK_TYPE_SUBSCRIPTION_PAYMENT_FAILED:\r\n+                // Do not process transaction\r\n+                break;\r\n+            case Paymentwall_Pingback::PINGBACK_TYPE_SUBSCRIPTION_CANCELLATION:\r\n+                // Cancel Recurring billing\r\n+                updateSubscriptionId('', array('subscriptionid' => $pingback->getReferenceId()));\r\n+                break;\r\n+        }\r\n+        logTransaction($gateway['name'], $_GET, \"Successful\");\r\n     }\r\n     echo 'OK';\r\n } else {\r\n     echo $pingback->getErrorSummary();\r\n     logTransaction($gateway[\"name\"], $_GET, \"Unsuccessful\");\r\n }\r\n-die();\r\n \r\n-function send_delivery($data)\r\n+/**\r\n+ * @param $invoiceid\r\n+ * @param $pingback\r\n+ * @param $gateway\r\n+ * @param $userData\r\n+ * @param $orderData\r\n+ */\r\n+function processDeliverable($invoiceid, $pingback, $gateway, $userData, $orderData)\r\n {\r\n-    $delivery = new Paymentwall_GenerericApiObject('delivery');\r\n-    $response = $delivery->post($data);\r\n+    addInvoicePayment($invoiceid, $pingback->getReferenceId(), null, null, 'paymentwall');\r\n+\r\n+    $invoiceItems = select_query(\r\n+        'tblinvoiceitems',\r\n+        '*',\r\n+        array(\"invoiceid\" => $invoiceid));\r\n+\r\n+    $hostId = false;\r\n+    $hosting = false;\r\n+    // Get invoice products\r\n+    while ($item = mysql_fetch_assoc($invoiceItems)) {\r\n+        if ($item['relid'] != 0 && $item['type'] == PW_WHMCS_ITEM_TYPE_HOSTING) {\r\n+            $hostId = $item['relid'];\r\n+            break;\r\n+        }\r\n+    }\r\n+\r\n+    if ($hostId) {\r\n+        $hosting = mysql_fetch_assoc(select_query(\r\n+            'tblhosting', // table name\r\n+            'tblhosting.id,tblhosting.username,tblproducts.autosetup,tblhosting.packageid', // fields name\r\n+            array(\"tblhosting.id\" => $hostId), // where conditions\r\n+            false, // order by\r\n+            false, // order by order\r\n+            1, // limit\r\n+            \"tblproducts ON tblhosting.packageid=tblproducts.id\" // join\r\n+        ));\r\n+    }\r\n+\r\n+    // Update subscription id\r\n+    if ($hosting) {\r\n+        updateSubscriptionId($pingback->getReferenceId(), array('id' => $hosting['id']));\r\n+    }\r\n+\r\n+    // Check enable delivery request\r\n+    if (isset($gateway['enableDeliveryApi']) && $gateway['enableDeliveryApi'] && $hosting) {\r\n+\r\n+        // Get Delivery data from DB\r\n+        $deliveryData = mysql_fetch_assoc(select_query('pw_delivery_data', '*', array(\r\n+            \"package_id\" => $hosting['packageid'],\r\n+            \"user_id\" => $userData['id'],\r\n+            \"username\" => $hosting['username'],\r\n+            \"order_id\" => $orderData['id'],\r\n+            \"status\" => \"unsent\",\r\n+        )));\r\n+\r\n+        if ($deliveryData) {\r\n+            $data = array_merge(array(\r\n+                'payment_id' => $pingback->getReferenceId(),\r\n+                'status' => 'delivered',\r\n+                'estimated_delivery_datetime' => date('Y/m/d H:i:s'),\r\n+                'estimated_update_datetime' => date('Y/m/d H:i:s'),\r\n+                'details' => 'Item will be delivered via email by ' . date('Y/m/d H:i:s')\r\n+            ),\r\n+                json_decode($deliveryData['data'], true));\r\n+\r\n+            $delivery = new Paymentwall_GenerericApiObject('delivery');\r\n+            $response = $delivery->post($data);\r\n+\r\n+            // Update status\r\n+            update_query('pw_delivery_data', array(\r\n+                'status' => 'sent',\r\n+                'reference_id' => $pingback->getReferenceId(),\r\n+                'invoice_id' => $invoiceid,\r\n+                'data' => json_encode($data),\r\n+                'updated_date' => time(),\r\n+            ), array(\r\n+                'id' => $deliveryData['id']\r\n+            ));\r\n+        }\r\n+\r","path":"src/modules/gateways/callback/paymentwall.php","position":181,"original_position":181,"commit_id":"4205cfd4d93d99e055c2743e281f9855d3f01552","original_commit_id":"4205cfd4d93d99e055c2743e281f9855d3f01552","user":{"login":"davex69","id":1830504,"avatar_url":"https://avatars.githubusercontent.com/u/1830504?v=3","gravatar_id":"","url":"https://api.github.com/users/davex69","html_url":"https://github.com/davex69","followers_url":"https://api.github.com/users/davex69/followers","following_url":"https://api.github.com/users/davex69/following{/other_user}","gists_url":"https://api.github.com/users/davex69/gists{/gist_id}","starred_url":"https://api.github.com/users/davex69/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davex69/subscriptions","organizations_url":"https://api.github.com/users/davex69/orgs","repos_url":"https://api.github.com/users/davex69/repos","events_url":"https://api.github.com/users/davex69/events{/privacy}","received_events_url":"https://api.github.com/users/davex69/received_events","type":"User","site_admin":false},"body":"move to sendDeliveryApiRequest() method","created_at":"2015-10-21T16:38:45Z","updated_at":"2015-10-21T16:38:45Z","html_url":"https://github.com/paymentwall/module-whmcs/pull/11#discussion_r42648694","pull_request_url":"https://api.github.com/repos/paymentwall/module-whmcs/pulls/11","_links":{"self":{"href":"https://api.github.com/repos/paymentwall/module-whmcs/pulls/comments/42648694"},"html":{"href":"https://github.com/paymentwall/module-whmcs/pull/11#discussion_r42648694"},"pull_request":{"href":"https://api.github.com/repos/paymentwall/module-whmcs/pulls/11"}}},"pull_request":{"url":"https://api.github.com/repos/paymentwall/module-whmcs/pulls/11","id":47140827,"html_url":"https://github.com/paymentwall/module-whmcs/pull/11","diff_url":"https://github.com/paymentwall/module-whmcs/pull/11.diff","patch_url":"https://github.com/paymentwall/module-whmcs/pull/11.patch","issue_url":"https://api.github.com/repos/paymentwall/module-whmcs/issues/11","number":11,"state":"open","locked":false,"title":"Add Recurring support and update latest lib","user":{"login":"dzung2t","id":6998801,"avatar_url":"https://avatars.githubusercontent.com/u/6998801?v=3","gravatar_id":"","url":"https://api.github.com/users/dzung2t","html_url":"https://github.com/dzung2t","followers_url":"https://api.github.com/users/dzung2t/followers","following_url":"https://api.github.com/users/dzung2t/following{/other_user}","gists_url":"https://api.github.com/users/dzung2t/gists{/gist_id}","starred_url":"https://api.github.com/users/dzung2t/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dzung2t/subscriptions","organizations_url":"https://api.github.com/users/dzung2t/orgs","repos_url":"https://api.github.com/users/dzung2t/repos","events_url":"https://api.github.com/users/dzung2t/events{/privacy}","received_events_url":"https://api.github.com/users/dzung2t/received_events","type":"User","site_admin":false},"body":"* Add Recurring support\r\n* Update latest lib","created_at":"2015-10-08T11:27:02Z","updated_at":"2015-10-21T16:38:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9e65c84f3b8562eb98e03df37eac329de8a2c3f8","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/paymentwall/module-whmcs/pulls/11/commits","review_comments_url":"https://api.github.com/repos/paymentwall/module-whmcs/pulls/11/comments","review_comment_url":"https://api.github.com/repos/paymentwall/module-whmcs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/paymentwall/module-whmcs/issues/11/comments","statuses_url":"https://api.github.com/repos/paymentwall/module-whmcs/statuses/4205cfd4d93d99e055c2743e281f9855d3f01552","head":{"label":"dzung2t:master","ref":"master","sha":"4205cfd4d93d99e055c2743e281f9855d3f01552","user":{"login":"dzung2t","id":6998801,"avatar_url":"https://avatars.githubusercontent.com/u/6998801?v=3","gravatar_id":"","url":"https://api.github.com/users/dzung2t","html_url":"https://github.com/dzung2t","followers_url":"https://api.github.com/users/dzung2t/followers","following_url":"https://api.github.com/users/dzung2t/following{/other_user}","gists_url":"https://api.github.com/users/dzung2t/gists{/gist_id}","starred_url":"https://api.github.com/users/dzung2t/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dzung2t/subscriptions","organizations_url":"https://api.github.com/users/dzung2t/orgs","repos_url":"https://api.github.com/users/dzung2t/repos","events_url":"https://api.github.com/users/dzung2t/events{/privacy}","received_events_url":"https://api.github.com/users/dzung2t/received_events","type":"User","site_admin":false},"repo":{"id":39122520,"name":"module-whmcs","full_name":"dzung2t/module-whmcs","owner":{"login":"dzung2t","id":6998801,"avatar_url":"https://avatars.githubusercontent.com/u/6998801?v=3","gravatar_id":"","url":"https://api.github.com/users/dzung2t","html_url":"https://github.com/dzung2t","followers_url":"https://api.github.com/users/dzung2t/followers","following_url":"https://api.github.com/users/dzung2t/following{/other_user}","gists_url":"https://api.github.com/users/dzung2t/gists{/gist_id}","starred_url":"https://api.github.com/users/dzung2t/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dzung2t/subscriptions","organizations_url":"https://api.github.com/users/dzung2t/orgs","repos_url":"https://api.github.com/users/dzung2t/repos","events_url":"https://api.github.com/users/dzung2t/events{/privacy}","received_events_url":"https://api.github.com/users/dzung2t/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dzung2t/module-whmcs","description":"Paymentwall Integration Module for WHMCS","fork":true,"url":"https://api.github.com/repos/dzung2t/module-whmcs","forks_url":"https://api.github.com/repos/dzung2t/module-whmcs/forks","keys_url":"https://api.github.com/repos/dzung2t/module-whmcs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dzung2t/module-whmcs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dzung2t/module-whmcs/teams","hooks_url":"https://api.github.com/repos/dzung2t/module-whmcs/hooks","issue_events_url":"https://api.github.com/repos/dzung2t/module-whmcs/issues/events{/number}","events_url":"https://api.github.com/repos/dzung2t/module-whmcs/events","assignees_url":"https://api.github.com/repos/dzung2t/module-whmcs/assignees{/user}","branches_url":"https://api.github.com/repos/dzung2t/module-whmcs/branches{/branch}","tags_url":"https://api.github.com/repos/dzung2t/module-whmcs/tags","blobs_url":"https://api.github.com/repos/dzung2t/module-whmcs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dzung2t/module-whmcs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dzung2t/module-whmcs/git/refs{/sha}","trees_url":"https://api.github.com/repos/dzung2t/module-whmcs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dzung2t/module-whmcs/statuses/{sha}","languages_url":"https://api.github.com/repos/dzung2t/module-whmcs/languages","stargazers_url":"https://api.github.com/repos/dzung2t/module-whmcs/stargazers","contributors_url":"https://api.github.com/repos/dzung2t/module-whmcs/contributors","subscribers_url":"https://api.github.com/repos/dzung2t/module-whmcs/subscribers","subscription_url":"https://api.github.com/repos/dzung2t/module-whmcs/subscription","commits_url":"https://api.github.com/repos/dzung2t/module-whmcs/commits{/sha}","git_commits_url":"https://api.github.com/repos/dzung2t/module-whmcs/git/commits{/sha}","comments_url":"https://api.github.com/repos/dzung2t/module-whmcs/comments{/number}","issue_comment_url":"https://api.github.com/repos/dzung2t/module-whmcs/issues/comments{/number}","contents_url":"https://api.github.com/repos/dzung2t/module-whmcs/contents/{+path}","compare_url":"https://api.github.com/repos/dzung2t/module-whmcs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dzung2t/module-whmcs/merges","archive_url":"https://api.github.com/repos/dzung2t/module-whmcs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dzung2t/module-whmcs/downloads","issues_url":"https://api.github.com/repos/dzung2t/module-whmcs/issues{/number}","pulls_url":"https://api.github.com/repos/dzung2t/module-whmcs/pulls{/number}","milestones_url":"https://api.github.com/repos/dzung2t/module-whmcs/milestones{/number}","notifications_url":"https://api.github.com/repos/dzung2t/module-whmcs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dzung2t/module-whmcs/labels{/name}","releases_url":"https://api.github.com/repos/dzung2t/module-whmcs/releases{/id}","created_at":"2015-07-15T07:22:04Z","updated_at":"2015-07-15T07:22:05Z","pushed_at":"2015-10-16T05:40:01Z","git_url":"git://github.com/dzung2t/module-whmcs.git","ssh_url":"git@github.com:dzung2t/module-whmcs.git","clone_url":"https://github.com/dzung2t/module-whmcs.git","svn_url":"https://github.com/dzung2t/module-whmcs","homepage":null,"size":140,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"paymentwall:master","ref":"master","sha":"61cf7a831dc84c9ae57f7e9a37e59598efa9b01c","user":{"login":"paymentwall","id":5666029,"avatar_url":"https://avatars.githubusercontent.com/u/5666029?v=3","gravatar_id":"","url":"https://api.github.com/users/paymentwall","html_url":"https://github.com/paymentwall","followers_url":"https://api.github.com/users/paymentwall/followers","following_url":"https://api.github.com/users/paymentwall/following{/other_user}","gists_url":"https://api.github.com/users/paymentwall/gists{/gist_id}","starred_url":"https://api.github.com/users/paymentwall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paymentwall/subscriptions","organizations_url":"https://api.github.com/users/paymentwall/orgs","repos_url":"https://api.github.com/users/paymentwall/repos","events_url":"https://api.github.com/users/paymentwall/events{/privacy}","received_events_url":"https://api.github.com/users/paymentwall/received_events","type":"Organization","site_admin":false},"repo":{"id":30640647,"name":"module-whmcs","full_name":"paymentwall/module-whmcs","owner":{"login":"paymentwall","id":5666029,"avatar_url":"https://avatars.githubusercontent.com/u/5666029?v=3","gravatar_id":"","url":"https://api.github.com/users/paymentwall","html_url":"https://github.com/paymentwall","followers_url":"https://api.github.com/users/paymentwall/followers","following_url":"https://api.github.com/users/paymentwall/following{/other_user}","gists_url":"https://api.github.com/users/paymentwall/gists{/gist_id}","starred_url":"https://api.github.com/users/paymentwall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paymentwall/subscriptions","organizations_url":"https://api.github.com/users/paymentwall/orgs","repos_url":"https://api.github.com/users/paymentwall/repos","events_url":"https://api.github.com/users/paymentwall/events{/privacy}","received_events_url":"https://api.github.com/users/paymentwall/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/paymentwall/module-whmcs","description":"Paymentwall Integration Module for WHMCS","fork":false,"url":"https://api.github.com/repos/paymentwall/module-whmcs","forks_url":"https://api.github.com/repos/paymentwall/module-whmcs/forks","keys_url":"https://api.github.com/repos/paymentwall/module-whmcs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/paymentwall/module-whmcs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/paymentwall/module-whmcs/teams","hooks_url":"https://api.github.com/repos/paymentwall/module-whmcs/hooks","issue_events_url":"https://api.github.com/repos/paymentwall/module-whmcs/issues/events{/number}","events_url":"https://api.github.com/repos/paymentwall/module-whmcs/events","assignees_url":"https://api.github.com/repos/paymentwall/module-whmcs/assignees{/user}","branches_url":"https://api.github.com/repos/paymentwall/module-whmcs/branches{/branch}","tags_url":"https://api.github.com/repos/paymentwall/module-whmcs/tags","blobs_url":"https://api.github.com/repos/paymentwall/module-whmcs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/paymentwall/module-whmcs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/paymentwall/module-whmcs/git/refs{/sha}","trees_url":"https://api.github.com/repos/paymentwall/module-whmcs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/paymentwall/module-whmcs/statuses/{sha}","languages_url":"https://api.github.com/repos/paymentwall/module-whmcs/languages","stargazers_url":"https://api.github.com/repos/paymentwall/module-whmcs/stargazers","contributors_url":"https://api.github.com/repos/paymentwall/module-whmcs/contributors","subscribers_url":"https://api.github.com/repos/paymentwall/module-whmcs/subscribers","subscription_url":"https://api.github.com/repos/paymentwall/module-whmcs/subscription","commits_url":"https://api.github.com/repos/paymentwall/module-whmcs/commits{/sha}","git_commits_url":"https://api.github.com/repos/paymentwall/module-whmcs/git/commits{/sha}","comments_url":"https://api.github.com/repos/paymentwall/module-whmcs/comments{/number}","issue_comment_url":"https://api.github.com/repos/paymentwall/module-whmcs/issues/comments{/number}","contents_url":"https://api.github.com/repos/paymentwall/module-whmcs/contents/{+path}","compare_url":"https://api.github.com/repos/paymentwall/module-whmcs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/paymentwall/module-whmcs/merges","archive_url":"https://api.github.com/repos/paymentwall/module-whmcs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/paymentwall/module-whmcs/downloads","issues_url":"https://api.github.com/repos/paymentwall/module-whmcs/issues{/number}","pulls_url":"https://api.github.com/repos/paymentwall/module-whmcs/pulls{/number}","milestones_url":"https://api.github.com/repos/paymentwall/module-whmcs/milestones{/number}","notifications_url":"https://api.github.com/repos/paymentwall/module-whmcs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/paymentwall/module-whmcs/labels{/name}","releases_url":"https://api.github.com/repos/paymentwall/module-whmcs/releases{/id}","created_at":"2015-02-11T09:35:19Z","updated_at":"2015-07-10T12:03:26Z","pushed_at":"2015-10-16T05:40:02Z","git_url":"git://github.com/paymentwall/module-whmcs.git","ssh_url":"git@github.com:paymentwall/module-whmcs.git","clone_url":"https://github.com/paymentwall/module-whmcs.git","svn_url":"https://github.com/paymentwall/module-whmcs","homepage":null,"size":270,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/paymentwall/module-whmcs/pulls/11"},"html":{"href":"https://github.com/paymentwall/module-whmcs/pull/11"},"issue":{"href":"https://api.github.com/repos/paymentwall/module-whmcs/issues/11"},"comments":{"href":"https://api.github.com/repos/paymentwall/module-whmcs/issues/11/comments"},"review_comments":{"href":"https://api.github.com/repos/paymentwall/module-whmcs/pulls/11/comments"},"review_comment":{"href":"https://api.github.com/repos/paymentwall/module-whmcs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/paymentwall/module-whmcs/pulls/11/commits"},"statuses":{"href":"https://api.github.com/repos/paymentwall/module-whmcs/statuses/4205cfd4d93d99e055c2743e281f9855d3f01552"}}}}