Skip Navigation

Stripe, Error: You have not registered or verified the domain.

cross-posted from: https://lemmy.today/post/6812682

Hi,

I'm using stripe.PaymentIntent (server side)

and Stripe.js for the client side.

everything work flawlessly under Firefox. !

With Chrome it's another story... First of all a .js file is being loaded !! ^1 Then in the browser console I received this error:

[Stripe.js] You have not registered or verified the domain, so the following payment methods are not enabled in the Payment Element:

  • apple_pay

Funny thing is that in the Stripe "dashboard" is that the apple_pay is not enabled.. and it work in Firefox..

Any ideas ?

7
7 comments
  • How sure are you that firefox implementation is working correctly? Could it be that it isn’t actually loading but isn’t showing an error like chrome is?

    • be cause I see in the Stripe Dashboard & API call that the transaction is successful...

    • because I see in the Stripe Dashboard & API call that the transaction is successful...

  • Do you have more context? Are you actually trying to use apple_pay, or it that just an irrelevant error you're not expecting?

    When you say "everything work flawlessly under Firefox" - Did you actually go through the entire process, and eventually received your payment? Or do you just "don't get any errors" there? Cause it would seem kinda weird as well if the Stripe dashboard says apple_pay is not enabled, but apple_pay does work...

    Are you targetting the same Stripe account, and both in the same mode? "Test Mode" vs "Live Mode" - in both browsers? "Test Mode" might complain less about permissions or something - Just making sure

    • Are you actually trying to use apple_pay, or it that just an irrelevant error you’re not expecting?

      No, like I said, apple_pay is disabled ( willingly ) in the stripe dashboard, so I don't know why the error mention even apply_pay...

      Firefox... Did you actually go through the entire process, and eventually received your payment?

      yes ! I mean under the testing environment, so with the test secret key etc.. The Strip API and dashboard show the related transaction as successful...

      Cause it would seem kinda weird as well if the Stripe dashboard says apple_pay is not enabled, but apple_pay does work…

      That why I'm surprised !

      Are you targetting the same Stripe account...

      Of course I change nothing beside the visitor browser..

      • Are you actually trying to use apple_pay, or it that just an irrelevant error you’re not expecting?
        

        No, like I said, apple_pay is disabled ( willingly ) in the stripe dashboard, so I don’t know why the error mention even apply_pay…

        Well it wasn't clear whether you were trying to use apply_pay and it magically worked in firefox, but not in Chrome, or Chrome incorrectly things you're trying to use apply_pay...

        Have you explicitly declared which payment methods are allowed to be used in your script? Maybe if you haven't declared anything the browser just infers it somehow, and Firefox and Chrome might have a difference in inferring default value

You've viewed 7 comments.