Issue in js-buy-sdk checkout api issue "Your Cart is Empty"

New Member
1 0 0

I m currently using for checkout api

I m calling in nodejs project, In my shopify store I have one single product so I fetch it and add it in checkout line item like below, in response it give me my storeurl webUrl to complete checkout in local every thing is working fine. 

const checkoutId = 'Z2lkOi8vc2hvcGlmeS9Qcm9kdWN0SW1hZ2UvMTgyMTc3ODc1OTI='; // ID of an existing checkout const lineItemsToAdd = [ { variantId: 'Z2lkOi8vc2hvcGlmeS9Qcm9kdWN0VmFyaWFudC8yOTEwNjAyMjc5Mg==', quantity: 5, customAttributes: [{key: "MyKey", value: "MyValue"}] } ];

But when i deployed it live it and redirect to store url after creating checkout it shows me page "Your cart is empty".

Please guide me.