Automated Record Management

PayPack automates record creation and cleanup to ensure your data stays accurate and tidy.


Post-Payment Record Creation

After a successful Stripe payment, the system automatically creates several records in NetSuite. The payment logic works as follows:

  1. Any selected credit memos are first applied to the selected invoices.
  2. Any remaining invoice balance is then settled by creating a Customer Payment record and applying it accordingly.
  3. Logs such as the PayPack Payment Intent Log and PayPack Charge Log are also created.

Processing ACH and Errored Transactions

For transactions that are not processed in real-time (like ACH) or that encounter errors, you must run the PayPack Statement Link Process MR script to create the necessary records in NetSuite.

  • To run or schedule this script, navigate to Customization → Scripting → Script Deployments, select PayPack Customer Statement Process MR, and follow the same steps outlined above for running (Save & Execute) or scheduling a script deployment.
  • NOTE: In the PayPack Customer Statement Log, Checkout Session Status must be Processing for the script to attempt recreating the NetSuite records.

Deleting Logs for Expired Sessions

To maintain data cleanliness, a separate script helps delete statement logs from abandoned checkout sessions. This script prevents your system from being cluttered with records from incomplete transactions.

  • How it works: The PayPack Expired CS Logs Deletion MR script deletes logs for checkout sessions that were never completed. To avoid deleting active sessions, it only targets logs that are more than 10 days old and have no associated payment.
  • To run or schedule this script, navigate to Customization → Scripting → Script Deployments, select PayPack Expired CS Logs Deletion MR, and follow the steps to run or schedule it as needed.
Was this article helpful?
0 out of 0 found this helpful

More resources