Webmaster At Cosmic DNA
Webmaster At Cosmic DNA
If the order creation mentioned at https://github.com/hygraph/hygraph-commerce-starter/blob/a75467e563d9d43f880a02ebc16177d0fa956403/pages/api/stripe/webhook.js#L18 failed for any reason, querying the order with the resulting id from stripe API will not find a match in Hygraph database, therefore...
Updating the dependencies `@stripe/stripe-js` to 1.35.0, `stripe` to 10.0.0 in the package.json file and the Stripe CLI to 1.10.4, I was able to fix the order creation by using `customer_details`...
I found out that this problem was being triggered because I was using a Hypergraph Permanent Auth Token without authorization to read from the API. After setting up the environment...
> I'm getting this too, did you happen to figure it out? I did not figure out yet. It seems a bug to me @levelingup. So I decided to workaround...
For the time being one can use: ```javascript const batchRequests = async (requests) => Promise.all(requests.map((request) => mutationClient.request(request.document, request.variables))) ```
> The downside with this workaround is that it's not really batching requests since multiple requests are sent albeit in parallel. The idea is to use this in the meanwhile...
> Hi, can you give me a screenshot of the console output with $PATH before and after? 
> ~/.config/direnv/direnvrc 
And there is another bug, maybe associated with the above or maybe not:  `direnv allow .` returns: `direnv: error invalid character 'S' looking for beginning of value`
I was able to workaround for the time being with https://github.com/apollo-server-integrations/apollo-server-integration-next/issues/200#issuecomment-2206256997.