#mboras_api
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/1216673729212583947
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
hi! sounds good! Sorry, I didn't understand what specific question you're asking?
can I on first purchase
require from user to enter his email
update that customer
and also maybe send request to my backend
so I Can update user in my app also
I don't want to allow users to buy
withotu emails
since I need to send them fiscalized inovices
You can call https://docs.stripe.com/api/customers/update#update_customer-email at any time to set the email on a customer yes, if that's the question!
Also if you use products like Stripe Checkout to process payments it always collects/sets an email as part of processing the payment.
I am using Stripe Customer portal
can I require from user that he needs to have email on his customer object
before he buys something
Customer Portal doesn't accept payments or anything, you'd use Checkout to creeate the customer and do a payment and it always collects/sets an email as part of processing the payment.
???
My customers are now paying through customer portal
for their subscriptions
I don't have checkout in my app
how do they create the Subscription in the first place?
I am creating automatically free sbuscription
on onboarding
and when they want to buy something they're going to customer portal
to update plan
from free to paid
cool. So what is your current question/where are you blocked.
user logins with twitter
he doens't have email
I need to send on payment success of some paid plan fiscalized invoice
I want to block him before first purchase
to update stripe customer email
and my firebase auth email
then he can buy
can I do that in customer portal before purchase
or I have to do in in-app
in-app
kk