#luxterful_docs
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
๐ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1372524513694060574
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Can you share the ID (req_xxx) of the API request? https://support.stripe.com/questions/finding-the-id-for-an-api-request
Find help and support for Stripe. Our support site provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
req_AZryqdSJOSVTNj
The ZIP/address needs to be set on the Customer object, which won't happen automatically. You need to provide that when you create the customer: https://docs.stripe.com/tax/subscriptions#save-customer-details
Example above uses the Address Element, prior to payment
You can get the postalCode from the Card Element: https://docs.stripe.com/js/element/events/on_change?type=cardElement#element_on_change-event
But at that point your Customer object would already exist
You can get the postalCode from the Card Element
Ok i will try that
It won't work though as I said because you'll only be mounting the Card Element after the subscription is created โ which fails without the ZIP
we create the subscription after the payment with the deferred flow
and from the change event i dont get the postalCode btw
hi! I'm taking over this thread.
Ah, you said Card Element. That's the Payment Element and we don't expose those details
Ahhh so if i use the card element itself this info will be exposed?
Otherwise: is the postalcode field of the payment element stored in stripe? can i access it somehow?
Ahhh so if i use the card element itself this info will be exposed?
actually I'm not sure.
Otherwise: is the postalcode field of the payment element stored in stripe? can i access it somehow?
Sure, it will be on the PaymentMethod object itself: https://docs.stripe.com/api/payment_methods/object?api-version=2025-04-30.basil#payment_method_object-billing_details-address-postal_code
Sure, it will be on the PaymentMethod object itself
can i somehow tell stripe to use this information for the tax calculation?
no, because the postal code of the payment method might not be the postal code where the user lives.
if you want to use that information for tax calculation anyways, you'll need to make an extra API call to update the customer object with that address.
ahh thanks. i will try that
another question: if a customer pays with paypal, there is a chance that the postalcode will be provided by paypal. Its not ensured that it will be sent, but sometimes it will, right?
not very familiar with Paypal. where did you see that information? in the doc? can you share a link to it?
some weeks ago i asked this question here and i think the answer was that sometimes it is provided by paypal
not sure about this. maybe you can ask Stripe support for help directly: https://support.stripe.com/contact