#usmannasir

1 messages · Page 1 of 1 (latest)

haughty ironBOT
red basin
regal helm
#

no actually we want to ask one additional detail from customer which is not address and other normal attributes, we want to ask something custom when they are subscriping and pass it via webhook to our platform

red basin
regal helm
#

i set metadeta already, but its not showing in payment page

red basin
regal helm
#

how to do that from stripe interface as I am creating the product in stripe, customers will be redirected to stripe to buy and then stripe will send webhook to our end-point url

red basin
#

I don't think you can create a checkout session from Stripe Dashboard. You need to call Stripe API and create a checkout session from your backend.

regal helm
red basin
#

So you are using Payment Link I guess?

regal helm
#

I will be honest with you, i dont know exact terminlog to this, but in stripe it does say that copy "payment link"

red basin
#

Not possible, there's no option that allow you to collect additional information in a checkout page. But you can do it programatically by using the API that I sent you earlier

regal helm
#

ah yes. I know that we can do using code we are currently managing subscription on our end and just using stripe for payments. but we wanted to offload subscription to stripe.

#

but thanks for your help though

#

appreciated

#

but i suppose this should be allowed.. mau open new doors to stripe

red basin
#

You can always programmatically associate custom data in a checkout session, it's just that the checkout page doesn't provide fields to collect addiitional data

regal helm
#

i dont think we can create session without using our keys

red basin
#

You need to use secret key to create a checkout session

regal helm
#

ah yes that is not possible in our current approch. cant use secret key as this is open code,

red basin
#

Then you need to figure out a safe way to save and use the secret key

regal helm
#

thanks Jack, really nice talking

red basin
#

Welcome!