imsujan276 / shopify_flutter

A flutter package that works as a bridge between your Shopify Store and Flutter Application
https://pub.dev/packages/shopify_flutter
MIT License
26 stars 27 forks source link

updateBuyerIdentityInCart not updating Buyer Identity address not getting updated or added in cart . #80

Open Sp2021bca opened 2 months ago

imsujan276 commented 2 months ago

Can you provide more context?

I have tested that and worked for me.

Sp2021bca commented 2 months ago

can you share code your example code we have followed which not update address in cart . also we need something when we create cart that we can add address

imsujan276 commented 2 months ago

The example works perfectly for me.

Also, to set buyer identity, you just need to pass the buyer detail in the CartInput buyerIdentity

Sp2021bca commented 2 months ago

can you share code while creating cart how can we add buyerIdentity

imsujan276 commented 2 months ago

Please check the cart example

Sp2021bca commented 2 months ago

ok i will check and try to update if not work i will share code

Sp2021bca commented 2 months ago

Check out url not showing up updated address as pre filled when we log cart it's showing up data in log but not pre-filled on checkout url force update required on checkout url.

imsujan276 commented 2 months ago

Can you add what you are getting?

I am not able to replicate the issue you are getting.

On Thu, 19 Sep 2024, 6:52 pm SAHIL PATEL, @.***> wrote:

Check out url not showing up updated address as pre filled when we log cart it's showing up data in log but not pre-filled on checkout url force update required on checkout url.

— Reply to this email directly, view it on GitHub https://github.com/imsujan276/shopify_flutter/issues/80#issuecomment-2360937914, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACVH7MPJ4VRY55CV6S3S7V3ZXLD7RAVCNFSM6AAAAABOFOIVI2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNRQHEZTOOJRGQ . You are receiving this because you commented.Message ID: @.***>

Sp2021bca commented 2 months ago

when we update buyer buyerIdentity address data not getting prefilled on checkout page when we navigate vie cart.checkout address date gets added in cart variable we tried log(updatedCart) it's shows updated address data but we we open checkouturl it's showing balnk on each address feilds

imsujan276 commented 2 months ago

Have you tried the example app?

I am not facing the issue you are describing.

In the example app

  1. go to cart tab
  2. add cart item
  3. click on person icon in app bar decide cart icon and a bottomsheet modal should pop up.
  4. click refresh icon in bottonsheet to set random buyer identity
  5. go to checkout URL and you see the data pre filled
Sp2021bca commented 2 months ago

Yes I have followed provided steps still no luck.

On Fri, 20 Sep, 2024, 2:39 pm Sujan Gainju, @.***> wrote:

Have you tried the example app?

I am not facing the issue you are describing.

In the example app

  1. go to cart tab
  2. add cart item
  3. click on person icon in app bar decide cart icon and a bottomsheet modal should pop up.
  4. click refresh icon in bottonsheet to set random buyer identity
  5. go to checkout URL and you see the data pre filled

— Reply to this email directly, view it on GitHub https://github.com/imsujan276/shopify_flutter/issues/80#issuecomment-2363240685, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWIRN6GMLR5GWCMQIQ4TWZDZXPQ6NAVCNFSM6AAAAABOFOIVI2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNRTGI2DANRYGU . You are receiving this because you authored the thread.Message ID: @.***>

Sp2021bca commented 1 month ago

Still we have same issue can provide force refresh option which refresh cart url cache data getting updated in cart variable but checkout url still not populating address details