#Jane_Zhong

1 messages · Page 1 of 1 (latest)

tropic horizonBOT
opal walrus
#

Hi there!

#

@frigid kraken let's what in this thread

frigid kraken
#

ok

opal walrus
#

The error message is pretty clear:

message: "Amount must be no less than $250.00",

frigid kraken
#

Yes . There problem is ,I have already set to 325 dollar ,attachment is my code ,please take a look at it

opal walrus
#

The request you shared has this: amount: "1100". So it's not $325.

frigid kraken
#

Yes... this also confused me ... I don't know why I get this ?

opal walrus
#

For a test, can you hardcode the amount to 300000 for example?

frigid kraken
#

Let me try and back to you

#

Ahh ,one more thing ... After I do the payout ..I always get a 20$ payment.Which I have no idea where dose it come from ....Therefore, I assuming that,maybe there is something wrong in my account .Anyway ,I am going to hardcode my amount to 300000 to see what will happen

opal walrus
#

.I always get a 20$ payment.Which I have no idea where dose it come from ..
Can you share the payment ID?

tropic horizonBOT
frigid kraken
#

Yes :
pm_1MnIZMEm6oZta2poey9yGCAx

torpid girder
#

Because you are passing 20$ when creating the Payment

#

Can you share how are you creating the PaymentIntent ?

frigid kraken
#

I don't get it .It means ,I am hardcoding to pay someone 20$ ?

#

I have hardcode the payout according to the suggesstion of Soma,seted it to 30000;and got the same error 'amount too small'

#

also this

torpid girder
#

I see multiple errors here...

#

Amounts are in cents between

torpid girder
frigid kraken
#

which means 32500

#

It is in testing mode

torpid girder
#

You need to debug your code... add some logs/breakpoints and see what is the value of readyToPay in your code

#

and check why it's been sent 1100 and not 32500

frigid kraken
#

Ok,I am on it

#

I have tried ,and yes ,readyToPay is 300 in log

#

And I am again been charged 20 dollar ...

#

Is it possilbe reset my stripe account ?

#

Maybe ,it was because I have created some other accounts without notice it ..

#

evt_3MnfJVEm6oZta2po0A87F79X

#

This is my account Id :acct_1LhszfEm6oZta2po

torpid girder
torpid girder
frigid kraken
#

Howwever ,from my webhook ,I have received two events :

torpid girder
#

I'm not sure that the code you are sharing and the event you are pointing to are related. The code you are sharing si for Payout while the events you are sharing are PaymentIntent and Charges...

frigid kraken
#

yes , because I only got these responses

#

Never mind , I am trying to debug to see if I had set something without notice .Thank you so much for your assistance .Will back to if i know something

#

The only thins I need to make sure is ,event thought it is in test mode ,I am still able to test the payout function ,right ?

torpid girder