#Kasey-js-integration
1 messages · Page 1 of 1 (latest)
Hi there 👋 can you elaborate a bit on what you're trying to do when you encounter the 404?
Hi! I basically just have "var response = fetch('/secret').then(function(response){"
Do you have an endpoint configured at that /secret location? Based on the 404 it looks like you're making a request to a location that doesn't exist.
No I do not..sorry this is all very new to me....how would I configure an endpoint at /secret?
That's going to fluctuate depending on your environment, but essentially you would need a server that has an inbound route at that location to handle the requests made to it.
Is this the same as going into the Stripe dashboard and creating a "Webhook" ?
Hey Kasey. Taking over for toby
No actually. /secret refers to an endpoint configured on your backend server
ahhh dang it, I don't know how to do this because this is all being done on WordPress
I don't have access to the backend
Sorry not super familiar with Wordpress. Is it possible to configure endpoints usually? It's just that you don't have access?
We have some guides on how to use Stripe within Wordpress that could help: https://stripe.com/docs/plugins/wordpress
Oh I'll look at this now!