Comments (14)
@adreyfus-stripe thanks for the response back.
No, I meant by how you can manage subscription. Reading along the self-serve documentation it states the following:
The self-serve portal is a secure, Stripe-hosted page that lets your customers manage their subscriptions and billing details.
However the integration reguires the following:
Next, add an endpoint that creates a portal session and redirects your customers. Make sure to authenticate customers on your site before creating sessions for them. To create a session, you need the customer’s ID and a return_url, which is required if a default return url isn’t set in the Dashboard configuration.
Therefore I was wondering if there is self-serve there solution for full hosted checkout solution as opposed to the current mix of client/server solution.
from checkout-single-subscription.
@adreyfus-stripe thanks for the demo. I'm also wondering how it will be possible to manage the subscription.
I did read the documentation extensively but the part I'm getting stuck is the authentication part, which Stripe does not go into detail for the client side (stripe hosted) solution.
In addition, would it be possible to apply coupon code the to the checkout?
from checkout-single-subscription.
In case helpful, we've added some samples that show you how to use the customer portal with some authentication solutions: https://stripe.com/docs/billing/subscriptions/customer-portal#start-with-sample
I hope this is helpful. I'm going to close out this issue. Please reach out to our technical support chat on IRC for follow-up questions: https://webchat.freenode.net/#stripe :)
from checkout-single-subscription.
@mytototo By subscription management do you mean updating a customer's card using Checkout? (like https://stripe.com/docs/payments/checkout/subscriptions/updating). And what do you mean by authentication?
from checkout-single-subscription.
@adreyfus-stripe Yes this is what I mean, but also being able to update a subscription. About the authentication : is it possible to create and update subscriptions without server-side authentication? For example with a simple token given to the customer.
from checkout-single-subscription.
Okay, we will add a task to our backlog on creating a sample of updating a subscription with Checkout.
You can create a subscription with Checkout without any server side code (if that's what you mean by server-side authentication) but you need to have a server + your server-side API key to update the existing subscription so you don't risk unauthorized manipulation of existing subscriptions on the client. Does that answer your question?
from checkout-single-subscription.
Thank you very much for your answer @adreyfus-stripe, this is exactly what I am looking for. Looking forward for the new sample.
from checkout-single-subscription.
@adreyfus-stripe Any update as to where this is at in your backlog?
Since this method automatically takes care of creating the customer, payment method and subscription, how can I get the customer and subscription IDs so that I can save them in my own database?
Also, as an aside, I noticed I never received an invoice when using this method. Is that because I'm using my testing api or is there something I need to do to make sure the customer will receive an invoice when using this method? Sorry if this is a newbie question, I just started using Stripe today.
from checkout-single-subscription.
Disregard my question. It appears that I cannot use Checkout because it doesn't support metered billing or coupons so I'll have to make a my own page.
from checkout-single-subscription.
@corey-mitchell Thanks for following up on your question! You're right, Checkout does not support metered billing or coupons at the time. We plan to roll out more samples as Checkout adds more features so stay tuned.
(also re: your question for not receiving an invoice, we do not automatically send emails for invoices in testmode but you can manually trigger one in testmode through the dashboard if you want)
from checkout-single-subscription.
@bornResponsive Sorry for the delay, I was offline for a week. I would recommend going to our IRC channel for the fastest answers to your questions as they relate to your integration. https://webchat.freenode.net/ is a good web client for that, and you can access our channel at #stripe to chat with Stripe engineers 24/7.
I'm not sure exactly what you mean by "authentication part" if you're referring to card authentication (e.g. OTP or 3DS) then the stripe hosted Checkout page handles all that for you automatically! If you mean authenticating requests with your API keys, as shown in the code snippets here https://stripe.com/docs/payments/checkout/client
from checkout-single-subscription.
Ah I see. No, the billing subscription management page is only available as a client & server solution.
from checkout-single-subscription.
@adreyfus-stripe Are there any plans to bring the hosted-page portal to just client-side?
from checkout-single-subscription.
Hey @chrishrtmn, you can check out the future roadmap here: https://stripe.com/docs/billing/subscriptions/customer-portal#roadmap
from checkout-single-subscription.
Related Issues (20)
- Is it possible to specify the collection_method for a subscription when checkout HOT 1
- Cannot destructure property 'subscription' of 'undefined' as it is undefined at handlePaymentMethodRequired HOT 1
- Add error handling to Java server example for /create-checkout-session HOT 3
- Examples needed fixing for legibility and Windows environments HOT 1
- handleFetchResult not used in checkout-single-subscription client HOT 1
- Add go / dotnet to .cli.json HOT 6
- PHP Demo's "shared.php" file missing (again) HOT 1
- Google Pay OR Apple Pay button is not showing.
- How to backdate and postdate the start of a subscription with the new checkout? HOT 1
- Change .NET Code to use App Secrets HOT 1
- The client HOT 1
- Stripe session customer info not being retrieved despite successful webhook HOT 6
- How to make a referral program with stripe subscription HOT 1
- PHP Demo's "shared.php" file missing HOT 4
- Clarify instructions for config.ini.sample to .config.ini HOT 1
- Checkout page attaches Payment Method to customer even if card data is incorrect. HOT 1
- Readme intro - error with prices create commant HOT 1
- No StripeOptions class HOT 2
- Repeat Orders HOT 5
- Stripe
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from checkout-single-subscription.