#Daniel M
1 messages · Page 1 of 1 (latest)
Can you share the ID (req_xxx) of the failing API request? https://support.stripe.com/questions/finding-the-id-for-an-api-request
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
ill send the error
(node:19999) UnhandledPromiseRejectionWarning: Error: Missing required param: amount.
at Function.generate (/opt/backend/node_modules/stripe/lib/Error.js:40:16)
at res.toJSON.then.StripeAPIError.message (/opt/backend/node_modules/stripe/lib/StripeResource.js:220:35)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
(node:19999) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:19999) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
req_nyBPEWYQXyex6Z
Sounds like your API call to create your Payment Intent is missing an amount parameter?
My guess is your env variable isn't set as you expect because we're not receiving that in the API request