Üldandmed

Makselahendus SEB
Tehingu tüüp Maksekorraldus
Tehingu aeg Wed May 18 2022 06:09:32 GMT+0000 (UTC)
Selgitus Order nr. 66383
Staatus Teostatud
Valitud keel
Eesti
Teksti kodeering UTF-8
Makse summa 6,90 EUR

Sissetuleva päringu andmed

POST /banklink/seb-common


Päringu HTTP päised

Nimi Väärtus
x-forwarded-for
80.235.24.243
x-forwarded-proto
https
x-forwarded-protocol
https
x-forwarded-ssl
on
host
banks.pastel.thorgate.eu
connection
close
content-length
804
cache-control
max-age=0
upgrade-insecure-requests
1
origin
https://vm-backend.dev.elkdata.ee
content-type
application/x-www-form-urlencoded
user-agent
Mozilla/5.0 (Linux; Android 11; SM-G970F Build/RP1A.200720.012; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/101.0.4951.61 Mobile Safari/537.36
accept
text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9
x-requested-with
ai.sharewell.sharewellapp
sec-fetch-site
cross-site
sec-fetch-mode
navigate
sec-fetch-user
?1
sec-fetch-dest
document
referer
https://vm-backend.dev.elkdata.ee/
accept-encoding
gzip, deflate
accept-language
et-EE,et;q=0.9,en-US;q=0.8,en;q=0.7
x-client-remote-address
80.235.24.243

Päringu sisu

VK_SERVICE=1012&VK_VERSION=008&VK_SND_ID=uid100036&VK_STAMP=66383&VK_AMOUNT=6.9&VK_CURR=EUR&VK_REF=663832&VK_MSG=Order+nr.+66383&VK_RETURN=https%3A%2F%2Fvm-backend.dev.elkdata.ee%2Fpayment%2Fcallback%2Forder%2Fbank&VK_CANCEL=https%3A%2F%2Fvm-backend.dev.elkdata.ee%2Fpayment%2Fcallback%2Forder%2Fbank&VK_DATETIME=2022-05-18T09%3A09%3A20%2B0300&VK_LANG=EST&VK_ACC=EE171010123456789017&VK_NAME=Veebimajutus&VK_MAC=eBisgsTuW%2F2Dz2Vw%2BazSOHiyTN4HWjWrV25QfE%2F0v76mfAWWo3jlhc5Tz7koZLb7iCDD6mYg5Xs%2BYBUCNoeM5ipzVWp5x1mFy5mVy3e264K5AA4ZW4s8XFEUFN2iFg4ftoi%2By4SY3bSMLvENEK8KnDKY76eJg0%2Fb6kNbKljHmWBybEwQ5qwCcLW5y2%2B7gC1gUF0rvdsZl8dwdegvq9aRhTZYOHjJb35dkTx%2BKXTu1BAfDKj0NDYgEqjgnfW9mNToMB4eB%2BRsL%2BrUnk%2Bcr5DOLr1UJcK9%2Bd0tZANDyZN8%2FPNK9MLyjVQRzDE9kR6bJxp7LQwBcsZ6pFvD8ycQUxZEaA%3D%3D&VK_ENCODING=UTF-8

POST päringu parameetrid

Nimi Väärtus
VK_SERVICE
1012
VK_VERSION
008
VK_SND_ID
uid100036
VK_STAMP
66383
VK_AMOUNT
6.9
VK_CURR
EUR
VK_REF
663832
VK_MSG
Order nr. 66383
VK_RETURN
https://vm-backend.dev.elkdata.ee/payment/callback/order/bank
VK_CANCEL
https://vm-backend.dev.elkdata.ee/payment/callback/order/bank
VK_DATETIME
2022-05-18T09:09:20+0300
VK_LANG
EST
VK_ACC
EE171010123456789017
VK_NAME
Veebimajutus
VK_MAC
eBisgsTuW/2Dz2Vw+azSOHiyTN4HWjWrV25QfE/0v76mfAWWo3jlhc5Tz7koZLb7iCDD6mYg5Xs+YBUCNoeM5ipzVWp5x1mFy5mVy3e264K5AA4ZW4s8XFEUFN2iFg4ftoi+y4SY3bSMLvENEK8KnDKY76eJg0/b6kNbKljHmWBybEwQ5qwCcLW5y2+7gC1gUF0rvdsZl8dwdegvq9aRhTZYOHjJb35dkTx+KXTu1BAfDKj0NDYgEqjgnfW9mNToMB4eB+RsL+rUnk+cr5DOLr1UJcK9+d0tZANDyZN8/PNK9MLyjVQRzDE9kR6bJxp7LQwBcsZ6pFvD8ycQUxZEaA==
VK_ENCODING
UTF-8

Allkirja kontrolli sisend

Allkirja kontrollimiseks kasutaja sertifikaadiga kasutati järgmist stringi:

0041012003008009uid100036005663830036.9003EUR006663832015Order nr. 66383061https://vm-backend.dev.elkdata.ee/payment/callback/order/bank061https://vm-backend.dev.elkdata.ee/payment/callback/order/bank0242022-05-18T09:09:20+0300

pay.php Lae alla näiteskript sisendandmete korrektseks allkirjastamiseks


Väljuva päringu andmed

POST https://vm-backend.dev.elkdata.ee/payment/callback/order/bank


POST päringu parameetrid

Nimi Väärtus
VK_SERVICE
1111
VK_VERSION
008
VK_SND_ID
EYP
VK_REC_ID
uid100036
VK_STAMP
66383
VK_T_NO
10095
VK_AMOUNT
6.9
VK_CURR
EUR
VK_REC_ACC
EE171010123456789017
VK_REC_NAME
Veebimajutus
VK_SND_ACC
EE171010123456789017
VK_SND_NAME
Tõõger Leõpäöld
VK_REF
663832
VK_MSG
Order nr. 66383
VK_T_DATETIME
2022-05-18T06:09:36+0000
VK_ENCODING
UTF-8
VK_LANG
EST
VK_MAC
p/Ee+bkDDEYPC1fyIDTVnCnhUim0OjODzoq8CX8o47vPyLpO2hjXJVxGk3u4pu+5sDu7/v6tFb71viGlGz8PclwZSumLKwnzKsVoiOt6OBHp05NimuwKYwllQcSME9KwMo8wWRI03sUbojCBX/jGcfr1nfrXzy/haJ1y4Kdz+TzC2vrjDsJlrmdWNKJt3v0n/orCwHZDiupuyqSr5mt0dAkLl/cFZ9HE0mq988GldgVK0JFKBbZUafbAT+0vxSC9Z43Lz5OCo+kyoM1bOUSsPkVq3FSlwqlb2nAVuM3YbKy6C+1cz4PIlPPPRVPmQCnyzd4zFakXSK+HRQT8YbKlFA==
VK_AUTO
N

Allkirjastamise sisend

Vastuse allkirjastamiseks panga võtmega kasutati järgmist stringi:

0041111003008003EYP009uid10003600566383005100950036.9003EUR020EE171010123456789017012Veebimajutus020EE171010123456789017015Tõõger Leõpäöld006663832015Order nr. 663830242022-05-18T06:09:36+0000

receive.php Lae alla näiteskript tehingu andmete allkirja kontrolliks

Automaatpäringu vastus

Staatus 500

Tähelepanu! Kuna päringu HTTP staatus oli 500, mitte 200, peab pank seda vigaseks vastuseks ning üritab mõne aja pärast samu andmeid uuesti saata (täpne käitumine sõltub konkreetsest pangast)

Vastuse HTTP päised

Nimi Väärtus
server
nginx/1.20.2
content-type
text/html; charset=UTF-8
transfer-encoding
chunked
connection
close
x-powered-by
PHP/8.0.13
cache-control
no-cache, private
date
Wed, 18 May 2022 06:09:37 GMT
set-cookie
XSRF-TOKEN=eyJpdiI6IllWNzZDWFNvenVSUHVMTEo2WDNqT2c9PSIsInZhbHVlIjoiN3RwWlRWcGpmQkswRnExeElRQlU1TGo4WlJrRXZ3Yk9HRTlEY25lVmdFVXJEcVM3QjFaL1hvNm5ncFBsdThpa281N21ma2htNW1qOWVxak1DZE5KSkt5TnkveUdMektaQVNsdkQwY0VscmRMZ05QV1ZDMkpTcjA5cnZ1YUg5d1YiLCJtYWMiOiI4MmI4OWU5YWI5NTRkNmVmN2Q3NGZiMDRiODJkYTk3ZDJlYzRiNjcyMjBlYWU2ZTFiNTU2NGQyNmY1NzQzYzMzIiwidGFnIjoiIn0%3D; expires=Wed, 18-May-2022 08:09:37 GMT; Max-Age=7200; path=/; domain=vm-backend.dev.elkdata.ee; secure,vm_backend=eyJpdiI6IkdwN1ZGZ2N1ZDY1QXJISGlNSzFHWFE9PSIsInZhbHVlIjoiYkFaRlFNbzBkMC8zZjJGcG82VjVzaWQxUE9UVWYvRU90VHdEYTZpa3NxUDJMNjZML1ZvemxXeWRqYXRnV1h1bXF3bDdkZlEwNHJycGhJQ1lwc3p2a2dGMm9mUTBoM0piU1ZSWDFadzErd01qUWw4K0owSnpxQko2c3ZBZnU1VlMiLCJtYWMiOiJjNWZkMTg2YTA2ZDdkMDQ0YzM0NGRmMzcxN2UzMTJiYzY4NWJmMTdmNDhlNmMxMDVhYTg0NWQ3ZjI3YWZmMmYyIiwidGFnIjoiIn0%3D; path=/; domain=vm-backend.dev.elkdata.ee; secure; httponly

Vastuse sisu

<!doctype html>
<html class="theme-light">
<!--
Error: Call to a member function orders() on null in file /data/sites/vm-backend.dev.elkdata.ee/backend/app/Http/Controllers/PaymentController.php on line 227

#0 /data/sites/vm-backend.dev.elkdata.ee/backend/app/Http/Controllers/PaymentController.php(140): App\Http\Controllers\PaymentController-&gt;finalizeOrder(66383, Array, 'EYP')
#1 /data/sites/vm-backend.dev.elkdata.ee/backend/vendor/laravel/framework/src/Illuminate/Routing/Controller.php(54): App\Http\Controllers\PaymentController-&gt;bankOrderCallback(Object(Illuminate\Http\Request))
#2 /data/sites/vm-backend.dev.elkdata.ee/backend/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(45): Illuminate\Routing\Controller-&gt;callAction('bankOrderCallba...', Array)
#3 /data/sites/vm-backend.dev.elkdata.ee/backend/vendor/laravel/framework/src/Illuminate/Routing/Route.php(262): Illuminate\Routing\ControllerDispatcher-&gt;dispatch(Object(Illuminate\Routing\Route), Object(App\Http\Controllers\PaymentController), 'bankOrderCallba...')
#4 /data/sites/vm-backend.dev.elkdata.ee/backend/vendor/laravel/framework/src/Illuminate/Routing/Route.php(205): Illuminate\Routing\Route-&gt;runController()
#5 /data/sites/vm-backend.dev.elkdata.ee/backend/vendor/laravel/framework/src/Illuminate/Routing/Router.php(695): Illuminate\Routing\Route-&gt;run()
#6 /data/sites/vm-backend.dev.elkdata.ee/backend/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(128): Illuminate\Routing\Router-&gt;Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#7 /data/sites/vm-backend.dev.elkdata.ee/backend/app/Http/Middleware/CheckVatSession.php(30): Illuminate\Pipeline\Pipeline-&gt;Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#8 /data/sites/vm-backend.dev.elkdata.ee/backend/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): App\Http\Middleware\CheckVatSession-&gt;handle(Object(Illuminate\Http\Request), Object(Closure))
#9 /data/sites/vm-backend.dev.elkdata.ee/backend/app/Http/Middleware/RedirectPageIfNeeded.php(31): Illuminate\Pipeline\Pipeline-&gt;Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#10 /data/sites/vm-backend.dev.elkdata.ee/backend/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): App\Http\Middleware\RedirectPageIfNeeded-&gt;handle(Object(Illuminate\Http\Request), Object(Closure))
#11 /data/sites/vm-backend.dev.elkdata.ee/backend/app/Http/Middleware/SetActiveLanguage.php(37): Illuminate\Pipeline\Pipeline-&gt;Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#12 /data/sites/vm-backend.dev.elkdata.ee/backend/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): App\Http\Middleware\SetActiveLanguage-&gt;handle(Object(Illuminate\Http\Request), Object(Closure))
#13 /data/sites/vm-backend.dev.elkdata.ee/backend/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(50): Illuminate\Pipeline\Pipeline-&gt;Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#14 /data/sites/vm-backend.dev.elkdata.ee/backend/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\Routing\Middleware\SubstituteBindings-&gt;handle(Object(Illuminate\Http\Request), Object(Closure))
#15 /data/sites/vm-backend.dev.elkdata.ee/backend/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php(78): Illuminate\Pipeline\Pipeline-&gt;Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#16 /data/sites/vm-backend.dev.elkdata.ee/backend/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\Foundation\Http\Middleware\VerifyCsrfToken-&gt;handle(Object(Illuminate\Http\Request), Object(Closure))
#17 /data/sites/vm-backend.dev.elkdata.ee/backend/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(49): Illuminate\Pipeline\Pipeline-&gt;Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#18 /data/sites/vm-backend.dev.elkdata.ee/backend/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\View\Middleware\ShareErrorsFromSession-&gt;handle(Object(Illuminate\Http\Request), Object(Closure))
#19 /data/sites/vm-backend.dev.elkdata.ee/backend/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(121): Illuminate\Pipeline\Pipeline-&gt;Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#20 /data/sites/vm-backend.dev.elkdata.ee/backend/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(64): Illuminate\Session\Middleware\StartSession-&gt;handleStatefulRequest(Object(Illuminate\Http\Request), Object(Illuminate\Session\EncryptedStore), Object(Closure))
#21 /data/sites/vm-backend.dev.elkdata.ee/backend/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\Session\Middleware\StartSession-&gt;handle(Object(Illuminate\Http\Request), Object(Closure))
#22 /data/sites/vm-backend.dev.elkdata.ee/backend/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(37): Illuminate\Pipeline\Pipeline-&gt;Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#23 /data/sites/vm-backend.dev.elkdata.ee/backend/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse-&gt;handle(Object(Illuminate\Http\Request), Object(Closure))
#24 /data/sites/vm-backend.dev.elkdata.ee/backend/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(67): Illuminate\Pipeline\Pipeline-&gt;Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#25 /data/sites/vm-backend.dev.elkdata.ee/backend/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\Cookie\Middleware\EncryptCookies-&gt;handle(Object(Illuminate\Http\Request), Object(Closure))
#26 /data/sites/vm-backend.dev.elkdata.ee/backend/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(103): Illuminate\Pipeline\Pipeline-&gt;Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#27 /data/sites/vm-backend.dev.elkdata.ee/backend/vendor/laravel/framework/src/Illuminate/Routing/Router.php(697): Illuminate\Pipeline\Pipeline-&gt;then(Object(Closure))
#28 /data/sites/vm-backend.dev.elkdata.ee/backend/vendor/laravel/framework/src/Illuminate/Routing/Router.php(672): Illuminate\Routing\Router-&gt;runRouteWithinStack(Object(Illuminate\Routing\Route), Object(Illuminate\Http\Request))
#29 /data/sites/vm-backend.dev.elkdata.ee/backend/vendor/laravel/framework/src/Illuminate/Routing/Router.php(636): Illuminate\Routing\Router-&gt;runRoute(Object(Illuminate\Http\Request), Object(Illuminate\Routing\Route))
#30 /data/sites/vm-backend.dev.elkdata.ee/backend/vendor/laravel/framework/src/Illuminate/Routing/Router.php(625): Illuminate\Routing\Router-&gt;dispatchToRoute(Object(Illuminate\Http\Request))
#31 /data/sites/vm-backend.dev.elkdata.ee/backend/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(167): Illuminate\Routing\Router-&gt;dispatch(Object(Illuminate\Http\Request))
#32 /data/sites/vm-backend.dev.elkdata.ee/backend/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(128): Illuminate\Foundation\Http\Kernel-&gt;Illuminate\Foundation\Http\{closure}(Object(Illuminate\Http\Request))
#33 /data/sites/vm-backend.dev.elkdata.ee/backend/vendor/barryvdh/laravel-debugbar/src/Middleware/InjectDebugbar.php(60): Illuminate\Pipeline\Pipeline-&gt;Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#34 /data/sites/vm-backend.dev.elkdata.ee/backend/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Barryvdh\Debugbar\Middleware\InjectDebugbar-&gt;handle(Object(Illuminate\Http\Request), Object(Closure))
#35 /data/sites/vm-backend.dev.elkdata.ee/backend/vendor/fruitcake/laravel-cors/src/HandleCors.php(38): Illuminate\Pipeline\Pipeline-&gt;Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#36 /data/sites/vm-backend.dev.elkdata.ee/backend/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Fruitcake\Cors\HandleCors-&gt;handle(Object(Illuminate\Http\Request), Object(Closure))
#37 /data/sites/vm-backend.dev.elkdata.ee/backend/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\Pipeline\Pipeline-&gt;Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#38 /data/sites/vm-backend.dev.elkdata.ee/backend/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\Foundation\Http\Middleware\TransformsRequest-&gt;handle(Object(Illuminate\Http\Request), Object(Closure))
#39 /data/sites/vm-backend.dev.elkdata.ee/backend/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull-&gt;handle(Object(Illuminate\Http\Request), Object(Closure))
#40 /data/sites/vm-backend.dev.elkdata.ee/backend/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\Pipeline\Pipeline-&gt;Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#41 /data/sites/vm-backend.dev.elkdata.ee/backend/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(40): Illuminate\Foundation\Http\Middleware\TransformsRequest-&gt;handle(Object(Illuminate\Http\Request), Object(Closure))
#42 /data/sites/vm-backend.dev.elkdata.ee/backend/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\Foundation\Http\Middleware\TrimStrings-&gt;handle(Object(Illuminate\Http\Request), Object(Closure))
#43 /data/sites/vm-backend.dev.elkdata.ee/backend/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php(27): Illuminate\Pipeline\Pipeline-&gt;Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#44 /data/sites/vm-backend.dev.elkdata.ee/backend/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\Foundation\Http\Middleware\ValidatePostSize-&gt;handle(Object(Illuminate\Http\Request), Object(Closure))
#45 /data/sites/vm-backend.dev.elkdata.ee/backend/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(86): Illuminate\Pipeline\Pipeline-&gt;Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#46 /data/sites/vm-backend.dev.elkdata.ee/backend/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance-&gt;handle(Object(Illuminate\Http\Request), Object(Closure))
#47 /data/sites/vm-backend.dev.elkdata.ee/backend/vendor/fideloper/proxy/src/TrustProxies.php(57): Illuminate\Pipeline\Pipeline-&gt;Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#48 /data/sites/vm-backend.dev.elkdata.ee/backend/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Fideloper\Proxy\TrustProxies-&gt;handle(Object(Illuminate\Http\Request), Object(Closure))
#49 /data/sites/vm-backend.dev.elkdata.ee/backend/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(103): Illuminate\Pipeline\Pipeline-&gt;Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#50 /data/sites/vm-backend.dev.elkdata.ee/backend/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(142): Illuminate\Pipeline\Pipeline-&gt;then(Object(Closure))
#51 /data/sites/vm-backend.dev.elkdata.ee/backend/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(111): Illuminate\Foundation\Http\Kernel-&gt;sendRequestThroughRouter(Object(Illuminate\Http\Request))
#52 /data/sites/vm-backend.dev.elkdata.ee/backend/public/index.php(59): Illuminate\Foundation\Http\Kernel-&gt;handle(Object(Illuminate\Http\Request))
#53 {main}
-->
<head>
    <!-- Hide dumps asap -->
    <style>
        pre.sf-dump {
            display: none !important;
        }
    </style>

    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <meta name="robots" content="noindex, nofollow">

    <title>🧨 Call to a member function orders() on null</title>

    
</head>
<body class="scrollbar-lg">

<script>
    window.data = {"report":{"notifier":"Laravel Client","language":"PHP","framework_version":"8.74.0","language_version":"8.0.13","exception_class":"Error","seen_at":1652854177,"message":"Call to a member function orders() on null","glows":[],"solutions":[],"stacktrace":[{"line_number":227,"method":"finalizeOrder","class":"App\\Http\\Controllers\\PaymentController","code_snippet":{"212":"","213":"        $this-\u003EfinalizeRenewal($orderReference, $data, \u0022everypay\u0022);","214":"","215":"        return redirect()-\u003Eroute(\u0022order.domain.renewal.invoice\u0022, $renewal-\u003Einvoice_hash);","216":"    }","217":"","218":"    \/**","219":"     * @throws Exception","220":"     *\/","221":"    private function finalizeOrder(int $reference, array $data, string $senderId)","222":"    {","223":"        \/** @var Order $order *\/","224":"        $order = Order::query()-\u003Ewhere(\u0027external_order_id\u0027, $reference)-\u003EfirstOrFail();","225":"","226":"        \/\/ Delete all other orders","227":"        Auth::user()-\u003Eorders()-\u003Ewhere(\u0027external_order_id\u0027, \u0027!=\u0027, $reference)-\u003Edelete();","228":"","229":"        \/\/ Make paid order active","230":"        $order-\u003Erestore();","231":"","232":"        $order = BankPayment::markOrderAsPaid($order, $senderId);","233":"","234":"        $this-\u003EsavePayment($reference, $data, $senderId);","235":"","236":"        \/\/ Finalize order after payment","237":"        $order-\u003Efinalize();","238":"    }","239":"","240":"    \/**","241":"     * @param int $reference","242":"     * @param array $data"},"file":"\/data\/sites\/vm-backend.dev.elkdata.ee\/backend\/app\/Http\/Controllers\/PaymentController.php","is_application_frame":true},{"line_number":140,"method":"bankOrderCallback","class":"App\\Http\\Controllers\\PaymentController","code_snippet":{"125":"     * @throws Exception","126":"     *\/","127":"    public function bankOrderCallback(Request $request): RedirectResponse","128":"    {","129":"        $senderId = $request-\u003Eget(\u0022VK_SND_ID\u0022);","130":"        $bank = BankPayment::getBankBySenderId($senderId);","131":"","132":"        $bankPayment = BankPayment::getInstance();","133":"        $bankInstance = $bankPayment-\u003EgetBankInstance($bank);","134":"        $bankInstanceResponse = $bankInstance-\u003EhandleResponse($request-\u003Eall());","135":"","136":"        if ($bankInstanceResponse-\u003EwasSuccessful()) {","137":"            $responseData = $bankInstanceResponse-\u003EgetResponseData();","138":"            $reference = Arr::get($responseData, \u0022VK_STAMP\u0022);","139":"","140":"            $this-\u003EfinalizeOrder($reference, $responseData, $senderId);","141":"","142":"            \/\/ Redirect to success step","143":"            return redirectRoute(\u0027order.success\u0027);","144":"        }","145":"","146":"        return redirectRoute(\u0027order.payment\u0027, [\u0027error\u0027 =\u003E \u0022Payment failed\u0022]);","147":"    }","148":"","149":"    \/**","150":"     * @param Request $request","151":"     * @return RedirectResponse","152":"     * @throws Exception","153":"     *\/","154":"    public function bankRenewalCallback(Request $request): RedirectResponse","155":"    {"},"file":"\/data\/sites\/vm-backend.dev.elkdata.ee\/backend\/app\/Http\/Controllers\/PaymentController.php","is_application_frame":true},{"line_number":54,"method":"callAction","class":"Illuminate\\Routing\\Controller","code_snippet":{"39":"     *\/","40":"    public function getMiddleware()","41":"    {","42":"        return $this-\u003Emiddleware;","43":"    }","44":"","45":"    \/**","46":"     * Execute an action on the controller.","47":"     *","48":"     * @param  string  $method","49":"     * @param  array  $parameters","50":"     * @return \\Symfony\\Component\\HttpFoundation\\Response","51":"     *\/","52":"    public function callAction($method, $parameters)","53":"    {","54":"        return $this-\u003E{$method}(...array_values($parameters));","55":"    }","56":"","57":"    \/**","58":"     * Handle calls to missing methods on the controller.","59":"     *","60":"     * @param  string  $method","61":"     * @param  array  $parameters","62":"     * @return mixed","63":"     *","64":"     * @throws \\BadMethodCallException","65":"     *\/","66":"    public function __call($method, $parameters)","67":"    {","68":"        throw new BadMethodCallException(sprintf(","69":"            \u0027Method %s::%s does not exist.\u0027, static::class, $method"},"file":"\/data\/sites\/vm-backend.dev.elkdata.ee\/backend\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","is_application_frame":false},{"line_number":45,"method":"dispatch","class":"Illuminate\\Routing\\ControllerDispatcher","code_snippet":{"30":"    \/**","31":"     * Dispatch a request to a given controller and method.","32":"     *","33":"     * @param  \\Illuminate\\Routing\\Route  $route","34":"     * @param  mixed  $controller","35":"     * @param  string  $method","36":"     * @return mixed","37":"     *\/","38":"    public function dispatch(Route $route, $controller, $method)","39":"    {","40":"        $parameters = $this-\u003EresolveClassMethodDependencies(","41":"            $route-\u003EparametersWithoutNulls(), $controller, $method","42":"        );","43":"","44":"        if (method_exists($controller, \u0027callAction\u0027)) {","45":"            return $controller-\u003EcallAction($method, $parameters);","46":"        }","47":"","48":"        return $controller-\u003E{$method}(...array_values($parameters));","49":"    }","50":"","51":"    \/**","52":"     * Get the middleware for the controller instance.","53":"     *","54":"     * @param  \\Illuminate\\Routing\\Controller  $controller","55":"     * @param  string  $method","56":"     * @return array","57":"     *\/","58":"    public function getMiddleware($controller, $method)","59":"    {","60":"        if (! method_exists($controller, \u0027getMiddleware\u0027)) {"},"file":"\/data\/sites\/vm-backend.dev.elkdata.ee\/backend\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","is_application_frame":false},{"line_number":262,"method":"runController","class":"Illuminate\\Routing\\Route","code_snippet":{"247":"    protected function isSerializedClosure()","248":"    {","249":"        return RouteAction::containsSerializedClosure($this-\u003Eaction);","250":"    }","251":"","252":"    \/**","253":"     * Run the route action and return the response.","254":"     *","255":"     * @return mixed","256":"     *","257":"     * @throws \\Symfony\\Component\\HttpKernel\\Exception\\NotFoundHttpException","258":"     *\/","259":"    protected function runController()","260":"    {","261":"        return $this-\u003EcontrollerDispatcher()-\u003Edispatch(","262":"            $this, $this-\u003EgetController(), $this-\u003EgetControllerMethod()","263":"        );","264":"    }","265":"","266":"    \/**","267":"     * Get the controller instance for the route.","268":"     *","269":"     * @return mixed","270":"     *\/","271":"    public function getController()","272":"    {","273":"        if (! $this-\u003Econtroller) {","274":"            $class = $this-\u003EparseControllerCallback()[0];","275":"","276":"            $this-\u003Econtroller = $this-\u003Econtainer-\u003Emake(ltrim($class, \u0027\\\\\u0027));","277":"        }"},"file":"\/data\/sites\/vm-backend.dev.elkdata.ee\/backend\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","is_application_frame":false},{"line_number":205,"method":"run","class":"Illuminate\\Routing\\Route","code_snippet":{"190":"    {","191":"        return RouteAction::parse($this-\u003Euri, $action);","192":"    }","193":"","194":"    \/**","195":"     * Run the route action and return the response.","196":"     *","197":"     * @return mixed","198":"     *\/","199":"    public function run()","200":"    {","201":"        $this-\u003Econtainer = $this-\u003Econtainer ?: new Container;","202":"","203":"        try {","204":"            if ($this-\u003EisControllerAction()) {","205":"                return $this-\u003ErunController();","206":"            }","207":"","208":"            return $this-\u003ErunCallable();","209":"        } catch (HttpResponseException $e) {","210":"            return $e-\u003EgetResponse();","211":"        }","212":"    }","213":"","214":"    \/**","215":"     * Checks whether the route\u0027s action is a controller.","216":"     *","217":"     * @return bool","218":"     *\/","219":"    protected function isControllerAction()","220":"    {"},"file":"\/data\/sites\/vm-backend.dev

Lühendatud sisu! Kuna vastus oli liiga pikk, kuvatakse siin vaid vastuse esimesed 20 kilobaiti.