#chirp

1 messages ยท Page 1 of 1 (latest)

dense frostBOT
golden harness
#

Hi, how can we help?

halcyon tree
#

Hi! Thanks for asking!

#

I am struggling with what must be a very basic question.

#

I have a product and I have created a link so that people can go pay with the link. Its actually that they can subscribe.

#

I am making a webhook to be able to listen to the subscription events ... but im not clear on how I decorate the link with the user information that can then be relayed back to me when they subscribe (or unsubscribe).

#

like how do I send a user to your UI and get notified when they complete what they need to complate?

golden harness
#

What you described is Payment Link and there is Checkout which is similar and support the function of marking some additional data

#

Any chance you can use Checkout? It requires some API calls

halcyon tree
#

API calls to stripe? Would I need to have any "secret" information? This is a serverless lamda/s3 build so some things I can easily do and others ... not so much ๐Ÿ™‚

golden harness
#

in your lambda I think you can call Stripe API as any backend, right?

halcyon tree
#

yeah i should be able to.

golden harness
#

Yes to call Stripe API it needs a Secret Key

#

Wait, but you need the information to be different per customer, correct?

halcyon tree
#

yes.

#

different per customer.

#

so a user decides to subscribe. They go to stripe and pay. I get a web hook notification and account features are unlocked for them. thats the thinking.

golden harness
#

It can be a dictionary of free value