#phonicuk-pl-url-params
1 messages ยท Page 1 of 1 (latest)
In this particular case a referral tag - so the end customer can do go https://buy.stripe.com/blaaaaah?refid=whatever and I know what the referral was in my webhook
Interesting, we're actually working on something thta will enable this ๐คซ
Let me check on the status of that
๐
Can you share your Stripe account ID?
acct_1KlwDJHd51xGsopZ
Ok, so it's not possible right now. But I'm talking with the team about hopefully enabling this on your account
I'll get back to you on here once I hear from them
awesome!
(they're mostly US based so will be this afternoon hopefully)
No problem, I've got plenty of other details to work on until that becomes a priority ๐
Do you know any of the implementation details? Or is it as literally as my query params get dumped back to me as their keys/values in the webhook as some field name / appended to metadata?
You'd have access to a client_reference_id parameter: https://stripe.com/docs/api/checkout/sessions/object#checkout_session_object-client_reference_id
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
key: String
aah nice, so the new bit is simply exposing that to the payment links in addition to its existing use via the full checkout flow
I have to say, the quality of your guys support and the ability to talk dev to dev about implementation gives me a lot of confidence in your service. I'm really looking forward to going live with it this week!
Happy to hear it!
@coral gulch I've just gated your account to enable that feature
The docs are here: https://stripe.com/docs/payments/payment-links#url-parameters
sweet!
I don't see a section on url-parameters, guessing it's not in the public docs yet?
You should have access assuming you're signed into that account (acct_1KlwDJHd51xGsopZ)
I am stuck in a loop, I click "Sign in" in the top right and after signing me in I'm bounced back where I was with the "Sign in" link still present
Weird. Can you try a hard refresh?
first thing I tried, lemme try in incognito...
that worked fine doing a full login flow from incognito, and I can see the new section
in a normal session, it only works if I log out of the main dashboard entirely and log in from the docs page.
If I log in from the main dashboard and go over to docs, authentication loop.
Weird, let me check on that
The team asks if you can share any feedback with them at payment-links-beta@stripe.com
๐
weirdly this time it worked just fine and isn't looping me ๐คทโโ๏ธ so all that was needed was a full logout and login again. Odd but no biggie
Indeed, evt_1KnOwpHd51xGsopZcXeLqV92 shows me my client_reference_id - perfect
The temptation is to shove URL encoded JSON in there but I suspect that's not the best idea xD
Thanks for getting me that, I'll let them know how it goes