{"action":"created","issue":{"url":"https://api.github.com/repos/anandsiddharth/laravel-paytm-wallet/issues/12","repository_url":"https://api.github.com/repos/anandsiddharth/laravel-paytm-wallet","labels_url":"https://api.github.com/repos/anandsiddharth/laravel-paytm-wallet/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/anandsiddharth/laravel-paytm-wallet/issues/12/comments","events_url":"https://api.github.com/repos/anandsiddharth/laravel-paytm-wallet/issues/12/events","html_url":"https://github.com/anandsiddharth/laravel-paytm-wallet/issues/12","id":310215271,"number":12,"title":"Class 'Dompdf\\Exception' not found","user":{"login":"farazappy","id":16976631,"avatar_url":"https://avatars0.githubusercontent.com/u/16976631?v=4","gravatar_id":"","url":"https://api.github.com/users/farazappy","html_url":"https://github.com/farazappy","followers_url":"https://api.github.com/users/farazappy/followers","following_url":"https://api.github.com/users/farazappy/following{/other_user}","gists_url":"https://api.github.com/users/farazappy/gists{/gist_id}","starred_url":"https://api.github.com/users/farazappy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/farazappy/subscriptions","organizations_url":"https://api.github.com/users/farazappy/orgs","repos_url":"https://api.github.com/users/farazappy/repos","events_url":"https://api.github.com/users/farazappy/events{/privacy}","received_events_url":"https://api.github.com/users/farazappy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-03-31T05:50:08Z","updated_at":"2018-03-31T10:32:42Z","closed_at":null,"author_association":"NONE","body":"Hey, I'm Getting an error in my callback url!\r\n\r\nController Code: \r\n\r\n\r\n        $transaction = PaytmWallet::with('receive');\r\n        $response = $transaction->response();\r\n        $order_id = $transaction->getOrderId();\r\n        if($transaction->isSuccessful()) {\r\n            Order::where('order_id', $order_id)->update(['payment_status'=>'success','transaction_id'=>$transaction->getTransactionId()]);\r\n            dd('Successfully paid!');\r\n        } else if($transaction->isFailed()) {\r\n            Order::where('order_id', $order_id)->update(['payment_status'=>'failed','transaction_id'=>$transaction->getTransactionId()]); \r\n            dd('Payment Failed!');\r\n        }\r\n\r\nMy Route is a post route with CSRF Protection disabled.\r\n\r\nError ->\r\n\r\n`(1/1) FatalThrowableError`\r\n`Class 'Dompdf\\Exception' not found`\r\n`in PaytmWalletProvider.php (line 50)`\r\n`at PaytmWalletProvider->response()`\r\n`in OrderController.php (line 186)`\r\n`at OrderController->paymentCallback(object(Request))`\r\n`at call_user_func_array(array(object(OrderController), 'paymentCallback'), array(object(Request)))`\r\n`in Controller.php (line 55)`"},"comment":{"url":"https://api.github.com/repos/anandsiddharth/laravel-paytm-wallet/issues/comments/377683359","html_url":"https://github.com/anandsiddharth/laravel-paytm-wallet/issues/12#issuecomment-377683359","issue_url":"https://api.github.com/repos/anandsiddharth/laravel-paytm-wallet/issues/12","id":377683359,"user":{"login":"farazappy","id":16976631,"avatar_url":"https://avatars0.githubusercontent.com/u/16976631?v=4","gravatar_id":"","url":"https://api.github.com/users/farazappy","html_url":"https://github.com/farazappy","followers_url":"https://api.github.com/users/farazappy/followers","following_url":"https://api.github.com/users/farazappy/following{/other_user}","gists_url":"https://api.github.com/users/farazappy/gists{/gist_id}","starred_url":"https://api.github.com/users/farazappy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/farazappy/subscriptions","organizations_url":"https://api.github.com/users/farazappy/orgs","repos_url":"https://api.github.com/users/farazappy/repos","events_url":"https://api.github.com/users/farazappy/events{/privacy}","received_events_url":"https://api.github.com/users/farazappy/received_events","type":"User","site_admin":false},"created_at":"2018-03-31T10:32:42Z","updated_at":"2018-03-31T10:32:42Z","author_association":"NONE","body":"I'm not using Dompdf, It's in your source  file : \r\n\r\n`<?php`\r\n`namespace Anand\\LaravelPaytmWallet\\Providers;`\r\n`use Dompdf\\Exception;`\r\n`use Illuminate\\Http\\Request;`\r\n`require __DIR__.'/../../lib/encdec_paytm.php';`\r\n`class PaytmWalletProvider{`\r\n\r\nTo throw checksum did not match exception, I guess."}}
{"actor":{"display_login":"farazappy"}}