WARNING: Newbie here!:
Note: “.com” changed to “Xcom” to bypass bizarre link restriction :-(:
I have successfully setup a working payment page (sandbox & production) on my local pc.
But I can’t get it to work on my actual server (OmnipotenceSoftwareXcom/wpc_order.htm):
I built (npm install) on a linux PC in directory “/omnipotencesoftwareXcom”.
Also changed the port to 80.
All works fine at localhost/wpc_order.htm
So far, so good.
I then uploaded these files to OmnipotenceSoftwareXcom:
node_modules (incl all subfolders)
But when i attempt to make a $1 purchase (which works locally), it fails.
This is because the POST is being made to my server (inst of a squareup server):
So I assume/hope that I simply need to denote the proper host in the url.
If so, what should the host be ?
If not, what am i doing wrong ?
Is there something “special” that the npm server is doing (locally) that my web server is not ?