How to Reconnect Your NetSuite Environment to Paystand Sandbox After a Sandbox Refresh

When you perform a sandbox refresh in NetSuite, the integration tokens between Paystand and NetSuite are reset, disconnecting your sandbox environment. Follow these 6 steps to restore the connection.

Quick flow: Verify Sandbox → Get API Values → Configure NetSuite → Generate Tokens → Complete Connection → Update Subsidiary Settings

 

Step 1 — Verify the Sandbox Refresh

Before starting, confirm your sandbox is ready:

  • Sandbox refresh has been completed
  • All production data has been successfully copied to sandbox
  • You can log into your NetSuite sandbox without issues
Note: Do not proceed until the sandbox refresh is fully complete. Starting the reconnection process on an incomplete sandbox may cause configuration issues.

 

Step 2 — Get the API Values from the Paystand Dashboard

  1. Open the Paystand Dashboard Sandbox and log in.
  2. Navigate to the Integration tab.
  3. Locate the API configuration values — keep this tab open, you will need these values in the next step.

Paystand Dashboard Integration tab

 

Step 3 — Enter the API Values in NetSuite

  1. In NetSuite, go to Paystand > Manage > Configuration.
  2. Click Manage Connection.
  3. Copy each value from the Paystand Dashboard (Step 2) into the corresponding fields in Manage Configuration.
Important: Make sure to select Sandbox as the domain. Using the wrong domain will connect to your production environment instead.
Keep this window open. You will return to it in Step 5 to complete the connection after generating the access tokens.

Manage Connection screen

 

Step 4 — Generate New Access Tokens in NetSuite

First, verify employee permissions:

1. Go to the Employee Record for the Paystand integration user and ensure the role associated with the Paystand integration has the necessary permissions.

2. Confirm the following permissions are set:

Access > Give Access checkbox is checked

Role > Employee has a Paystand Role assigned

Then generate the token:

3. Navigate to Setup > Users/Roles > Access Tokens

4. Click on New Access Token

5. Select the following and click Save:

Field Value
Application Name Paystand Integration
User The NetSuite user assigned to the integration
Role The role configured for the Paystand integration

6. Copy and save the following — they will only be shown once:

  • Token ID
  • Token Secret
Important: Store these values securely. NetSuite will not display them again after you leave this page.

 

Step 5 — Complete the Connection in Paystand

  1. Switch back to the Manage Connection window you left open in Step 3 — do not navigate to it again from scratch.
  2. Enter the Token ID and Token Secret generated in Step 4.
  3. Fill in all remaining required fields.
  4. Click Save and Connect.

 

Step 6 — Update Subsidiary Settings to Point to Sandbox

Do this before anyone sends or tests a payment in the refreshed sandbox. Update both fields below on every subsidiary that uses Paystand. Paystand Publishable Key and Paystand Template Domain must match. If they do not, the key will not work, and the sandbox can still generate live production payment links.

  1. In NetSuite, go to Setup > Company > Subsidiaries.
  2. Open each subsidiary that uses Paystand and click Edit. Repeat these updates on every one.
  3. Locate the Paystand fields on the right side of the record and update the following:
Field Value
Paystand Publishable Key Enter the sandbox Publishable Key from the Paystand Dashboard (Step 2)
Paystand Template Domain Update to .co (sandbox domain)

Subsidiary Paystand fields — Publishable Key and Template Domain

  1. Click Save.
Note: When reconnecting to production after your sandbox testing is complete, remember to revert these fields back to your production Publishable Key and domain (.com).

 

Existing Invoices Still Carry Production Links

Updating Paystand Publishable Key and Paystand Template Domain does not change invoices that already exist. Their payment links were built in production, and those links are copied into sandbox as they are.

You have two options:

  1. Create new invoices in sandbox (recommended). New invoices build their links with the sandbox key and domain.
  2. Reuse an existing invoice. Resend the invoice email from sandbox so the email template builds a fresh link. Do not use the old email or the old link.

 

Why One Click Payment Raises the Risk

A production link in sandbox is mostly harmless unless One Click Payment is turned on. With One Click Payment on, opening that link can process a real payment.

One Click Payment What happens when a production link is opened
Enabled The previously used payment method is preloaded, so live checkout is ready to take the payment immediately.
Disabled The payer must enter a payment method. A sandbox test card is recognized by the production checkout, and the payment fails right away.

Treat any production link found in sandbox as unsafe to open, especially if One Click Payment is on.

 

Best Practices After a Sandbox Refresh

  • Update Paystand Publishable Key and Paystand Template Domain before anyone sends or tests a payment request.
  • Repeat the update on every subsidiary that uses Paystand.
  • Create new invoices for testing instead of reusing invoices copied from production.
  • If you must reuse an existing invoice, resend its email from sandbox so the link is rebuilt with the sandbox key and domain.
  • Do not forward or open payment links from emails that were sent before the refresh.
  • Pay special attention if One Click Payment is enabled. A production link can run a live payment.

 

Important Considerations

Regular Updates Repeat this entire process every time you perform a sandbox refresh in NetSuite.
Environment Labels Always confirm you are in the sandbox environment — never apply sandbox tokens to production.
Old Payment Links Do not open or forward links from emails sent before the refresh. Create a new invoice, or resend the email from sandbox.
Permissions Verify that user roles and permissions in the sandbox match those in production before starting.

 

By following these steps, you can seamlessly reconnect your NetSuite sandbox environment to Paystand after a refresh, ensuring continued integration and functionality during your testing and development processes.

 

Was this article helpful?
0 out of 0 found this helpful