#ayberk-node-parameters
1 messages · Page 1 of 1 (latest)
Hello! Can you provide more details? Are you using one of our libraries? What programming language? Can you share your current code?
Hi yes im using stripe libraries. Im developing a mobile application with dart on flutter. This is firebase function's index page with js.
The stripe was working well but i need to this 2 parameters on my project cuz of basicly when deciding which database to migrate and when i add this parameters to body stripe is getting this error. 'Received unknown parameters: userid, bookid
With this parameters im getting userid and bookid informations from another dart page.
I think so the api doesn't have this parameters and i need to change or fix it but idk how can i do this.
Thank you for your help!
There are no userid or bookid properties in the Stripe API. Perhaps you want to set these in metadata? https://stripe.com/docs/api/metadata
hmm i guess i can not add this parameters to stripe right? So should i use metadata?
Yes.
Do you have any tuttorial about the metadata. It is looking like so confusing. Im new about the programming.
Nothing beyond what I linked above. It would basically be something like this:
const paymentIntent = await stripe.paymentIntents.create({
amount: ...,
currency: ...,
metadata: {
userid: ...,
bookid: ...,
},
...
});
hmm i didnt do anything about the website i just typed your code and im feeling like idiot cuz of the program get the error about syntax. I have to fixed this problem really im sorry i feel bad for asking such silly questions.
Probably i should do something on the website
oh you are right
i got it im trying
omg man what a huge you are :D
i thougt i should set up something from website of you send
i appreciative for taking care of a newbie like me
and sorry for your wasting time
Happy to help!