#Parvesh A. Deosarran

1 messages · Page 1 of 1 (latest)

ruby saffronBOT
solar sage
#

Hello there!

#

Welcome

#

Can you tell me more about what "not working" means?

#

Are you seeing an error?

fleet current
#

Yes, for amounts below 100 usd a 400 err is visible in logs.. above a 200 ok

solar sage
#

Can you provide me the request ID for the error?

fleet current
#

Specifically, invalid_request_error - payment_method_types

solar sage
fleet current
#

req_qtmxDcrd2V0tAe

solar sage
#

Hmm can you double check that? It doesn't load for me

fleet current
#

req_qtmxDcrd2VOtAe

solar sage
#

Thanks

#

Looking

fleet current
#

Ahh i see i typed a Zero in place of capital o

#

🧐

solar sage
#

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!

fleet current
#

So here is to our understanding where it goes wrong

solar sage
#

So right now you are trying to create a $0.20 PaymentIntent, which is below the $0.50 minimum

fleet current
#

Right, should amounts send in the call be in cents? Because the product price here is 20 usd

solar sage
#

Yes it should be cents

#

So you want 2000

fleet current
#

Yes, where in de api doc can i use as guidance for the integration/coding?

#

Your link above?

solar sage
fleet current
#

It’s a react ui

#

Is that your question?

solar sage
#

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

fleet current
#

Will do and get back to you. Thank you very much!

solar sage
#

Sure!

fleet current
#

It is for a marketplace customer checkout

solar sage
#

So you are creating a platform?

fleet current
#

Yes

solar sage
#

Okay then first thing to decide on is what type of Connect Platform you are creating, or have you already done that part?

fleet current
#

It’s a standard account

#

Connect is not enabled

solar sage
#

Oh it is just a standalone account?

#

Then that isn't what we would consider a marketplace

fleet current
#

Yes standalone account

solar sage
#

Okay

fleet current
#

Correct

#

My bad

solar sage
#

Then yeah the above guide is still the correct one to follow :).

fleet current
#

Thanks, question in a standalone account scenario several payment methods such as card, ideal is also usable right

solar sage
#

Yep

fleet current
#

For now we stick with platform collects payments on behalf of merchants

solar sage
#

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

fleet current
#

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?

hot spindle
#

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.

fleet current
#

Thanks very much guys! Talk soon. Stepping out..

#

Take care