Skip to main content
Question

Web Billing SDK: Issue with Stripe iframe not displaying

  • March 8, 2025
  • 1 reply
  • 10 views

Forum|alt.badge.img

I'm integrating the RevenueCat Web Billing SDK into my web app, and I'm experiencing an issue where the Stripe checkout iframe does not fully display.

Issue Details:

  • When I click "Start Free Trial", the RevenueCat paywall opens as expected.
  • After entering my email, the next screen (where Stripe should load the secure checkout UI) only shows the title and a grayed-out "Start Trial" button—but no credit card form appears.
  • The Stripe iframe is present in the DOM, but its height remains 2px, and its opacity stays 0. I tried putting height at auto, didn’t change anything.
  • (see screenshots below)

What I’ve Tried:

  1. Verified that the user appears in the RevenueCat dashboard after authentication.
  2. Ensured that the correct offering and products are configured in RevenueCat.
  3. Checked browser console logs—no specific errors related to Stripe, but I randomly get 400 Bad Request errors from https://e.revenue.cat/v1/events.
  4. Confirmed that RevenueCat properly initializes and fetches offerings before triggering the paywall.
  5. Tried opening the checkout in different browsers and incognito mode.
  6. Made sure https://js.stripe.com is allowed in the CSP.

Possible Cause?

  • Could this be related to third-party cookies being blocked, preventing Stripe from loading?
  • Could it be due to RevenueCat events failing (400 errors) and interfering with the paywall flow?

Expected Behavior:

  • After entering an email, the Stripe checkout should appear, allowing the user to select a payment method.

Environment Details:

  • SDK: RevenueCat Web Billing SDK (not iOS/Android)
  • Integration: Web-based app
  • Hosting: Bolt.new (a no-code/low-code platform)
  • Auth: Supabase authentication
  • Frontend Framework: React (with TypeScript)
  • Browser Tested: Chrome, Firefox (incognito and regular mode)
  • Third-Party Cookies: Confirmed that third-party cookies are enabled

Request for Assistance:

  • Are there any known issues with the Stripe iframe not displaying in the Web Billing SDK?
  • Could the 400 Bad Request errors from RevenueCat events be interfering with the checkout?
  • Any suggestions on how to debug why the Stripe iframe isn’t rendering?

 

Thank you for your help! 🚀

 

 

1 reply

Forum|alt.badge.img+8
  • RevenueCat Staff
  • 509 replies
  • March 12, 2025

Hi, I was able to test this on my end with your project with both the production and sandbox link and was able to get the secure checkout page to display. As such this appears to be an issue with either your network or computer blocking the checkout. I recommend not blocking third-party cookies and seeing if this makes a difference.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings