#user1352-error
1 messages · Page 1 of 1 (latest)
I add the card.html and the related files for it too and there was no error until I upload the package.Json it show error
I add it to my publish website
This in the terminal error after add the packagejson just
The error late to this
Line 16 server.js
About STATIC_DIR
All the files now in different folder
All them in one folder
Inside publish website
give me a moment to catch up on the thread
Thank you for your patience
which guide are you following to add the payment?
https://github.com/stripe-samples/accept-a-payment/blob/main/custom-payment-flow/client/html/card.js
This guid
Hi
sorry for the delay
juggling between multiple threads
the error isn't really related to a Stripe API
Could you double check the link as its taking me to a file rather than a guide?
I already test the payment before I add it to my website it worked great but after I adding to my website
The error
The server.js line 16 it about .env file
The .env file have STATIC_DIC
try console.log(PROCESS.ENV.STATIC_DIR) to see if its really showing you the path you want