#Sandeep

1 messages · Page 1 of 1 (latest)

void craneBOT
exotic bay
#

Hello! What's your question about that error?

young fiber
#

I am using node to create the payment intent when I am passing the parameters amount it giving this error

#

so I want to know if the error is from the my backend or am i passing the parameters wrong

#

i am from india

exotic bay
#

The error indicates you're passing in a decimal number instead of an integer.

#

3997.9999999999995 is not an integer.

young fiber
#

ok it got resolved

#

can u give me a basic syntax to include the customer name and address in the parameters for Indian payments

exotic bay
#

The name and address are typically included in the billing_details when creating the Payment Method. How are you collecting the payment details?

young fiber
#

using cardElement

young fiber
#

how to pass to parameters like amount,currency

exotic bay
young fiber
exotic bay
#

You do that on the frontend, in your client-side JavaScript, not when creating the Payment Intent.

young fiber
#

ok

#

ok it worked