#Quisk-help
1 messages · Page 1 of 1 (latest)
I'm following a tutorial made by stripe on how to setup one time card payment. I did the server side, and the client side. The server side works fine but for somereason the client side can't connect with it and I'm getting 405 error.
this is the full error:
POST http://127.0.0.1:5500/create-payment-intent 405 (Method Not Allowed)
(anonymous) @ card.js:15
VM264:1 Uncaught (in promise) SyntaxError: Unexpected end of JSON input
at card.js:28:27
at async HTMLFormElement.<anonymous> (card.js:15:53)
and this is my server code: https://ctxt.io/2/AADgdybiFQ
and this is my client code: https://ctxt.io/2/AADg-2ZGFw