This article covers the following topics:
PayPack creates a refund in Stripe on the specified charge from NetSuite which results in a credit memo and/or customer refund.
Configure Refund Settings

Note: Once a refund is successful with Stripe, it can take up to 15 minutes for NetSuite to create the credit memo/customer refund.
*Required
- Credit Memo Item – Optional non-inventory item to track refunds sent to Stripe.
- *Customer Refund Payment Method – Typical required field on the customer refund transaction. To create a new payment method, navigate to Setup → Accounting → Accounting List.
- *Credit Memo Mapping for Refunds – When needing to populate required fields on an credit memo transaction, enter metadata in JSON format to satisfy the requirement.
- *Customer Refund Mappings – When needing to populate required fields on an customer refund transaction, enter metadata in JSON format to satisfy the requirement.
Sample JSON data for Credit Memo / Customer Refund Mappings
{ "mapping": { "fields": [ { "generate": "otherrefnum", "lookupName": "otherrefnumlookup" }, { "generate": "subsidiary", "initializationDefaultValue": true, "lookupName": "subsidairylookup" }, { "generate": "memo", "lookupName": "subsidairylookup" } ], "sublist": { "item": [ { "generate": "location", "extract": "", "hardCodedValue": 2 } ] } }, "lookups": { "otherrefnumlookup": { "resultFieldId": "tranid", "recordType": "parent" }, "subsidairylookup": { "resultFieldId": "subsidiary", "recordType": "parent" } } }
Create New Scheduled Script
Follow the steps below to create a scheduled script that comes with the PayPack bundle.
- Search for nm PayPack Refund NS Process Script in the NetSuite search bar
- Select “new” to create a new script deployment.
- Change status to “Scheduled”.
- Update schedule to “Daily Event” and repeat “Every 15 minutes” with no end date.
- Ensure the checkbox deployed is checked and click save.
Your refund script should now run every 15 minutes and create corresponding credit memo or customer refunds after a Stripe refund is processed.
Retry NetSuite Refund Transaction
When a successful Stripe refund is processed, PayPack will attempt to create the corresponding NetSuite refund transaction records.
If an error occurs, you will be able to view the affected transactions by navigating to novaApps → PayPack - Integrated Payment Processing Solution for Stripe → Refund Logs.
Then edit the appropriate refund and uncheck Refund Processed in NetSuite to reprocess.
Your refund script should now run every 15 minutes and create corresponding credit memo or customer refunds after a Stripe refund is processed.
Next Steps
Congratulations! You are done configuring PayPack – Integrated Payment Processing Solution for Stripe. If you have any questions, please contact us through the support widget.