POST to https://r.stripe.com/0 -> 403
See original GitHub issueSummary
When loading an element (using const element = stripeInstance.elements().create(...)
and element.mount(...)
, I receive an initial 403 response, from a request going to https://r.stripe.com/0
(with the a response body of PERMISSION_DENIED: Missing origin
).
I also subsequently receive multiple similar ones.
This doesn’t seem to have any specific impact though, since the element is working just fine.
The request in details:
General
Request URL: https://r.stripe.com/0
Request Method: POST
Status Code: 403
Remote Address: 54.186.23.98:443
Referrer Policy: strict-origin-when-cross-origin
Response Headers
content-length: 33
content-type: application/octet-stream;charset=utf-8
date: Mon, 13 Sep 2021 09:43:49 GMT
server: nginx
x-envoy-upstream-service-time: 1
Request Headers
:authority: r.stripe.com
:method: POST
:path: /0
:scheme: https
accept: application/json
accept-encoding: gzip, deflate, br
accept-language: en-US
content-length: 503
content-type: application/x-www-form-urlencoded
referer: https://js.stripe.com/
sec-fetch-dest: empty
sec-fetch-mode: cors
sec-fetch-site: same-site
user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 11_5_2) AppleWebKit/537.36 (KHTML, like Gecko) phealing/1.2.0 Chrome/89.0.4389.128 Electron/12.0.13 Safari/537.36
Form Data
event_name: elements.event.load
client_id: stripe-js
created: 1631526228736
event_count: 10
event_id: ace9a368-6c8b-43a3-8742-8a383954724a
os: MacOS
browserFamily: Chrome
version: cf1baae8a
key: XXXX
referrer: http://localhost:8080
stripe_js_id: 0cfdf8d1-da95-47ae-81f3-47410e19640b
controller_load_time: 1631526228620
wrapper: unknown
es_module: true
es_module_version: 1.15.1
frame_width: 1792
element: card
Issue Analytics
- State:
- Created 2 years ago
- Comments:16
Top Results From Across the Web
Error codes | Stripe Documentation
Learn more about error codes and how to resolve them. Reviewing errors. Stripe logs every successful or failed API request your integration makes....
Read more >Getting 403 http error when calling stripe API from classic ASP
The code below ends up with a 403 forbidden. I was getting a 401 until I ... Open("POST", "https://api.stripe.com/v1/charges", False) Call .
Read more >Stripe Payments plugin – checkout error Code 403
Stripe Payments plugin – checkout error Code 403 ... Hello, I'm new to posting here so hope I have it in the right...
Read more >Stripe - Home - Facebook
https ://stripe.com/docs/payments/checkout/post-payment-invoices ... May be an image of text that says 'Invoice Invoicenum number 403A4B8C-0008 fissue.
Read more >getting 403 error on stripe while using stripe on local - Laracasts
I get 403 error on stripe, when I call the stripe method on local with php from 7.1 to 8.1 (checked with many...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I’m using Cypress for testing a page with stripe payment and I receive the same error when paying.
Same issue here. Testing with Cypress, receives a 400.