5

Please try this: Step 1: Get a bearer token: You can get a token by executing the signup mutation in the playground to create a new user. This is the signup mutation I ran: Request: mutation { generateCustomerToken(email: "customer@example.com", password: "password") { token } } Response: { "data": { "generateCustomerToken": { ...


2

The resulting token should be used in subsequent requests in the Authorization header as a Bearer token ex: Authorization: Bearer {{resultFromGenerateCustomerToken}} I don't think ChromeQL allows the setting request Headers. If you are on OSX you can use this electron app which give you access to set the headers. https://github.com/skevy/graphiql-app ...


1

customer.isLoggedIn() is a ko.obervable on window.isCustomerLoggedIn and it seems that window.isCustomerLoggedIn is set by default only in the checkout templates: module-checkout in onepage.phtml and cart/shipping.phtml and module-multishipping in checkout/billing.phtml So one approach could be to add a similar functionality in some appropriate template and ...


1

When place order button press from checkout. It's call following class //Magento/Checkout/Model/PaymentInformationManagement.php /** * {@inheritDoc} */ public function savePaymentInformationAndPlaceOrder( $cartId, \Magento\Quote\Api\Data\PaymentInterface $paymentMethod, \Magento\Quote\Api\Data\AddressInterface $billingAddress = null ) { $...


Only top voted, non community-wiki answers of a minimum length are eligible