Dedicated to the Hydrogen framework, headless commerce, and building custom storefronts using the Storefront API.
Hi everyone, I'm getting the next errore response when I try to run the mutation "checkoutDiscountCodeApplyV2" and "checkoutDiscountCodeRemove"
{ "data": { "checkoutDiscountCodeRemove": null }, "errors": [ { "message": "Unable to access Checkout.", "locations": [ { "line": 3, "column": 3 } ], "path": [ "checkoutDiscountCodeRemove" ] } ] }
{ "checkout": { "id": 111111111111111, "token": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", "cart_token": "bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb", "email": "client@some.com", "gateway": null, "buyer_accepts_marketing": false, "created_at": "2020-06-16T21:17:19-05:00", "updated_at": "2020-06-17T10:42:05-05:00", "landing_site": "/account/login?checkout_url=https://{my-store-name}.myshopify.com/2222222222222/checkouts/ccccccccccccccccccccccccccccccccc", "note": null, "note_attributes": [], "referring_site": "", "shipping_lines": [], "taxes_included": true, "total_weight": 6666666, "currency": "USD", "completed_at": null, "closed_at": null, "user_id": null, "location_id": null, "source_identifier": null, "source_url": null, "device_id": null, "phone": null, "customer_locale": "es", "line_items": [], "name": "#13859291693130", "source": null, "abandoned_checkout_url": "https://www.{my-domain-name}/2222222222222/checkouts/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/recover?key=ddddddddddddddd", "discount_codes": [], "tax_lines": [], "customer": {} } }
gid://shopify/Checkout/{ cart_token }?key={ ?????}Where I suppose to get the key to the gid?
{ "data": { "checkoutDiscountCodeRemove": null }, "errors": [ { "message": "Unable to access Checkout.", "locations": [ { "line": 3, "column": 3 } ], "path": [ "checkoutDiscountCodeRemove" ] } ] }
Any updates on this? Same issue here
Hi. Any followup on this. I am in same phase of issue.
I’m also having the same issue. Is there any resolution.