#pedromcr-typescript-error
1 messages ยท Page 1 of 1 (latest)
Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- pedromcr-payment-link-metadata, 26 minutes ago, 12 messages
Hi ๐
We close threads due to inactivity here. Can you summarize the current state of your quesiton?
I want to pass in some metadata upon creating a Payment Link, which appears it should be allowed judging from the official docs (see parameter payment_intent_data.metadata): https://stripe.com/docs/api/payment_links/payment_links/create#create_payment_link-payment_intent_data-metadata
However, I don't see metadata as a valid key in payment_intent_metadata for some reason. Was I wrong to assume you could do that? How else can I pass in metadata upon creating a payment link, so that when a payment intent is generated, it passes on that metadata?
Thanks in advance
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
My stripe API version is 2023-08-16
You can pass payment_intent_data.metadata. What error are you receiving?
It doesn't seem like I can
also here:
although the docs say you can, as per link above
also not picked up as a valid key by vscode:
Okay that's a lot of screenshots. Can you just paste the exact error text you are receiving?
I guess it's not available on the 2023-08-16 API version that I'm using, only 2023-10-16. Would that be correct?
No I don't think s0
I can see that option both with API version 2023-10-16 and 2020-08-27
What is the error message you are seeing?
And where do you see it?
I was using 13.6.0^
You were using that version? Are you still?
I was trying to upgrade to latest to see if it changed anything, so since my last screenshot I upgraded to 13.11.0^, hence the was
Support for payment_intent_metadata was added in 13.9.0 https://github.com/stripe/stripe-node/blob/master/CHANGELOG.md#1390---2023-10-05
The latest version is 14.9.0 https://github.com/stripe/stripe-node/blob/master/CHANGELOG.md#1490---2023-12-14
there we go, that's why. I was on 13.6.0. Thanks!