#Surya-Mani
1 messages · Page 1 of 1 (latest)
Hi there, how can I help?
Hii i need to add upgrade or downgrade plans feature in my page how should i do that
Should i implement that in my page?
you can do it your own, or you can use customer portal to allow your cusotmers to manage upgrade/downgrade by themselves https://stripe.com/docs/no-code/customer-portal
if i use customer portal it is the method using one time passcode right?
i need to use without otp
Sure, you can programamtically create a portal session (https://stripe.com/docs/api/customer_portal/sessions/create#create_portal_session) and your customer doesn't need to enter OTP to access it.
It means calling Stripe API from your backend.
ok i call Stripe API and UI design is my own am i correct?
My understnding is that you don't need need to create your own UI to manage subscription if you let your customer using customer portal,
Perhaps you want to try out customer portal and see if it solves your problem?
if i call the API it shows the current plan details and invoice history like this picture
then how will i get that page by only call API
I'd suggest you to test it out the (https://stripe.com/docs/api/customer_portal/sessions/create#create_portal_session) API by yourself, and come back if you have a more specific question
if i use this all API in that page to get that page i have shown before right?
I'm not familiar with the page that you showed earlier, is it from Stripe? do you have the URL?
that is not stripe's page
Then I have no idea how this page is created and whether it offers the same features as Stripe customer portal.
hello, what's your question?
what do you mean by implement this page in your website - do you mean you want to use the customer portal? Or do you mean that you don't want to use the customer portal and want to build those functionalities in your own website?
i need to use this in my website how should i do that?
you can take a look at this guide : https://stripe.com/docs/customer-management/integrate-customer-portal
in this page it has only API's how should i get that demo page by calling only API's
Hello
Hi there, do you know how to call a Stripe API call from your backend?
Can you explain
https://stripe.com/docs/customer-management/integrate-customer-portal the details are explained in this doc. I'd suggest you to go through it and come back ifyou have a. more specfiic question
did you see that demo?
You mean https://billing.stripe.com/p/session/test_YWNjdF8xR3kxaUZBbHF2S3B4SkN1LF9PRjNiRzl5Z2VSNHlIN1pMY3FSV01IczN6M0RCUXJS0100Ws0JIaVZ ? Yes. This is the customer billing portal page from Stripe.
I guide that I sent earlier is for customer billing portal integration.
can you resend it plz?
i need API for showing the current subscription plan and also i need API to show billing details do you have?
https://stripe.com/docs/api/subscriptions#subscriptions you can find all subscriptions related API in the API reference doc
Do you have API for show next renewal date?
You mean the next invoice date?
yes
is there any api to get payment method and billing address?
and for billing address
The billing address of the payment method?
It's inside the PaymentMethod object https://stripe.com/docs/api/payment_methods/object#payment_method_object-billing_details
this is only Attributes not API am i right?
What do you mean?
billing address is at stripe only then without api how can i retrieve ?
I still don't understand
how will i get billing address
https://stripe.com/docs/api/payment_methods/object#payment_method_object-billing_details Did you check the link that I sent earlier?
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
in that link only attributes are there
https://stripe.com/docs/api/payment_methods/retrieve#retrieve_payment_method you can find the retrieve API right there
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
how to use it can you explain plz
What specifically are you trying to do?
i need to get billing address of the payment method
Then have you followed the steps outlined by my colleague? That should get you what you need
he is only send the docs can you explain plz