#Mirza
1 messages · Page 1 of 1 (latest)
Hi! Let me help you with this.
Unfortunately this is not possible, Payment Links create a new customer every time. But if you already have a Checkout Session integration you can just use that.
Thanks for your reply. How would I then share revenue with another (connected) account?
Or alternatively, is there a way of passing along meta data with the payment link (so I know which registered user is making the purchase)?
How would I then share revenue with another (connected) account?
Not sure how is this related?
I am using the Payment link After payment option to split subscription revenue with another connected account
Wrong approach?
Why can't you do the same with a Checkout Session? It's much more powerful, and you already have it implemented.
But here's some URL params that you can use with the Payment Link: https://stripe.com/docs/payment-links/url-parameters
are you referring to transfer charge? https://stripe.com/docs/connect/charges-transfers
I think we are talking about 2 different things 😅
"Why can't you do the same with a Checkout Session?" can you expand on this please?
I think I might have misunderstood the initial question:
When this user purchases a subscription i redirect them to checkout ...
Do you use Stripe Checkout: https://stripe.com/docs/payments/checkout
Or Payment Links: https://stripe.com/docs/payment-links
I am doing this and it works:
https://stripe.com/docs/checkout/quickstart
but, I do not know how to share revenue this way
so I am trying to use payment links instead
since payment links allow you to configure the After payment section
You don't need to use Payment Links.
You can use Destination Charges to transfer some part of the amount to a Connected Account: https://stripe.com/docs/connect/destination-charges
The other option I thought of was this: https://stripe.com/docs/connect/charges-transfers to be applied when handling webhook
aha, wrote at the same time
You can specify it when creating a Checkout Session: https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-payment_intent_data-transfer_data-destination