#loterak

1 messages · Page 1 of 1 (latest)

sharp jacinthBOT
rugged oasis
#

That should happen automaticaly

dusky sentinel
#

That makes sense.

This particular user does have a zip code associated to their CC but every time they open a checkout they get this error.

torn hollow
#

Hello 👋
Since the customer doesn't have a zip code, checkout won't be able to calculate the tax when you pass in the customer ID on creation.

As the error message suggests, you'd need to set customer_update[address] or the shipping update to auto

#

This allows customer to provide a zip and lets stripe store & use that for tax calculations

dusky sentinel
#

Yeah, they can already update their address from the customer portal but I would rather avoid having them do that manually.

Given the docs, I don't understand why the zipcode is not getting grabbed from the CC

torn hollow
#

can you share the customer ID you're working with?

dusky sentinel
#

yep! cus_JdTQSUwigO5P3c

torn hollow
#

try setting it as default under inovice_settings.default_payment_method and see if that works

dusky sentinel
#

So even if they only have one payment method that won't be the default automatically?

torn hollow
#

Stripe doesn't set any payment methods as default. The API just considers them attached.
You'd need to make an API request to mark a PaymentMethod default

dusky sentinel
#

I see. Maybe we should be doing that.

I've set their payment method as default but the checkout still seems to be failing

torn hollow
#

Can you share the request ID?

dusky sentinel
#

req_FlUDYTguAfzLfW

torn hollow
#

asked a colleague to take a look, will respond as soon as we find something

torn hollow
#

We're still looking into this, appreciate your patience

dusky sentinel
#

No worries

torn hollow
dusky sentinel
#

Will do, thank you!