Data Flow | Stripe Credit Note to NetSuite Credit Memo Add and Customer Refund Add On Demand |
Flow Type | RealTime |
NS Record | Credit Memo and Customer Refund |
Description:
Import the Credit note from Stripe and create a Credit Memo and Customer Refund based on the payment mode.
- When the credit note gets created in Stripe the flow will get triggered
- Get the line items of the credit memo, get the customer credit balance if there is an applied balance on the credit note and get the refund if there is any refund to the original payment method like card payment.
- Creates a Credit Memo in NetSuite with line items and applied balance as a line item
- Creates a Customer Refund if there is a refund to the original payment on the credit note.
Steps to Configure:
Configure Webhook in Stripe
- Click on the Webhook - Get Credit notes then click on the Custom URL token + icon
- Copy the Public URL and store the URL, it is available only once
- Click on the Developers - Webhooks - Add endpoint
- Now you will see the configuration page enter/ paste the URL from IO in the previous step and enter description then click on select events
- Search for credit note event and select the credit_note.created then click on add events
- Now the configuration is done, click on add endpoint, the webhook is created and can be seen in the list of webhooks.
-
Point to remember:
The URL in the IO webhook will be available only once make sure you copy it correctly and store the URL
Configure IO Settings:
- Click on Settings - Refunds - Stripe to NetSuite
- Select the Account for NetSuite Customer Refund from Stripe Credit Note and Add the NetSuite non-inventory item for applied balance as a line item on the credit memo record in NetSuite.
IO Mappings:
- Adjust the mappings if needed like location mapping can be removed and any mapping can be added in the credit memo and customer refund imports.