RefundsUpdated 8 months ago
There are 2 methods to refund PayPack charges in NetSuite.
- Create a NetSuite Credit Memo from the paid Invoice and process the refund under the PayPack subtab.
- Navigate to PayPack's Refund Payments (novaApps → PayPack - Integrated Payment Processing Solution for Stripe → Refund Payments).
#1 - Refund on the Credit Memo
Watch how to process a refund in PayPack at the credit memo.
#2 - Refund Payments Page
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
1{2 "mapping": {3 "fields": [4 {5 "generate": "otherrefnum",6 "lookupName": "otherrefnumlookup"7 },8 {9 "generate": "subsidiary",10 "initializationDefaultValue": true,11 "lookupName": "subsidairylookup"12 },13 {14 "generate": "memo",15 "lookupName": "subsidairylookup"16 }17 ],18 "sublist": {19 "item": [20 {21 "generate": "location",22 "extract": "",23 "hardCodedValue": 224 }25 ]26 }27 },28 "lookups": {29 "otherrefnumlookup": {30 "resultFieldId": "tranid",31 "recordType": "parent"32 },33 "subsidairylookup": {34 "resultFieldId": "subsidiary",35 "recordType": "parent"36 }37 }38}
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.