Error resolution
Learn how to handle errors with the Stripe Connector for NetSuite.
If you encounter any issues when syncing records from Stripe to NetSuite, or attempting to load payment pages, you can use the lists below to identify and resolve the errors.
Data errors
The following table describes errors you might encounter when syncing records to NetSuite. You can view all errors in the connector app’s sync records window.
Error | Source | Description | Resolution |
---|---|---|---|
NetSuite System Error: Unable to find a matching line for sub-list apply with key: [doc,line] and value: [12345,null]. | NetSuite | The connector can’t create a record as a payment (sub-list) entry on an existing NetSuite record. For example, the connector can’t create and apply a payment to an existing invoice that’s already paid in full. This error can also occur if the credit memo amount is less than the refund amount, which might happen if tax or another amount modifies the automation setup in NetSuite. | Inspect the NetSuite record in the error to see why the payment entry wasn’t successful. If the reason is still unclear, you can manually create the payment entry to help identify the root cause. |
Please enter value(s) for: [Field Name]. | NetSuite | The connector can’t create or update a NetSuite record due to a missing required field on that record. For example, if the connector tries to create an invoice where the | Add a default value for the field. To do so, navigate to the App settings > Field mapping > Field defaults page in the connector. The connector uses the default value when creating records of that type. Field defaults use the JSON format. For example, to add a default value of 2 for
|
You have entered an Invalid Field Value [value] for the following field: [field]. | NetSuite | The connector can’t create or update a NetSuite record due to one or more invalid field values. This might happen if a field default uses a value that was deleted or made unavailable for any reason. For example, you might have | Modify the default value to use a valid field ID. To do so, navigate to the App settings > Field mappings > Field defaults page in the connector. |
Invalid record referenced in metadata key netsuite_ (012345). | Connector | The connector can’t sync the record because of a deleted NetSuite record that you previously synced or linked. For example, if you link a Stripe refund to a credit memo and then delete the credit memo, you must update the Stripe refund’s metadata key (netsuite_ ) to point to the correct NetSuite credit memo internal ID. | Update the refund metadata key netsuite_ to point to the new credit memo internal ID. |
Charge amount 100.0 is different than the amount due on the corresponding invoice. Transaction ID:INV12345 (ID 1234567) amount due: 99.0. | Connector | The invoice payment exceeds the amount due on the NetSuite invoice. This might happen if the connector incorrectly syncs the Stripe invoice to NetSuite and you haven’t yet set up tax handling. This can also occur if you modify the total on the NetSuite invoice during the period of time between when you sent the invoice and when the customer submitted payment. | If your connector account isn’t set up to handle taxes, contact your implementation partner for setup. If you manually modified a NetSuite invoice created by the connector, you must update the invoice to use the original amount. |
Payment page errors
The following table describes errors you might encounter when attempting to load an invoice payment page or a customer payment page.
Error | Description |
---|---|
scn_ | The account is disabled (account_ ). |
scn_ | The NetSuite invoice record or customer record doesn’t have a set currency. |
scn_ | The NetSuite customer wasn’t found. Stripe blocked creating a Checkout Session. |
scn_ | The customer record isn’t valid because the customer might be inactive, have an invalid obfuscation signature, or be missing the customer payment page custom field. |
scn_ | The NetSuite bundle live mode value is incorrect. |
scn_ | Stripe couldn’t find an account configuration for the merchant and live mode combination. This might occur if the merchant doesn’t exist or if the merchant isn’t onboarded to the connector. |
scn_ | The resource for the payment link is invalid because the record is either a sales order or an invoice with a zero balance. |
scn_ | You attempted to create a payment link from a NetSuite record that isn’t an invoice or sales order, which isn’t supported. |
scn_ | You attempted to create a customer payment page for a customer with a balance that’s less than the minimum payment amount (50 cents USD). |
scn_ | The invoice is missing a remaining amount. We recommend showing the amount remaining or amount due field on custom invoice forms. |
scn_ | The NetSuite customer doesn’t have a balance. |
scn_ | The payment link structure is invalid. The payment link must have a GUID and follow this structure: /payment/{{{merchant}}}/live/invoice/{{{guid}}} . |
scn_ | The payment link structure is invalid. The GUID must have exactly two parts separated by an underscore. For example, F1783B96F2111D47E053972C0C0AAEB5_ . |
scn_ or scn_ | The corresponding customer payment page or invoice payment page feature isn’t enabled on this account. Stripe blocked creating a Checkout Session. |
scn_ | The customer payment page was used to submit a successful payment within the past 24 hours. Only one payment is allowed per day. |
scn_ | Stripe uses the internal ID provided in a URL to search NetSuite for the invoice associated with a payment link. This error can occur if:
|
scn_ | The payment link structure is invalid. The GUID must have exactly two parts separated by an underscore. For example, F1783B96F2111D47E053972C0C0AAEB5_ . |
scn_ | You attempted to created a payment link from a NetSuite sales order, which isn’t supported. |
Duplicate payments
Stripe and NetSuite handle duplicate payments differently. While Stripe allows overpayment of an invoice, NetSuite returns an error if a customer attempts to make a payment on a fully paid invoice. By default, if a duplicate payment occurs in Stripe, the connector won’t sync the payment because NetSuite doesn’t allow a second payment.
If a duplicate payment causes an error when the connector attempts to reconcile the payout during deposit automation, you can fix the issue by manually removing the first payment from the invoice to allow the second payment.
You can also allow the connector to handle duplicate payments for you. If you have a NetSuite invoice that’s fully paid, the connector brings over duplicate payments as unapplied payments in NetSuite. The unapplied payment includes the following memo: Stripe Payment Error: could not apply to invoice XYZ.
You can then use these unapplied payments on another invoice, or refund the payments manually in Stripe. To search for duplicate payments in NetSuite, create a saved search using the memo as your criteria.
You can enable the connector to handle duplicate payments in the following ways:
Allow all duplicate payments in the connector by default. To do so, go to your connector settings and enable Allow duplicate invoice payments in your Stripe app settings. Contact your implementation partner to understand all accounting and technical implementations before they enable this feature for you.
Using the Stripe API, add the
netsuite_
field in the metadata of a duplicate Stripe charge.allow_ duplicate: true