#James Tuttle ๐บ๐ธ
1 messages ยท Page 1 of 1 (latest)
Hi, can you share the request id with me where you're seeing this error? Here's how you can find a request ID: https://support.stripe.com/questions/finding-the-id-for-an-api-request
req_wqnEl0Q8ErhtQv
yeah, I think Date.now is in milliseconds, can you try dividing it by 1000?
I did this at the function call :
const dt = (Date.now() / 1000)
const stripeId = await firebase.functions().httpsCallable
('createStripeConnectAccount')({
...values, tos_acceptance: {
date: dt,
ip: res.data.IPv4
}
});
Oh the error differnt now, looks like a float and needs to be an int, cast it then...
Hi @patent shell I'm taking over
parseInt() did it! now I am at the Stripe page
I added parsetInt() after the divide to get out of milli
Let me know if you have any follow-up questions