#haydn5
1 messages · Page 1 of 1 (latest)
Good question. Checking in to where that data is stored. You may need to retrieve something on that event. Not all checkout data is sent with the event
ya. Just weird it doesn't come over in the checkout session, yet the stripe docs says it should. https://stripe.com/docs/payments/checkout/custom-fields#retrieve-fields
It looks like this is happening because this feature is still in beta, so you need to have your webhook endpoint set up with the beta header:
To use this beta feature, you must update your checkout.session.completed webhook endpoint’s API version with the beta header, such as api_version: "2022-11-15;custom_fields_beta=v1".
https://stripe.com/docs/payments/payment-links#custom-fields:~:text=To use this,custom_fields_beta%3Dv1".
Yep. I totally get that. The problem is, how do I upgrade? If I'm using the no-code custom fields, where do I go to put in the beta code? So far no one has been able to answer that.
where do I go…
I understand that 100%. The problem is it's all within stripe.
It should be a configuration in your dashboard when setting up the webhook endpoint
no idea where to look for that. but I'll look again
Checking in to where this shows up myself
So it looks like this actually isn't settable in teh dashboard at the moment. You would need to create a new webhook endpoint via the API and pass 2022-11-15;custom_fields_beta=v1 in as the API version https://stripe.com/docs/api/webhook_endpoints/create#create_webhook_endpoint-api_version
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
That's what I thought. I'm confused that Stripe allows for custom fields but doesn't actually pass the data along in the no-code area. That's a bummer 😦
What's the 'no-code area' in this context?
Why provide the option for custom fields if you can't pass the data through?
We do – you just need to add some additional configuration to your webhook as we and the docs outlined. I realise that can be problematic for some Payment Links users, it's less than ideal. It's just how beta features work unfortunately.
But this additional configuration is only a requirement whilst the custom fields feature is still in beta. Once this actually released, the fields will be available on checkout.session.completed events without additional setup.
ok. I totally get it. Just frustrating as it's halfway there, but not all the way. Any idea on when you think it will be out of beta?
You'd need to speak to the team directly about that (I guess you had an email about the feature)
I got a few emails about the fields being in beta.
Just frustrating as it's halfway there, but not all the way
it is beta software, after all
oh yes. I completely understand
I'd reply directly to one of those. We here have no timeline for beta features
oh. ok. I figured those emails were noreply kind of things.
Normally there's an email from an address specific to that beta feature
sure, np!