#Daniel M

1 messages · Page 1 of 1 (latest)

frozen vault
#

Hey! Can you share the exact error? What API call are you making?

last oracle
#

it appears as soon as the backend starts

#

when creating the intent I think

#

one sec

frozen vault
last oracle
#

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.
frozen vault
#

Sounds like your API call to create your Payment Intent is missing an amount parameter?

last oracle
#

amount should be set to 1000

#

from my env

frozen vault
#

My guess is your env variable isn't set as you expect because we're not receiving that in the API request

last oracle
#

actually i think i found it

#

yeah pretty much

#

actually its my partner´s version wehich isnt working

#

and his env is different

#

didnt think of that, thanks!