#namrata-help

1 messages · Page 1 of 1 (latest)

celest pilot
#

hi there! how can i help?

woven leaf
#

I am using stripe api in laravel applicatin

#

getting this error

celest pilot
woven leaf
#

means how to handle this error

celest pilot
#

According to the error message, the minimum amount needs to be at least 50 cents and INR7.7 converts to only $0.14

#

if you can share the request id, i can take a closer look.

woven leaf
#

I have check dashboard there is no request id generated for this

celest pilot
#

do you have a PaymentIntent or Charge id?

woven leaf
#

let me check it

#

can i send token id

#

tok_1KyVj8Kz8WXEqDYJS2ASMbCB

#

card_1KyVj8Kz8WXEqDYJTg2Ytjpf

celest pilot
#

your charge amount is smaller than the minimum amount. After conversion, the minimum amount for your account needs to be >= $SGD 0.50

woven leaf
#

who will do this conversion

#

becoz i am having near about 6 to 7 currency

celest pilot
#

Stripe will automatically convert the presentment currency (a.k.a the currency your customer is paying in) to your Stripe's account settlement currency (a.k.a the currency which we will pay out to your bank account) : https://stripe.com/docs/currencies/conversions

woven leaf
#

can i do like after creating charge object then i will check whetaer $charge[amount]>= $SGD 0.50 if yes then show error to user and terminate payment

celest pilot
#

when you make the request to create the Charge, the request will fail with that particular error already

#

you can display that error to the user

woven leaf
#

means i need to handle this exception using try catch block

woven leaf
#

Hii

#

alex

celest pilot
#

hello, yes?

woven leaf
celest pilot
#

yes, that's correct

woven leaf
#

means i need to handle all exception that stripe provide

celest pilot
#

exceptions should be handled anyway