Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to instantiate new checkouts #990

Closed
avcohen opened this issue Sep 13, 2024 · 1 comment
Closed

Unable to instantiate new checkouts #990

avcohen opened this issue Sep 13, 2024 · 1 comment

Comments

@avcohen
Copy link

avcohen commented Sep 13, 2024

Bug details

Describe the bug
Unable to instantiate a new checkout using the checkout.create method

To Reproduce
Running in a Next.JS app

    import Client from 'shopify-buy';

    const Shopify = Client.buildClient({
        domain: process.env.SHOPIFY_STORE_DOMAIN,
        storefrontAccessToken: process.env.SHOPIFY_STOREFRONT_API_KEY,
        language: 'en-GB',
        apiVersion: '2024-07',
    });


    const newCheckout = await Shopify.checkout.create({
        presentmentCurrencyCode: 'GBP'
    });

Image

Expected behavior
I'd expect the checkout to be created

Environment (please complete the following information):

  • OS: OS X
  • Browser [e.g. chrome, safari] - Chrome
  • SDK Version [e.g. v1.2.0] ^2.22.0
  • Node Version: 18
  • Package Manager: Bun

Bug Report Checklist

  • [ X] I have read and agree to the CODE_OF_CONDUCT.md
  • [ X] I have read the CONTRIBUTING.md guidelines.
  • [ X] I have provided a detailed description of the bug, including code samples, and/or network data.
  • [ X] I have provided information about my development environment, including SDK version.
@avcohen avcohen closed this as not planned Won't fix, can't repro, duplicate, stale Sep 24, 2024
@thipokch
Copy link

thipokch commented Oct 4, 2024

@avcohen Is the SDK being deprecated here, because I'm having this issue too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants