#vivek mahajan - create subscriptions

1 messages · Page 1 of 1 (latest)

ornate oracleBOT
radiant schooner
zealous pumice
#

ok let me check

#

i added product from dashboard

#

any option to set look up key from dashboard?

radiant schooner
#

No, because this is a dashboard only concept -- there's no use for a lookup key aside from using it when listing prices via the API

zealous pumice
#

ok

#

getting this error

#

Fatal error: Uncaught (Status 400) (Request req_e3rEQOQhMSi5u0) No such product: '{{prod_MytKUd96VJLbpR}}'

radiant schooner
#

You've included the {{ }} in the literal value for product id -- you need to remove those

#

You should send product: 'prod_123'

zealous pumice
#

ok

#

working, thanks a lot

#

Can you please provide me card info for testing?

radiant schooner
zealous pumice
#

ok thank you

#

one question regarding subscription? Need information for steps followed for subscription process

#

i mean where it shows all steps for subscription

radiant schooner
#

What do you mean? A guide for creating subscriptions?

zealous pumice
#

yes, like create customer, get payment, get customer history etc

#

also possible to store customer card detail in stripe ?

radiant schooner
#

Do you want to build this yourself, or just prebuilt integration options?

zealous pumice
#

ok

#

also possible to store customer card detail in stripe ?

radiant schooner
#

Yes, you will be saving the card payment details on the customer for the future payments

zealous pumice
#

need to mention in code or it save by default?

radiant schooner
#

When conducting your own one time payments you'd use setup_future_usage to control this: https://stripe.com/docs/api/payment_intents/create#create_payment_intent-setup_future_usage

But this will be set for you on the payment intent inside the first subscription invoice when following that guide

zealous pumice
#

Ok thank you for all information.

#

Will work on it and check if have any question.

#

Thanks again

radiant schooner
#

NP! Good luck

#

vivek mahajan - create subscriptions