#Chance

1 messages · Page 1 of 1 (latest)

brazen ferryBOT
muted marsh
#

hello! how can I help?

karmic halo
#

This mean $10.

#

Right?

#

The “return 10;” should mean $10? No?

muted marsh
#

no, $10 would be 1000 for usd

https://stripe.com/docs/api/payment_intents/create#create_payment_intent-amount

Amount intended to be collected by this PaymentIntent. A positive integer representing how much to charge in the smallest currency unit (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The minimum amount is $0.50 US or equivalent in charge currency. The amount value supports up to eight digits (e.g., a value of 99999999 for a USD charge of $999,999.99).

karmic halo
#

Ok, so right now it’s thinking I want 10 cents?

#

Yes, I’m USD

muted marsh
#

yes, you're telling Stripe that you want to charge 10 cents

karmic halo
#

Alright. I will change that to 1000