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 Invoice links may become invalid.
If you encounter any issues with your Stripe Invoice links, please follow these steps to update them:
-
Obtain the URL from the Script Deployment: Begin by navigating to the script named "NM Stripe Payment Link Suitelet."
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 2 flows that need to be updated. Open the Stripe - NetSuite IA.
- Under the flow named "Stripe Invoice to NetSuite Invoice Add," locate the “Import Invoice to NetSuite” step mappings section and update the “Stripe Invoice 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 ‘&id={{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&id={{id}}
Save and close the mappings.
b. Similarly, under the flow named "NetSuite Invoice to Stripe Invoice Add," locate the “Update Invoice in NetSuite" step mappings section and update the “Stripe Invoice 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 ‘&id={{stripe_invoice_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&id={{stripe_invoice_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!