checkout-sdk-js icon indicating copy to clipboard operation
checkout-sdk-js copied to clipboard

Cannot save address in BC using shouldSaveAddress flag

Open catokx opened this issue 4 years ago • 4 comments

Good morning, i'm using bigcommerce checkout sdk version 1.116.0. I'm trying to use the shouldSaveAddress = true flag in address json.

When i place the order i cannot find the shipping or billing address into the bigcommerce customer account.

catokx avatar Dec 11 '20 11:12 catokx

same here... @capsula4 BC is not throwing any error on adding the field so it seems to be diggested as payload but without effect.

fthobe avatar Dec 11 '20 12:12 fthobe

Just double-checking, are you using shouldSaveAddress with a logged-in customer? Was the order successfully placed?

lpschz avatar Dec 14 '20 02:12 lpschz

Hey @capsula4 , order is finalized successfully and customer is logged in. We don't allow guest checkout on our page. We also tried to send your exact test address and it didn't work. The entire rest of the address is correctly added to the order.

fthobe avatar Dec 14 '20 07:12 fthobe

I haven't been able to reproduce the issue. Is there any chance you could confirm that shouldSaveAddress: true is present right before the order is being placed? Maybe there's some other action before the order is placed that updates that attribute?

lpschz avatar Dec 14 '20 21:12 lpschz

@catokx are we good to close this?

bc-0dp avatar Feb 15 '24 16:02 bc-0dp

Closing this due to inactivity

bc-0dp avatar Feb 27 '24 09:02 bc-0dp