Hi guys
I am trying to update Magento checkout which using Braintree payment gateway. On checkout I see requests to https://payments.sandbox.braintree-api.com/graphql which have sessionId like "0b7ae150-7231-4021-9b58-4323c10b78b1"
{ "clientSdkMetadata": { "source": "client", "integration": "custom", "sessionId": "0b7ae150-7231-4021-9b58-4323c10b78b1" }, "query": * "operationName": "ClientConfiguration" }
I have checked it is not sessionID from
Magento\Framework\Session\SessionManager
Is someone can help me understand where magento get that param? I mean sessionId and why it changed from time to time?
Duke
public function __construct ( \Magento\Framework\Session\SessionManager $sessionManager ) { $this->_session = $sessionManager; } public function execute(\Magento\Framework\Event\Observer $observer) { $sessionID = $this->_session->getSessionId(); }