Authorisations are executed within NetSuite through a Sales Order transaction. These transactions signal the intent of a customer purchase, prior to shipment of the products, thus providing the time necessary to execute an authorisation independent of a capture of funds.
To create a new sales order, go to Transactions > Sales > Enter Orders.
On the Billing tab, NetSuite automatically populates the available payment methods from information contained in the shoppers master file record. The payment processing profile is selected automatically if available and active. Select Get Authorisation manually during order entry or subsequent order maintenance to allow authorisation of the payment.
If you select the Credit Card Approved check box, NetSuite assumes that the authorisation has been received outside of the automated communications and that the order is clear for product shipment as sufficient funds have been authorised manually.
In order for the payment to continue its lifecycle in NetSuite and Adyen, enter the Adyen's PSP reference received in the request in the P/N Ref. field. You may also provide the Auth. Code value. After successful authorisation of the payment, the NetSuite order is saved along with the details of the authorization, within the body of the order.
There are two types of sales/invoice transactions in NetSuite relevant to this configuration:
- One type is the result of a shipment from a previously entered transaction, and Adyen authorised sales order to a shopper. This sales order may have been authorised using the payment processing module and an authorisation number for the potential sale would be on file in the details of the sales order. The capture is done through the order shipment confirmation using the same reference.
- Alternately, the order can also be manually authorized if the Credit Card Approved check box is selected during the entry of the order details. In this case, the reference information (P/N Ref) from Adyen must be entered manually into NetSuite before the shipment confirmation to proceed with the capture.
When a capture request is performed, NetSuite requests a secondary confirmation. Following the confirmation of the capture, the Cash Sale transaction details are made available to the user.
Adyen creates a new reference for every stage of the payment request. However, there is only one transaction line referencing the original Authorization P/N Ref. number on the Adyen account. Subsequent reference numbers are available in NetSuite.
A single cash sale may be entered directly, without a preceding sales order. If the credit card is not manually pre-approved, the cash sale initiates an authorise and capture request for the shopper's card.
To enter a cash sale, do the following:
- Go to Transactions > Sales > Enter Cash Sales.
- Enter sales details.
- Click Save.
For partial captures you may be required to enter the PSP reference if not displayed automatically. Also, this may be required when importing previously authorized sales orders from a web page not supported by NetSuite.
Cancellations and refunds
To cancel or refund a payment, initiate a request through NetSuite to Adyen. Ensure that the request data matches the payment data and click Save.
All the transactions can be viewed in the Customer Area.