#How to set more metadata

1 messages · Page 1 of 1 (latest)

sacred estuary
#

Hello, I am using Xano no-code backend and I want to link the user_id with the customer.id. I have seen the payment metadata
"metadata={"order_id": "12345"}" the path is metadata in the example

However where the above string is set, I need to choose the variable user_id, but then I can't let the Mollie api know that this piece of metadata is about customer_id, because I want to generate this dynamically.

The documentation and YouTube channel could have some more examples. Seeing someone actually do the things with in my case no-code popular backends would be a great plus. I used Stripe to get a sense of what I should know or be doing.

tranquil cobalt
#

Hi there,

Not use if I get your question correctly, but the metadata field is a field which you can put it any data you want. The Mollie API simply saves what you give to us and return that with the Payment everytime you call the API.

Therefor, you have to set the metadata as you want it before sending your request to us. We do not fill in variables.

Is that what you mean?

sacred estuary
#

Maybe, if I interpreted it right, then I only need to save the data in the input field. What I meant was, that if the path name is metadata, I don't have space to tell what metadata it is. Because ideally you want to set for example the field name and the variable content. My user.id with 12345. If I have to specify the keyword metadata in the first field, then I get a pair metadata 12345, metadata booking456 etc. Unless the key metadata is a substitute for everything that is meaningful for me that is my keyword with it's data in the corresponding field. With other words in that case I do not have to let Mollie know what I put in the fields. It takes just any data? I hope that explains more what I need to fill in, see picture