App reviews, troubleshooting, and recommendations
I successfully created a cart per customer but somehow I can't seem to get the cart details using the cart query?
What am I missing? How to check the payment details of the cart?
Here's the query:
query { cart( id: "CART_ID_HERE" ) { id createdAt updatedAt lines(first: 10) { edges { node { id quantity merchandise { ... on ProductVariant { id } } attributes { key value } } } } attributes { key value } cost { totalAmount { amount currencyCode } subtotalAmount { amount currencyCode } totalTaxAmount { amount currencyCode } totalDutyAmount { amount currencyCode } } buyerIdentity { email phone customer { id } countryCode deliveryAddressPreferences { ... on MailingAddress { address1 address2 city provinceCode countryCodeV2 zip } } } } }
Result:
{ "data": { "cart": null } }
Also,
query checkoutURL { cart(id: "CART_ID_HERE") { checkoutUrl } }
I can't seem to get the checkout url too.
{ "data": { "cart": null } }
Make the shift from discounts to donations, and witness your business not only thrive fina...
By Holly Dec 4, 2023On our Shopify Expert Marketplace, you can find many trusted third party developers and fr...
By Arno Nov 27, 2023You've downloaded the Search & Discovery app from the Shopify App store, and as you're ...
By Skye Nov 8, 2023