#tree-of-life_api

1 messages ยท Page 1 of 1 (latest)

radiant etherBOT
#

๐Ÿ‘‹ 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.

naive lotus
#

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

void patio
naive lotus
#

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

void patio
#

What's the Subscription ID?

naive lotus
#

sec

#

sub_1RCkqnSJIEFbQRuHfoYFX1GQ

void patio
#

You need to chill out. Your behaviour is not okay.

naive lotus
#

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

void patio
#

That Subscription doesn't exist so I can't confirm or refute your claim here.

naive lotus
#

, . is not visible in mobile view that properly

naive lotus
void patio
#

Yes, please do.

naive lotus
#

sub_1RCl3USJIEFbQRuH3o4cNYz0

void patio
#

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.

naive lotus
#

how can i hide those .00

naive lotus
void patio
#

You need to stop with this abusive behavior now.

naive lotus
#

are u crazy ?

#

i didnt type anything abusive

#

just u cant help u start targeting behaviour

#

neither u help any manner

void patio
#

You didn't ask to add Subscrtiption metadata, only Checkout Session metadata.

naive lotus
#

bro

#

i asking u

#

go check webhook

void patio
naive lotus
#

that doesnt help it

#

sec i check ur 2nd url

void patio
#

What's the Event ID for the Event that you're concerned about?

radiant etherBOT
naive lotus
#

how do u add subscription metadata inside checkout session metadata

#

isnot it confusing

naive lotus
#

subscription_data.metadata is it this?

void patio
#

Yes.

naive lotus
#

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

void patio
#

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.

naive lotus
#

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

void patio
#

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.

naive lotus
#

i can tell that

void patio
#

Did you have a question?

naive lotus
#

yah about paisa

#

how can i remove it

#

it should be inr not paisa

void patio
#

How do you format a numeric string?

#

Is that what you're asking?

naive lotus
#

didnt got u

void patio
#

How many paisa in an inr?

naive lotus
#

100

#

but why u not showing paisa

naive lotus
void patio
#

Why are we not showing what?

naive lotus
#

u are showing paisa not indian rupees 1 rupees is 100 paisa

void patio
#

Cool. That's a pretty easy conversion, right?

naive lotus
#

yah i guess

#

but i dont know if u change in future might be issue

void patio
#

If who changes what?

naive lotus
#

if u change paisa to rupees later

#

while my backend was working on paisa to rupees conservtion

#

anyway thnx for u help

#

but

#

wait

void patio
naive lotus
#

i dont want to show that .00 in that UI

void patio
#

This is not a Stripe question, it's a very basic general coding question, and very language- and environment-specific answer.

naive lotus
#

ur stripe ui is fixed cant be altered

void patio
#

Oh, you mean in Checkout?

naive lotus
#

yah

#

else i will prepass user card detail lol

void patio
#

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,

naive lotus
void patio
#

Cannot.

naive lotus
#

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

void patio
#

๐Ÿ‘