#pedrodiaz-amount

1 messages · Page 1 of 1 (latest)

hallow rock
#

Hi there, yes our API doesn't accept decimals. What language are you using?

opaque nova
#

Python

#

This is my first time trying Stripe so I'm kinda reallyy lost

#

Sorry

hallow rock
#

Can you tell me more about what is blocking you and what exactly you are trying to do?

opaque nova
#

I'm trying to subscribe Users to a "plan" but the plan doesn't really exists in Stripe, it only exists in my Web App, so with Stripe Webhooks I'm trying to store the information that Stripe sends me after the payment is done

#

I'm looking for specific information like amount, payment status, etc

hallow rock
#

Okay, and are you listening for paymentintent.succeded?

opaque nova
#

Yes

#

I'm currently listening to everything because I don't know exactly for what I need to perform the Operation I told you before, subscribe Users to a billing plan without needing to create a plan in Stripe or something like that

hallow rock
#

So yeah, if you aren't using subscriptions within Stripe, then paymentintent.succeeded is the event you want. Then you can reconcile to your database from that.

#

Are you specifically having trouble getting the amount from the webhook to your database?

opaque nova
#

Not exactly I was just curious of that Stripe doesn't accept float

#

Thank you for the help, I'll around quite sometime here

#

And for the record, in Stripe everything that ends with 00 means x.00, right?

hallow rock
#

Yes except for zero-decimal currencies