#tree-of-life_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/1360295958583447743
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
session doesnt even pass meta deta in any section what kind of design u make
only pass in complete section
also ur payment of stripe count paise not inr in stripe
You can pass metadata you want set on the Subscritption like this. https://docs.stripe.com/api/checkout/sessions/create#create_checkout_session-subscription_data-metadata
i told u dude it not working at all
u know webhook did u print metadata ?
did u see all of them get blank except complete one
u want proof screenshot let me know
What's the Subscription ID?
You need to chill out. Your behaviour is not okay.
if i get time later i will create my own payment gateway
and concering is the paise system should be removed
people will think it 210000
That Subscription doesn't exist so I can't confirm or refute your claim here.
, . is not visible in mobile view that properly
hmm wait i create new one
Yes, please do.
sub_1RCl3USJIEFbQRuH3o4cNYz0
Also all amounts used in the API are in integer cents (or whatever the name of the smallest fractional currency unit might be). You can render them however you please.
how can i hide those .00
i dont think it help u either u need to create session on subscription or payment and when u pass metadeta u will eventually see issue then check webhook u will see the issue then
You need to stop with this abusive behavior now.
are u crazy ?
i didnt type anything abusive
just u cant help u start targeting behaviour
neither u help any manner
You need to specifically ask for Subscription Metadata to be added: https://docs.stripe.com/api/checkout/sessions/create#create_checkout_session-subscription_data-metadata
What's the Event ID for the Event that you're concerned about?
how do u add subscription metadata inside checkout session metadata
isnot it confusing
subscription_data.metadata is it this?
Yes.
sec i check
it work but why the not metadata just set to globally
passing each nested
anyway my last question
how can i remove this .00
2,100.00 when i retieve the payment i get 210000
Because Stripe and its many objects are very complicated, and because that is one possible way it could behave, but not the way everyone wants it to behave.
sorry for bit rude behaviour i was quiet angry with stripe people
when account already verified
the again put verfication process
when my site go 404
like how come u have to verifiy already verfied account also my account was 5year old
now the ask put again bank account and all other detail
That seems reasonable. There are lots of reasons we might need to do that; the rules and laws around this are incredibly complex at global scale - it's really hard for most folks to wrap their head around just how hard it is to build things that operate at that scale.
i can tell that
Did you have a question?
didnt got u
How many paisa in an inr?
.
Why are we not showing what?
u are showing paisa not indian rupees 1 rupees is 100 paisa
Cool. That's a pretty easy conversion, right?
If who changes what?
if u change paisa to rupees later
while my backend was working on paisa to rupees conservtion
anyway thnx for u help
but
wait
We explicitly call out how we deal with amounts. It's in integer cents (or whatever the smallest currency unit is). https://docs.stripe.com/api/charges#:~:text=A positive integer representing how,or equivalent in charge currency
i dont want to show that .00 in that UI
This is not a Stripe question, it's a very basic general coding question, and very language- and environment-specific answer.
ur stripe ui is fixed cant be altered
Oh, you mean in Checkout?
What?
You can't change the way we render currencies. Amounts are amounts, and include both the full and fractional portion - pennies, pence, paise, centimes, whatever,
Cannot.
so it fixed ?
ah rip
alright then i think may be its ok
thnx alot for help but sorry putting stripe people anger onto u
๐