#emavi_
1 messages · Page 1 of 1 (latest)
Hello! 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.
- emavi_, 3 days ago, 16 messages
Which integration type do you use for Billing? Direct Subscription API, pricing table or Checkout Session?
Currently I was using pricing table and creating them via dashboard, but I've encountered the issues stated above
For example, one costs 10 euros, the second 15 euros and the third one is “custom”.
Clicking on the first 2 packages the user directly buys them with Billing, the third package is just for info purposes. So when the user clicks on this package it should be redirected to our contact form.
Can Billing handle this case?
With pricing table, it will not be possible. The UI can be implemented by your own system and use Checkout Session to create the payment. Here's the guide to create a subscription using Checkout Session: https://docs.stripe.com/billing/subscriptions/build-subscriptions?ui=stripe-hosted
With pricing table, you'd have an existing price ID, which can also be used in Checkout Session
Related to Billing, I wanted to integrate also the customer portal so the user can manage their subscription. Currently it creates an external url when we can redirect our users. I want to integrate the customer portal directly on our platform as a section or modal, without redirecting the user on an external url. Is it possible? Which api should I use?
Customer portal can only be redirected. Stripe doesn't provide an Element/Javascript for customer portal
Stripe on boarding: currently I’ve integrated stripe “on boarding” on our platform as a pop up window. I was trying to integrate it on a modal inside an iframe, but the connection is blocked when I try to do that. Is it possible to do this kind of integration?
Which type of connected account are you using? Standard, Express or Custom? Embedded onboarding component is possible on custom connected account only
Standard type
So in this case with checkout session, i have to provide the price ID info? How can I get the price ID?
With Standard connected account type, only redirected onboarding is recommended
So in this case with checkout session, i have to provide the price ID info? How can I get the price ID?
You can get the price ID from the Dashboard: https://dashboard.stripe.com/products?active=true, or use List Prices API: https://docs.stripe.com/api/prices/list
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Got it, so i can't integrate it via modal and iframe or there is a solution?
Using iframe for hosted onboarding page is not recommended
Is there a way to avoid the "connection is blocked" error while using iframes?
As mentioned by my colleague earlier, using iframe is not recommended by your own
you should avoid using it as much as possible
otherwise you'll be facing a lot of issues (performance, security...)
Ok, thank you