question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Stripe javascript SDK is getting blocked

See original GitHub issue

Description

Recently, I have received a lot of messages through customer support telling me that they cannot subscribe to my product using my webpage, after asking more questions the constant was always that those users that cannot subscribe are using Brave Browser.

Steps to Reproduce

  1. Navigate to any site that accepts payments through Stripe let’s say the React Stripe Elements examples page
  2. Open the developer tools and you will see a lot of messages telling you that g.stripe was blocked.

Actual result:

Navigating to the React Stripe Elements examples page: Screen Shot 2021-01-13 at 16 28 55

Navigating to other sites that use Stripe, this for example Screen Shot 2021-01-13 at 16 42 51

Expected result:

It is expected to let Stripe’s scripts work in order to be able to subscribe.

Reproduces how often:

Every time you try to subscribe inside a site that uses Stripe’s Javascript SDK

Desktop Brave version:

Fresh install:

  • Version 1.18.78 Chromium: 87.0.4280.141 (Official Build) (x86_64)

Android Device details:

  • Install type (ARM, x86): ARM Brave 1.18.78, Chromium 87.0.4280.141
  • Device type (Phone, Tablet, Phablet): Phone, tested a fresh install in a Xiaomi Mi 10
  • Android version: Android 10

Other Additional Information:

  • The issue is resolved when disabling Brave Shields.
  • Is the issue reproducible on the latest version of Chrome? No in Chrome it doesn’t happen.

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:3
  • Comments:5

github_iconTop GitHub Comments

1reaction
canikocommented, Aug 2, 2022

This is still an issue in 2022! image

0reactions
danielehrhardtcommented, Aug 12, 2022

Is there a example stripe action I can test this? @caniko https://stripe.dev/react-stripe-elements/ seems to be dead link. The orginal issue isn’t quite the same as an “Aw Snap” issue in this case though

Here you can check: https://convert-any.com/pricing

Read more comments on GitHub >

github_iconTop Results From Across the Web

Stripe JS Reference
This reference documents every object and method available in Stripe's browser-side JavaScript library, Stripe.js. Use our React Stripe.js reference if you ...
Read more >
Including Stripe.js
Asynchronous loading of JavaScript is generally recommended, as it can improve the user experience of your site by not blocking DOM rendering during...
Read more >
Understanding declines and failed payments - Stripe
If Stripe Radar ever blocks a payment that you know is legitimate, you can remove the block using the Dashboard. To do this,...
Read more >
Supported browsers - Stripe JS Reference
Stripe.js depends on certain native browser functionality to remain intact and unaltered, such as the Promises API. Polyfilling certain browser features may ...
Read more >
Handle errors | Stripe Documentation
If an immediate problem prevents an API call from continuing, the Stripe Node.js library can raise an exception. It's a best practice to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found