{"title":"Payment processing in NetSuite","category":"default","creationDate":1675172880,"content":"<h2 id=\"authorisations\">Authorisations<\/h2>\n<p>Authorisations are executed within NetSuite through a\u00a0<a href=\"\/pt\/plugins\/netsuite\/#netsuite-glossary\">\n  <strong>Sales Order<\/strong>\n<\/a>\u00a0transaction. 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.<\/p>\n<p>To create a new sales order:<\/p>\n<ol>\n<li>Log in to your NetSuite Customer Center.<\/li>\n<li>Go to\u00a0<strong>Transactions<\/strong>\u00a0&gt;\u00a0<strong>Sales<\/strong>\u00a0&gt;\u00a0<strong>Enter Orders<\/strong>.<\/li>\n<li>Open the\u00a0<strong>Billing<\/strong>\u00a0tab, which NetSuite automatically\u00a0populates with the available payment methods from information contained in the shoppers master file record. The payment processing profile is selected automatically if available and active.<\/li>\n<li>Select\u00a0<strong>Get Authorisation\u00a0<\/strong> manually during order entry or subsequent order maintenance to allow authorisation of the payment.<\/li>\n<li>Select the\u00a0<strong>Credit Card Approved<\/strong>\u00a0checkbox to signal to NetSuite that the authorisation has been received\u00a0outside the automated communications, and that the order is cleared for product shipment as sufficient funds have been authorised manually.<\/li>\n<li>Enter the Adyen's PSP reference received in the request in\u00a0the\u00a0<strong>P\/N Ref.<\/strong>\u00a0field. You may also provide the\u00a0<strong>Auth. Code<\/strong>\u00a0value.<\/li>\n<\/ol>\n<p>After successful authorisation of the payment, the NetSuite order is saved along with the details of the authorization, within the body of the order.<\/p>\n<p>To cancel an authorization, can send a <strong>Void Authorization<\/strong> before the funds are captured.<\/p>\n<h2 id=\"captures\">Captures<\/h2>\n<p>There are two types of <a href=\"\/pt\/plugins\/netsuite\/#netsuite-glossary\">sales\/invoice transactions<\/a> in NetSuite relevant to this configuration:<\/p>\n<ul>\n<li>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.<\/li>\n<li>Alternately, the order can also be manually authorized if the\u00a0<strong>Credit Card Approved<\/strong>\u00a0checkbox is selected during the entry of the order details. In this case, the reference information (<strong>P\/N Ref<\/strong>) from Adyen must be entered manually into NetSuite before the shipment confirmation to proceed with the capture.<\/li>\n<\/ul>\n<p>When a capture request is performed, NetSuite requests a secondary confirmation.\u00a0Following the confirmation of the capture, the\u00a0<strong>Cash Sale<\/strong>\u00a0transaction details are made available to the user.<\/p>\n<p>Adyen creates a new reference for every stage of the payment request. However, there is only one transaction line referencing the original Authorization\u00a0<strong>P\/N\u00a0Ref.<\/strong>\u00a0number on the Adyen account. Subsequent reference numbers are available in NetSuite.<\/p>\n<h2 id=\"cash-sales\">Cash sales<\/h2>\n<p>You can enter a single <a href=\"\/pt\/plugins\/netsuite\/#netsuite-glossary\">cash sale<\/a> 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.<\/p>\n<p>To enter a cash sale:<\/p>\n<ol>\n<li>Go to <strong>Transactions<\/strong>\u00a0&gt;\u00a0<strong>Sales<\/strong>\u00a0&gt;\u00a0<strong>Enter Cash Sales<\/strong>.<\/li>\n<li>Enter the sales details.<\/li>\n<li>Select <strong>Save.<\/strong><\/li>\n<\/ol>\n<p>For partial captures you may need to enter the PSP reference if not shown automatically. Also, this may be required when importing previously authorized sales orders from a web page not supported by NetSuite.<\/p>\n<h2 id=\"refunds\">Refunds and cancellations<\/h2>\n<p>Refunds are triggered by the following NetSuite transactions:<\/p>\n<ul>\n<li>Customer Refund<\/li>\n<li>Cash Refund from a Cash Sale<\/li>\n<\/ul>\n<p>In both cases, you must provide a P\/N Reference. This ensures the payment is refunded against the original Auth\/Sale transaction. Unreferenced refunds are not supported. Adyen does not allow credits for the NetSuite SuitePayment bundle.<\/p>\n<p>To refund a payment:<\/p>\n<ol>\n<li>Initiate a refund request through NetSuite to Adyen.<\/li>\n<li>Make sure that the request data matches the payment data and includes a P\/N Reference.<\/li>\n<li>Select <strong>Save<\/strong>.<\/li>\n<\/ol>\n<p>You can view the transactions in the <a href=\"https:\/\/ca-test.adyen.com\/\" target=\"_blank\" rel=\"nofollow noopener noreferrer\" class=\"external-link no-image\">Customer Area<\/a>.<\/p>\n<h2>Plug-in Execution Logs<\/h2>\n<p>You can view a daily log of the processed transactions in the NetSuite Customer Center. You must include these logs when reaching out to our <a href=\"https:\/\/ca-test.adyen.com\/ca\/ca\/contactUs\/support.shtml?form=other\" target=\"_blank\" rel=\"nofollow noopener noreferrer\" class=\"external-link no-image\">Support Team<\/a>.<\/p>\n<p>To view the new execution logs:<\/p>\n<ol>\n<li>Log in to your NetSuite Customer Center.<\/li>\n<li>Go to <strong>Customization<\/strong> &gt; <strong>Plug-ins<\/strong> &gt; <strong>Plug-in Implementations<\/strong>.<\/li>\n<li>On the <strong>Plug-in Implementations<\/strong> page, select <strong>View<\/strong>.<\/li>\n<li>Navigate to the <strong>Execution Log<\/strong> tab.<\/li>\n<\/ol>\n<p>You can clear the log with the <strong>Remove all<\/strong> button to display only newly generated logs.<\/p>\n<h2>Payment results in Adyen and NetSuite<\/h2>\n<p>The results in NetSuite differ from those shown in Adyen. Consult the mapping overview below:<\/p>\n<table><thead><tr class=\"header\">\n    <th>Adyen Result<\/th>\n    <th>NetSuite Result<\/th>\n    <\/tr><\/thead><tbody>\n    <tr>\n        <td>\n<p>Authorised<\/p>\n<\/td><td>\n<p>ACCEPT<\/p>\n<\/td>\n    <\/tr><tr>\n        <td>\n<p>Received<\/p>\n<\/td><td>\n<p>CONFIRMATION_PENDING<\/p>\n<\/td><\/tr>\n    <tr>\n        <td>\n<p>3d-secure: Authentication failed<\/p>\n<\/td>\n        <td>\n<p>GENERAL_REJECT<\/p>\n<\/td><\/tr>\n    <tr>\n        <td>\n<p>Acquirer Fraud<\/p>\n<\/td><td>\n<p>FRAUDREVIEWEXTERNAL<\/p>\n<\/td><\/tr>\n    <tr>\n        <td>\n<p>Blocked Card<\/p>\n<\/td><td>\n<p>CARD_INVALID<\/p>\n<\/td><\/tr>\n    <tr>\n     <td>\n<p>Cancelled<\/p>\n<\/td><td>\n<p>PAYMENT_TERMINATED<\/p>\n<\/td><\/tr>\n    <tr>\n        <td>\n<p>CVC Declined<\/p>\n<\/td><td>\n<p>GENERAL_REJECT<\/p>\n<\/td>\n    <\/tr><tr>\n        <td>\n<p>Refused<\/p>\n<\/td><td>\n<p>GENERAL_REJECT<\/p>\n<\/td>\n    <\/tr><tr>\n        <td>\n<p>Declined Non Generic<\/p>\n<\/td><td>\n<p>GENERAL_REJECT<\/p>\n<\/td>\n    <\/tr><tr>\n        <td>\n<p>Acquirer Error<\/p>\n<\/td><td>\n<p>GATEWAYERROR<\/p>\n<\/td>\n    <\/tr><tr>\n        <td>\n<p>Expired Card<\/p>\n<\/td><td>\n<p>CARD_EXPIRED<\/p>\n<\/td>\n    <\/tr><tr>\n        <td>\n<p>FRAUD<\/p>\n<\/td><td>\n<p>FRAUDREVIEWEXTERNAL<\/p>\n<\/td>\n    <\/tr><tr>\n        <td>\n<p>FRAUD-CANCELLED<\/p>\n<\/td><td>\n<p>FRAUDREVIEWEXTERNAL<\/p>\n<\/td>\n    <\/tr><tr>\n        <td>\n<p>Invalid Amount<\/p>\n<\/td><td>\n<p>GENERAL_REJECT<\/p>\n<\/td>\n    <\/tr><tr>\n         <td>\n<p>Invalid Card Number<\/p>\n<\/td><td>\n<p>CARD_INVALID<\/p>\n<\/td>\n    <\/tr><tr>\n        <td>\n<p>Invalid Pin<\/p>\n<\/td><td>\n<p>GENERAL_REJECT<\/p>\n<\/td>\n    <\/tr><tr>\n         <td>\n<p>Issuer Unavailable<\/p>\n<\/td><td>\n<p>GATEWAYERROR<\/p>\n<\/td>\n    <\/tr><tr>\n        <td>\n<p>Not enough balance<\/p>\n<\/td><td>\n<p>AUTHORIZATION<\/p>\n<\/td>\n    <\/tr><tr>\n        <td>\n<p>Not Submitted<\/p>\n<\/td><td>\n<p>GENERAL_REJECT<\/p>\n<\/td>\n    <\/tr><tr>\n         <td>\n<p>Not supported<\/p>\n<\/td><td>\n<p>GENERAL_REJECT<\/p>\n<\/td>\n    <\/tr><tr>\n         <td>\n<p>Pending<\/p>\n<\/td><td>\n<p>CONFIRMATION_PENDING<\/p>\n<\/td>\n    <\/tr><tr>\n         <td>\n<p>Pin tries exceeded<\/p>\n<\/td><td>\n<p>CARD_INVALID<\/p>\n<\/td>\n    <\/tr><tr>\n         <td>\n<p>Pin validation not possible<\/p>\n<\/td><td>\n<p>GENERAL_REJECT<\/p>\n<\/td>\n    <\/tr><tr>\n          <td>\n<p>Referral<\/p>\n<\/td><td>\n<p>GENERAL_REJECT<\/p>\n<\/td>\n    <\/tr><tr>\n         <td>\n<p>Restricted Card<\/p>\n<\/td><td>\n<p>CARD_INVALID<\/p>\n<\/td>\n    <\/tr><tr>\n         <td>\n<p>Revocation Of Auth<\/p>\n<\/td><td>\n<p>GENERAL_REJECT<\/p>\n<\/td>\n    <\/tr><tr>\n         <td>\n<p>Shopper Cancelled<\/p>\n<\/td><td>\n<p>PAYMENT_TERMINATED<\/p>\n<\/td>\n    <\/tr><tr>\n         <td>\n<p>Withdrawal count exceeded<\/p>\n<\/td><td>\n<p>GENERAL_REJECT<\/p>\n<\/td>\n    <\/tr><tr>\n         <td>\n<p>Withdrawal amount exceeded<\/p>\n<\/td><td>\n<p>GENERAL_REJECT<\/p>\n<\/td>\n    <\/tr><tr>\n          <td>\n<p>Transaction Not Permitted<\/p>\n<\/td><td>\n<p>GENERAL_REJECT<\/p>\n<\/td>\n    <\/tr><tr>\n           <td>\n<p>Unknown<\/p>\n<\/td><td>\n<p>FATAL_ERROR<\/p>\n<\/td>\n    <\/tr><tr>\n           <td>\n<p>PENDING<\/p>\n<\/td><td>\n<p>CONFIRMATION_PENDING<\/p>\n<\/td>\n    <\/tr><\/tbody><\/table>\n<p>If a value is not in the list, it is set to <strong>GENERAL_REJECT<\/strong> or <strong>FATAL_ERROR<\/strong>.<\/p>","url":"https:\/\/docs.adyen.com\/pt\/plugins\/netsuite\/payment-processing-in-netsuite","articleFields":{"id":"28873674","type":"page","_expandable":{"operations":""},"status":"current","feedback_component":true,"last_edit_on":"01-08-2023 08:39","filters_component":false},"algolia":{"url":"https:\/\/docs.adyen.com\/pt\/plugins\/netsuite\/payment-processing-in-netsuite","title":"Payment processing in NetSuite","content":"Authorisations\nAuthorisations are executed within NetSuite through a\u00a0\n  Sales Order\n\u00a0transaction. 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.\nTo create a new sales order:\n\nLog in to your NetSuite Customer Center.\nGo to\u00a0Transactions\u00a0&gt;\u00a0Sales\u00a0&gt;\u00a0Enter Orders.\nOpen the\u00a0Billing\u00a0tab, which NetSuite automatically\u00a0populates with the available payment methods from information contained in the shoppers master file record. The payment processing profile is selected automatically if available and active.\nSelect\u00a0Get Authorisation\u00a0 manually during order entry or subsequent order maintenance to allow authorisation of the payment.\nSelect the\u00a0Credit Card Approved\u00a0checkbox to signal to NetSuite that the authorisation has been received\u00a0outside the automated communications, and that the order is cleared for product shipment as sufficient funds have been authorised manually.\nEnter the Adyen's PSP reference received in the request in\u00a0the\u00a0P\/N Ref.\u00a0field. You may also provide the\u00a0Auth. Code\u00a0value.\n\nAfter successful authorisation of the payment, the NetSuite order is saved along with the details of the authorization, within the body of the order.\nTo cancel an authorization, can send a Void Authorization before the funds are captured.\nCaptures\nThere are two types of sales\/invoice transactions in NetSuite relevant to this configuration:\n\nOne 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.\nAlternately, the order can also be manually authorized if the\u00a0Credit Card Approved\u00a0checkbox 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.\n\nWhen a capture request is performed, NetSuite requests a secondary confirmation.\u00a0Following the confirmation of the capture, the\u00a0Cash Sale\u00a0transaction details are made available to the user.\nAdyen creates a new reference for every stage of the payment request. However, there is only one transaction line referencing the original Authorization\u00a0P\/N\u00a0Ref.\u00a0number on the Adyen account. Subsequent reference numbers are available in NetSuite.\nCash sales\nYou can enter a single cash sale 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.\nTo enter a cash sale:\n\nGo to Transactions\u00a0&gt;\u00a0Sales\u00a0&gt;\u00a0Enter Cash Sales.\nEnter the sales details.\nSelect Save.\n\nFor partial captures you may need to enter the PSP reference if not shown automatically. Also, this may be required when importing previously authorized sales orders from a web page not supported by NetSuite.\nRefunds and cancellations\nRefunds are triggered by the following NetSuite transactions:\n\nCustomer Refund\nCash Refund from a Cash Sale\n\nIn both cases, you must provide a P\/N Reference. This ensures the payment is refunded against the original Auth\/Sale transaction. Unreferenced refunds are not supported. Adyen does not allow credits for the NetSuite SuitePayment bundle.\nTo refund a payment:\n\nInitiate a refund request through NetSuite to Adyen.\nMake sure that the request data matches the payment data and includes a P\/N Reference.\nSelect Save.\n\nYou can view the transactions in the Customer Area.\nPlug-in Execution Logs\nYou can view a daily log of the processed transactions in the NetSuite Customer Center. You must include these logs when reaching out to our Support Team.\nTo view the new execution logs:\n\nLog in to your NetSuite Customer Center.\nGo to Customization &gt; Plug-ins &gt; Plug-in Implementations.\nOn the Plug-in Implementations page, select View.\nNavigate to the Execution Log tab.\n\nYou can clear the log with the Remove all button to display only newly generated logs.\nPayment results in Adyen and NetSuite\nThe results in NetSuite differ from those shown in Adyen. Consult the mapping overview below:\n\n    Adyen Result\n    NetSuite Result\n    \n    \n        \nAuthorised\n\nACCEPT\n\n    \n        \nReceived\n\nCONFIRMATION_PENDING\n\n    \n        \n3d-secure: Authentication failed\n\n        \nGENERAL_REJECT\n\n    \n        \nAcquirer Fraud\n\nFRAUDREVIEWEXTERNAL\n\n    \n        \nBlocked Card\n\nCARD_INVALID\n\n    \n     \nCancelled\n\nPAYMENT_TERMINATED\n\n    \n        \nCVC Declined\n\nGENERAL_REJECT\n\n    \n        \nRefused\n\nGENERAL_REJECT\n\n    \n        \nDeclined Non Generic\n\nGENERAL_REJECT\n\n    \n        \nAcquirer Error\n\nGATEWAYERROR\n\n    \n        \nExpired Card\n\nCARD_EXPIRED\n\n    \n        \nFRAUD\n\nFRAUDREVIEWEXTERNAL\n\n    \n        \nFRAUD-CANCELLED\n\nFRAUDREVIEWEXTERNAL\n\n    \n        \nInvalid Amount\n\nGENERAL_REJECT\n\n    \n         \nInvalid Card Number\n\nCARD_INVALID\n\n    \n        \nInvalid Pin\n\nGENERAL_REJECT\n\n    \n         \nIssuer Unavailable\n\nGATEWAYERROR\n\n    \n        \nNot enough balance\n\nAUTHORIZATION\n\n    \n        \nNot Submitted\n\nGENERAL_REJECT\n\n    \n         \nNot supported\n\nGENERAL_REJECT\n\n    \n         \nPending\n\nCONFIRMATION_PENDING\n\n    \n         \nPin tries exceeded\n\nCARD_INVALID\n\n    \n         \nPin validation not possible\n\nGENERAL_REJECT\n\n    \n          \nReferral\n\nGENERAL_REJECT\n\n    \n         \nRestricted Card\n\nCARD_INVALID\n\n    \n         \nRevocation Of Auth\n\nGENERAL_REJECT\n\n    \n         \nShopper Cancelled\n\nPAYMENT_TERMINATED\n\n    \n         \nWithdrawal count exceeded\n\nGENERAL_REJECT\n\n    \n         \nWithdrawal amount exceeded\n\nGENERAL_REJECT\n\n    \n          \nTransaction Not Permitted\n\nGENERAL_REJECT\n\n    \n           \nUnknown\n\nFATAL_ERROR\n\n    \n           \nPENDING\n\nCONFIRMATION_PENDING\n\n    \nIf a value is not in the list, it is set to GENERAL_REJECT or FATAL_ERROR.","type":"page","locale":"pt","boost":17,"hierarchy":{"lvl0":"Home","lvl1":"Plugins","lvl2":"NetSuite","lvl3":"Payment processing in NetSuite"},"hierarchy_url":{"lvl0":"https:\/\/docs.adyen.com\/pt","lvl1":"https:\/\/docs.adyen.com\/pt\/plugins","lvl2":"https:\/\/docs.adyen.com\/pt\/plugins\/netsuite","lvl3":"\/pt\/plugins\/netsuite\/payment-processing-in-netsuite"},"levels":4,"category":"Plugins","category_color":"green","tags":["Payment","processing","NetSuite"]}}
