#oleg.moseiko
1 messages · Page 1 of 1 (latest)
Hello 👋
I believe this UI is part of customer portal upgrade
https://stripe.com/docs/customer-management
Ah you mean you want to get the calculation?
You can use upcoming invoice API for that
https://stripe.com/docs/api/invoices/upcoming
That allows you to preview an invoice prior to updating the invoice
can i get UI component?
for example if i pass to this component params to calcuation?
We don't offer a UI component for this, no.
You'd need to design one yourself using the API endpoint I shared above
ok
question about protal
i have
ProPlan
TeamPlan
BusinessPlan
user by for example ProPlan
after some. time he want to by extra. storage
for this case i created ExtraStoragePlan
can user add update by custom portal:
-buy ExtraStoragePlan and have ProPlan
?
it looks like this:
- ProPlan + options to buy ExtraStoragePlan(with Quantity)
- TeamPlan + options to buy ExtraStoragePlan(with Quantity)
- BusinessPlan + options to buy ExtraStoragePlan(with Quantity)
I don't believe Customer portal supports adding an extra subscription item.
AFAIK it only supports upgrading the whole subscription.
So yeah don't think its something Customer Portal can support
That looks like customer's default payment method
customer.invoice_settings.default_payment_method
https://stripe.com/docs/api/customers/object#customer_object-invoice_settings-default_payment_method
do i need to create my custom form to show it or i can integrate stirpt UI element?
You need to build your own UI
fuck again