#mark-kalnitski_webhooks
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/1286275269761699961
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi, let me help you with this.
These parameters will only be included in the redirect URL: https://docs.stripe.com/payment-links/url-parameters#track-campaigns-with-utm-codes
Only this parameter will be added to the Checkout Session object on the checkout.session.completed webhook event: https://docs.stripe.com/payment-links/url-parameters#streamline-reconciliation-with-a-url-parameter
this means, I could send the affiliate ID "whatever12345", as if it was a source, with the utm "buy.stripe.com/xyz?utm_source=whatever12345" and receive it back on the 'checkout.session.completed', did I get you right?
No, as you can see in the sections I shared, only client_reference_id is sent via webhook.
The rest is appended to the return_url
Let me reconfirm one last time (sorry, english is neither my mother tongue nor am I a coder) - ANY Utm parameter will be returned in the return_url? so I don't have to change anything about the ?affiliate_id parameters as long as I use the return?
How do I fill the client_reference_id with the affiliate id externally/automatically? or has the client_reference_id to be set manually?