this post was submitted on 20 Feb 2024
6 points (100.0% liked)

JavaScript

1700 readers
1 users here now

founded 1 year ago
MODERATORS
 

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 ?

you are viewing a single comment's thread
view the rest of the comments
[–] L4r4 1 points 6 months ago* (last edited 6 months ago)

So I have tried with payment_method_types and it works flawlessly under Firefox

but still not working under chrome

So it might be because of the cross-site cookies ? Do I have to change something ? or Stripe ? Thanks.