Suddenly getting a 404 with any Sandbox payments

I’ve used the web payments quickstart code, and once set up with the appid and accesstoken it was working, tried again now and any payments via the sandbox are throwing a 404 when it hits this code

const paymentResponse = await fetch('/payment', {
          method: 'POST',
          headers: {
            'Content-Type': 'application/json',
          },
          body,
        });

The app id is sandbox-sq0idb-7449b-2lgMG7TWXVdCEB0A

Hi @amcdonald, welcome to the forums! It’s possible you may be missing some dependencies. Can you try installing them with npm install and seeing if the error persists? If so, do you mind trying to clone the repository fresh?

I’ve got payments going through on the Php SDK now