#kenengfou_it-PaymentMethod

1 messages · Page 1 of 1 (latest)

gray cloud
#

Hi, what currency is that?

#

the error means you will need to enable a payment method that can be used with that currency

dusty nebula
#

hkd

gray cloud
#

You would want to review your Dashboard setting as the error suggested

dusty nebula
#

hello, setCurrency hkd Can only pay by card ?

#

use this code throws exception

gray cloud
#

Hmm I believe Card should be able to pay any currency

#

when you commented this out, do you have error? Can you provide request id from your Stripe Dashboard?

dusty nebula
#

Do you have Chinese API documentation

#

use commented code ,

#

request-id: req_EmtzKNzZcLk8im

gray cloud
#

If you use "card" instead of AutomaticPaymentMethods like the previous screenshot, would it work?

dusty nebula
#

it is work ,bug amount must > 400

#

bug api response msg is "Amount must be at least $4.00 hkd"

#

bugt api response msg is "Amount must be at least $4.00 hkd"

#

but api response msg is "Amount must be at least $4.00 hkd"

#

api 请求参数‘amount’输入大于400 能访问成功

#

The API request parameter 'amount' can be accessed successfully if input is greater than 400

mighty sinew
#

Hey there! Taking over from @gray cloud

mighty sinew
dusty nebula
#

The API request parameter 'amount' can be accessed successfully if input is greater than 400

#

why

#

4$=31.2068 hkd

#

request-id: req_I8S1iKlFGuWQ81

mighty sinew
#

You're passing currency: 'hkd' which requires a minimum amount of $4.00 HKD (amount: 400)

dusty nebula
#

You mean a minimum purchase of 400 to use Stripe?

mighty sinew
#

Well, it depends on which presentment currency you're using (as detailed on the document)

#

What currency do you want to create the payment in?

dusty nebula
#

hkd

mighty sinew
#

Then yes, the minimum amount is $4 HKD

dusty nebula
#

sorry , have chinese document?

mighty sinew
#

Don't believe we do. The language switcher is in the bottom left of the page

dusty nebula
#

I don't understand "the minimum amount is $4 HKD" ,why the param 'amount' must greater than number '400' ,

#

How is it calculated

mighty sinew
#

The amount parameter is in the smallest unit of the currency. In the case for HKD that's cents

dusty nebula
#

thank you very much

mighty sinew
#

Np!