#tyson - payment link subscription webhooks

1 messages · Page 1 of 1 (latest)

eager orbitBOT
torn bough
#

👋 happy to help

#

but unfortunately it's not really possible to pass down a Customer from a Payment Link to a Checkout Session

novel perch
#

Could it be done by updating the checkout session somehow?\

#

]

torn bough
#

No you'd have to create a new Payment Link

novel perch
#

For each customer?

torn bough
#

oh sorry my bad, I confused you with another Payment Links thread

#

🤦

#

if you know the customer ahead of time, then Payment Links isn't the right solution for you

#

you should instead use Checkout Sessions and create one each time for each customer

novel perch
#

could transfer_data, with the customer id sort it out

#

basically, checkout sessions create a bud on the software i am using

#

so i can use them

sudden dock
#

Hey! Taking over for my colleague. Let me catch up.

novel perch
#

yes!

sudden dock
#

transfer_data is used for creating destination charges for one of your Connected Accounts

sudden dock
novel perch
#

I am an unrelated question from earlier i solved it! But with the payment links, how to i ret the return url?

#

as the after completion para = return )how do i set that return URL?

novel perch
#

Sweet!

#

Is there a way of adding all the activity of my connect accounts into my app?

#

Basically i am i have to use payment links, and i am trying to tell my app when a subscription is complete could i get this info?

#

about quanity of subscripons left?

#

ect

sudden dock
#

Not sure I'm understanding all of your questions

novel perch
#

I need to have a GET API request so i can amend the amount of subcriptions after purchase within my app

novel perch
#

is that possible?

sudden dock
novel perch
#

Workflow i need = payment via payment link -> back to app -> stripe data to app = changes available value

sudden dock
novel perch
#

What key should i use to get the quanity of products left?

sudden dock
#

I don't know this tool, what do you want to achieve ?

#

What do you mean by "i use to get the quanity of products left?" ?

marsh beacon
#

This might involve tracking any "stock" or capacity however you do that in your system

marsh beacon
#

tyson - payment link subscription webhooks

novel perch
#

In an after completion payment link, can i get stripe to send my app an api request to change quantity of product. using my own webhooks and secret keyss

marsh beacon
#

You can subscribe to our webhooks (as in that doc) and do whatever you need to do from there in your endpoint handler when you get a notification