#olegdm
1 messages · Page 1 of 1 (latest)
Hello olegdm, we'll be with you shortly! Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
• olegdm, 7 days ago, 25 messages
PaymentLink doesn't support usage-based pricing.
Haw i can integrate usage-based subscription to my site ?
Are there any other options for integrating usage-based subscriptions into my site?
Sure, you can use Checkout session https://stripe.com/docs/billing/subscriptions/build-subscriptions
can i do it without backend ?
Sure, you can use Subscriptions API directly https://stripe.com/docs/api/subscriptions/create#create_subscription
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
But with this approach, could I have security problems?
What security problem do you refer to?
If I implement it from the frontend, could my Stripe key be exposed to anyone?
I'm not following, I thought we are talking about backend?
about frontend,
Can I create something similar to a payment link for usage-based subscriptions to integrate into my site without using a backend?
No, you can't create a subscription with a publishable key, you need to use a secret key to create one.
https://stripe.com/docs/billing/subscriptions/build-subscriptions?ui=elements I believe this is the integration path that you want to proceed with