-
Ive taken the example and had it working on 127 and on localhost, however putting it on my apache server I keep getting 403 forbidden when I try to use the same page. I've tried everything, I know my keys are correct. I have no idea what to do next. Spent all day on it, https://www.reddit.com/r/sveltejs/comments/10l8en4/svelte_stripe_works_on_local_host_but/ |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
Hi Ryan, What's the request path that is responding with a 403? |
Beta Was this translation helpful? Give feedback.
-
Let me explain a bit about SvelteKit deployment SvelteKit can be deployed in 2 different ways:
Note that option 1 (SSG) won't work for this use case, because you have code that must run server side. The creation of a payment intent means calling the Stripe API and must be done at runtime. |
Beta Was this translation helpful? Give feedback.
Hi Ryan,
What's the request path that is responding with a 403?