Auto Refund Process

Automatically refunding NetSuite Credit Memos are handled by triggering a scheduled script that is included in the PayPack app. The script will process any Credit Memo that is returned by the NetSuite saved search. When the successful refund occurs, a Customer Refund will be created and applied to the Credit Memo.


Configure Saved Search

To use this feature, select the saved search on the PayPack configuration page under the Schedule tab.

Auto Refund Saved Search.png
  • Create a saved search: The PayPack bundle will include a saved search template which you can make a copy and use.
  • Saved Search Template: PayPack Auto Refund Search

Note: Do not modify the label names in the columns tab as it is used to process credit memo refunds.

When refunding surcharges, either configure the global setting for Surcharge Refund Percentage for Bulk Refund or enter the surcharge amount into the Credit Memo PayPack fields.

Auto Refund Surcharge Refund Percentage.png
Credit Memo Refund Amount for Bulk Refund.png

Deploy Scheduled Script

Next, you will need to schedule a script to process credit memos from the configured saved search.

  1. Go to Customization → Scripting → Script Deployments.
  2. Click on filters on the Deployments page.
  3. Select Map/Reduce in the Type drop-down and find customscript_pp_auto_refund_mr.
  4. Click on Edit to set the schedule.
  5. On the Edit page, go to the Schedule tab and select the event that works for you.
  6. Select the Scheduled status from the Status drop-down.
  7. And finally, click on the Save button to save the info and the script will run based on the event that is selected.
Script Deployment - PayPAck Auto Refund MR.png

For multiple PayPack configurations, insert the corresponding Stripe Account Id under the Parameters tab for each script deployment.

Add Stripe Account ID for Multiple PayPack Configurations.png


 

Was this article helpful?
0 out of 0 found this helpful

More resources