Table of Contents

Refunds via Payment Service

This functionality lets you refund money through SMART Pay for a previously created and successfully paid transaction. Refunds are supported only for the UPC payment service.

Refund requirements

Before creating a refund request, make sure that:

  • the SMART Pay transaction through UPC has been successfully paid;
  • a customer payment has been created and posted for the transaction;
  • the sales invoice has been posted;
  • a Sales Return Order or Sales Credit Memo has been created from the posted sales invoice.

Only a full refund of the original transaction amount is supported. Partial refunds and refunds for partial prepayments are not supported.

Setting up refund creation

On the UPC e-Commerce Account Setup page, select Create refund only for posted Credit Memo if required.

This option defines the conditions for automatically creating a refund through the general journal by using a periodic process. The periodic process creates the refund based on a successful UPC refund transaction.

Creating a refund request

  1. Open the Sales Return Order or Sales Credit Memo created from the posted sales invoice.
  2. Release the document.
  3. Choose Request SMART Pay Refund and confirm the request.

The system determines the payment service from the original transaction and creates a refund transaction in UPC. If the related invoice does not have a successful SMART Pay transaction through UPC, or if another payment service was used, the system shows an error.

The SMART Pay Refund FactBox is available on refund documents and shows the Status, Amount, and Refund DateTime. Use Show More Info to open the UPC e-Commerce Transactions page.

After UPC successfully processes the refund, the transaction has the Refunded status. You can update the status by using the periodic process with codeunit 70860404 and the CheckPaymentStatus parameter, or manually by choosing Update Status on the UPC e-Commerce Transactions page.

Creating and posting the refund

Run the periodic process with codeunit 70860404 and the CreateGenJnlPayments parameter to create and post a refund for a successful UPC transaction.

If Create refund only for posted Credit Memo is selected in the UPC setup, first post the sales return or sales credit memo. When the document is posted, the system automatically sets the Credit Memo Posted flag on the UPC transaction. The periodic process then creates the refund and automatically applies it to the sales credit memo.

Applying entries for a full correction with a sales credit memo

For a sales credit memo with a full correction, when the customer payment is already applied to the sales invoice, perform the following steps in this order:

  1. Unapply the customer payment from the sales invoice.
  2. Create and post the sales credit memo. During posting, it is applied to the sales invoice.
  3. Unapply the sales credit memo from the sales invoice.
  4. Reapply the customer payment to the sales invoice.
  5. Run the periodic process with codeunit 70860404 and the CreateGenJnlPayments parameter.

As a result, the system creates a refund entry and automatically applies it to the sales credit memo.