NetSuite has introduced an additional parameter, &ns-at=<VALUE>, to the internal URL of Suitelets to ensure continued user access. As a result, the existing Stripe Customer links may become invalid.
If you encounter any issues with your Stripe Customer links, please follow these steps to update them:
-
Obtain the URL from the Script Deployment: Begin by navigating to the script named "novamoduleStripeCustomerPortalLink"
View the script and check if it has any deployments
If there are no script deployments, click here.
2. Copy the URL: On the Script Deployment, you’ll see the external URL. Copy this external URL.
-
Update the URL in the mappings: In Integrator.io, there are 5 flows that need to be updated. Open the Stripe - NetSuite IA.
- Under the flow named "NetSuite Customer to Stripe Customer Add/Update", locate the “Update NS Customer with Stripe Customer ID” step mappings section and update the “NetSuite Customer Portal URL” field with the copied URL.
In the “Source Record field (NetSuite)” column, paste the external URL copied from the Script Deployment in Step 2 above and append ‘&strCustId={{[Customer Id]}}’ at the end so that it looks like https://tstdrv1585437.extforms.netsuite.com/app/site/hosting/scriptlet.nl?script=819&deploy=1&compid=TSTDRV1585437&ns-at=AAEJ7tMQN2OPMrpQ0nbR4KnBpe6Iqd7JKHfNLWwdLOQN0gIGG9Y?&strCustId={{[Customer Id]}}
Save and close the mappings.
b. Similarly, under the flow named "Stripe Customer to NetSuite Customer Add/Update", locate the “Create or Update Customer record in NetSuite” step mappings section and update the “NetSuite Customer Portal URL” field with the copied URL.
In the “Source Record field (Stripe)” column, paste the external URL copied from the Script Deployment in Step 2 above and append ‘&strCustId={{id}}}’ at the end so that it looks like https://tstdrv1714251.extforms.netsuite.com/app/site/hosting/scriptlet.nl?script=632&deploy=1&compid=TSTDRV1714251&ns-at=AAEJ7tMQMH-Qmdd8WeHNxdmLxT2av7E3eQeZvbK_yfT8gnPMcu8&strCustId={{id}}
Save and close the mappings.
c. Under the flow named "NetSuite Invoice to Stripe Invoice Add", locate the “Update NetSuite Customer with Stripe Customer ID” step mappings section and update the “NetSuite Customer Portal URL” field with the copied URL.
In the “Source Record field (NetSuite)” column, paste the external URL copied from the Script Deployment in Step 2 above and append ‘&strCustId={{id}}}’ at the end so that it looks like https://tstdrv1714251.extforms.netsuite.com/app/site/hosting/scriptlet.nl?script=632&deploy=1&compid=TSTDRV1714251&ns-at=AAEJ7tMQMH-Qmdd8WeHNxdmLxT2av7E3eQeZvbK_yfT8gnPMcu8&strCustId={{id}}
Save and close the mappings.
d. Under the flow named "Stripe Charge to NetSuite Invoice Add", locate the “Create or Update Customer record in NetSuite (Charge)” step mappings section and update the “NetSuite Customer Portal URL” field with the copied URL.
In the “Source Record field (Stripe)” column, paste the external URL copied from the Script Deployment in Step 2 above and append ‘&strCustId={{id}}}’ at the end so that it looks like https://tstdrv1714251.extforms.netsuite.com/app/site/hosting/scriptlet.nl?script=632&deploy=1&compid=TSTDRV1714251&ns-at=AAEJ7tMQMH-Qmdd8WeHNxdmLxT2av7E3eQeZvbK_yfT8gnPMcu8&strCustId={{id}}
Save and close the mappings.
e. Finally, under the flow named "Stripe Invoice to NetSuite Invoice Add", locate the “Create or Update Customer record in NetSuite” step mappings section and update the “NetSuite Customer Portal URL” field with the copied URL.
In the “Source Record field (Stripe)” column, paste the external URL copied from the Script Deployment in Step 2 above and append ‘&strCustId={{id}}}’ at the end so that it looks like https://tstdrv1714251.extforms.netsuite.com/app/site/hosting/scriptlet.nl?script=632&deploy=1&compid=TSTDRV1714251&ns-at=AAEJ7tMQMH-Qmdd8WeHNxdmLxT2av7E3eQeZvbK_yfT8gnPMcu8&strCustId={{id}}
Save and close the mappings.
Execute the Flow: Run the flows in Integrator.io. Upon successful execution, the URL will be added to the custom record field associated with the invoice in NetSuite.
If you have any questions or require further assistance, please submit a ticket request or email support@novamodule.com. We're always happy to help!