#gibigbig_api
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
đ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1245440142492045343
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Can you explain a bit more about what you're trying to do?
I want to pass variables like
email: gibigbig@provider.com
project: animesoul
within the form i linked above so I can see these variables in my stripe dashboard
ideally add them in a way I can generate a list based on these variables in the stripe dashboard
have you looked into using metadata on any of the Stripe objects you interact with? They're just arbitrary key/value pairs that you can use to store information on Stripe objects for later lookup.
Here's the Payment Intent metadata as an example: https://docs.stripe.com/api/payment_intents/create#create_payment_intent-metadata
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
so this is what youre suggesting
amount: amount,
currency: 'usd',
metadata: {
discordid: req.user.id,
target: target,
amount: amount,
project: "Animesoul Premium"
}
});```
?
as inmetadata will accept any amount/type of variables and make it displayed on the stripe dashboard?
It can be retreivable in the Stripe Dashboard, but it doesn't have any material effect on the actual behavior of the Payment Intent. It's just there for you to reference either via the Dashboard or API