#Parvesh A. Deosarran
1 messages · Page 1 of 1 (latest)
Hello there!
Welcome
Can you tell me more about what "not working" means?
Are you seeing an error?
Yes, for amounts below 100 usd a 400 err is visible in logs.. above a 200 ok
Can you provide me the request ID for the error?
Specifically, invalid_request_error - payment_method_types
Can you provide me the request ID (https://support.stripe.com/questions/finding-the-id-for-an-api-request) so I can take a look?
req_qtmxDcrd2V0tAe
Hmm can you double check that? It doesn't load for me
req_qtmxDcrd2VOtAe
No the issue here is that you are below the minimum amount for a charge, which is $0.50. However, we should be returning a better error message!
See: https://stripe.com/docs/api/payment_intents/create#create_payment_intent-amount. We use the smallest currency unit for amount
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
So here is to our understanding where it goes wrong
So right now you are trying to create a $0.20 PaymentIntent, which is below the $0.50 minimum
Right, should amounts send in the call be in cents? Because the product price here is 20 usd
Yes, where in de api doc can i use as guidance for the integration/coding?
Your link above?
Mostly depends on what type of integration you are trying to build. But for a basic integration you would follow: https://stripe.com/docs/payments/accept-a-payment
Yep we have React samples in that integration
No it is more what type of Stripe integration you want
Like Stripe Checkout vs. Payment Element
Take a look at the above to start with and let me know if you have any questinos
Will do and get back to you. Thank you very much!
Sure!
It is for a marketplace customer checkout
So you are creating a platform?
Okay then first thing to decide on is what type of Connect Platform you are creating, or have you already done that part?
Like have you chosen the Account type that you are going to work with: https://stripe.com/docs/connect/accounts ?
Oh it is just a standalone account?
Then that isn't what we would consider a marketplace
Yes standalone account
Okay
Thanks, question in a standalone account scenario several payment methods such as card, ideal is also usable right
Yep
For now we stick with platform collects payments on behalf of merchants
Both Checkout and Payment Element support various different payment methods
Checkout = "Prebuilt Checkout page" in the above guide and Payment Element = "Custom payment flow" in the above guide
My guess would be that Connect and its accounts type are for more advanced marketplace and payment flow models right?
One last question 🙋🏽♂️. Im the product guy. If my dev wants to discuss more in depth about issues in stripe int/coding, can we chat here?
Hi there. Taking over for bismarck as they have to step out. Connect is a more advanced flow, you're right. I recommend reading our docs to get an understanding of its use-cases if you're interested: https://stripe.com/docs/connect. Yes, your dev can come ask technical questions here. That's what we made this Discord for actually.