Skip to main content

Managing the connection

Renewing your certificate​

NetSuite certificates are good for 2 years. If the certificate expires, ChargeOver can't sync to NetSuite until it's replaced.

ChargeOver renews the certificate for you. About 30 days before it expires, ChargeOver creates a new certificate, adds it to NetSuite, makes sure it works, and then revokes the old one. Syncing keeps running the whole time, and there's nothing for you to do.

This needs the Manage own OAuth 2.0 Client Credentials certificates permission on the role from Step 2. That permission only lets ChargeOver manage its own certificates, not anyone else's.

note

The new certificate shows up in NetSuite under Setup > Integration > OAuth 2.0 Client Credentials (M2M) Setup, and the old one shows as revoked. That's expected.

If ChargeOver can't renew it​

If the role is missing that permission, or the renewal fails for any reason, ChargeOver keeps using the current certificate and lets you know. Your ChargeOver admins get an email and an alert in ChargeOver 30 days and 7 days before it expires, and again if it does expire. The NetSuite page in ChargeOver shows a warning too:

To renew it by hand:

  1. In ChargeOver, click Generate a New Certificate. ChargeOver keeps using the current certificate while you finish the next steps, so nothing stops syncing.

  2. Click Download New Certificate

  3. In NetSuite, go to Setup > Integration > OAuth 2.0 Client Credentials (M2M) Setup and click Create New. Pick the same entity, role, and application as before, and upload the new certificate.

  4. Paste the new Certificate ID into the New Certificate ID box in ChargeOver, and click Switch to New Certificate

ChargeOver makes sure it can log in with the new certificate before it switches. If it can't (for example, the new certificate isn't uploaded yet, or the Certificate ID has a typo), it keeps using the current one and tells you why. Once it switches, it revokes the old certificate in NetSuite for you (or tells you to, if the role doesn't have the certificate permission).

Changed your mind? Click Cancel New Certificate, and ChargeOver keeps using the current one. If you already uploaded the new one to NetSuite, revoke it there.

caution

If the current certificate already expired, there's nothing to keep using, so ChargeOver is disconnected from NetSuite until you finish the steps above.

Switching NetSuite accounts​

ChargeOver remembers which NetSuite customer each ChargeOver customer is linked to. Those links only make sense for the NetSuite account they were made in, so once anything has synced, ChargeOver won't let you change the Account ID by accident.

To switch to a different NetSuite account on purpose, click Start Over on the Connection tab, go through the steps with the new account's details, and check Start fresh on the Connect step before you click ==Connect==. ChargeOver forgets the links to the old account, and syncs everything to the new account as if it's new. Nothing is deleted from either NetSuite account.

After refreshing a NetSuite sandbox​

Refreshing a sandbox copies your production account over it. That also wipes the integration record and certificate mapping from Steps 4 and 5, and replaces the customers ChargeOver synced to the sandbox.

To reconnect after a refresh:

  1. Redo Steps 4 and 5 in the sandbox (the role from Step 2 comes over from production, if you set it up there)
  2. In ChargeOver, click Start Over, enter the new Client ID and Certificate ID, check Start fresh on the Connect step, and click ==Connect==

Disconnecting​

To stop syncing, click Disable on the NetSuite page in ChargeOver. Unlike getting disconnected, ChargeOver doesn't keep track of changes while NetSuite is disabled, so they won't sync later if you turn it back on. To cut off ChargeOver's access from the NetSuite side, revoke the mapping under Setup > Integration > OAuth 2.0 Client Credentials (M2M) Setup, or set the integration record's State to Blocked.