Has anybody ever found a good solution to stop cus...
# suitecommerce
g
Has anybody ever found a good solution to stop customers default billing address from changing in the checkout. It’s my number one pain in the neck. Get asked to solve this o many times now. Even changing the shipping address changes the default billing address. My latest way of resetting the address has run into problems as two addresses might have different shipping costs which throws an error.
watching following 1
e
I was only aware of the default shipping address updates. I'm not surprise the same happen with the billing one. It comes from the Commerce API, unless they fix it there, I have not found a way. They should at least trigger the event of changing the address to execute a UE script, the real problem is that this event is not triggered at all.
g
There are problems with shipping, billing and the method. Changing one can change the other. There’s a number of ways it can go wrong. I regularly get asked to solve this for B2B companies as it causes huge problem e.g. $100k of stuff going to the wrong building site and being invoiced to some guy who ordered a screwdriver to his house. There are no triggers like you say anywhere. I’ll keep trying to find a workaround I guess :(
e
One thing I remember I did in the past, was creating two custom fields on the customer record, one for default shipping address and one for default billing address, then the scripts take this values for the default ones, I know this is to far to be the ideal solution and it makes you update a lot of other stuff. I'm not even sure if this worked well, we just did in order to preserve the original values.
g
Yes, that’s what I currently do. However, if the shipping cost is different for each address and you reset the address during checkout then you get an error about changing the price, even though it’s a change on the customer and not the order. Got frustrated with it today and thought I’d ask if anybody had any better ideas, but it sounds like not.
e
Oh I see. Definitely a huge issue. I would raise a case to Netsuite but I do not know how they prioritize tickets, I think there are some relevant issues out there and they never get fixed. Good luck with that.
g
I have a case. They don’t know. I’ll see if I can figure something out.
Thanks for trying.
🤝 1
d
have they raised a defect for you? I'm about to implement that same solution to mitigate the issue (two custom fields to reset/persist the default ship/bill address)
g
There isn’t a defect raised that I know of. I was using a suitelet to trigger a reset every time the address is changed. But I’m going to see if a reset when a sales order is created might be workable.
d
hey, sorry to ping this thread, but just wanted to check what SCA version this issue is happening with?