Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

NetSuite ERP

Install and use the SensePass Payment Gateway bundle in NetSuite.

The SensePass Payment Gateway bundle adds SensePass payments to NetSuite: payment links for sales orders and invoices, saved cards (payment tokens) on customer records, card payments, authorizations and captures on sales orders, refunds on credit memos, and in-person payments with EMV pinpads or SensePass tags.

Each flow below shows the steps, the result, the NetSuite records that are created or updated, and where to find them.

Install the bundle

  1. In NetSuite, go to Customization > SuiteBundler > Search & Install Bundles.

  2. Search for bundle 598038.

  3. Click SensePass Payment Gateway (ERP), then click Install. The bundle listing shows version 2.9.0, published by SensePass Ltd.

  4. Go to the Payment Methods page and click New.

  5. Add a payment method named Sensepass with the type Offline.

  6. Click Save.

Search & Install Bundles: bundle 598038
Payment Method Sensepass, type Offline

Connect NetSuite to SensePass (API keys)

Create an API key in SensePass Partners

  1. Sign in to SensePass Partners.

  2. Go to Developer > Branch API and click New.

  3. Select the Location, set POS Vendor to NetSuite, and select Commit not required.

  4. Click Save and copy the API key.

Add the API key to NetSuite

  1. In NetSuite, go to Setup > Company > API Secrets and click Create New.

  2. Enter:

    • Name: SensePass ERP

    • ID: _sensepass_erp

    • Password: the API key you copied

    • Restrictions: allow for all scripts and allow for all domains

  3. Save and copy the API secret name.

  4. Go to Customization > Lists, Records & Fields > Record Types.

  5. Search for Sensepass Bank Account API and click New Sensepass Bank Account.

  6. Select the Subsidiary and the Account, and in Name enter the ID of the API secret (for example custsecret_subsidiary1).

Optional: EMV pinpads

To take card payments on a pinpad from NetSuite:

  1. In SensePass Partners (Sandbox: https://partner.sandbox.sensepass.com, Production: https://partner.sensepass.com), go to POS / Register and click Create POS / Register.

  2. Enter a POS Name, set Pairing Mode to QR and type the tag pairing code (XXX-XXX-XXX), set Type to POS Paired, and click Save.

  3. Copy the Device Identifier of the new register with the copy icon.

  4. Go to Management > EMV Terminals and click New. Enter a Name, select the Device you created and the pinpad Type, and save.

  5. In NetSuite, type SensePass employee in the search bar and select New SensePass - Employee to Device ID.

  6. Paste the Device ID into SensePass Device ID, select the NetSuite user and click Save.

SensePass Partners: Create POS / Register
Copy the Device Identifier
SensePass Partners: Management > EMV Terminals > New
NetSuite search: New SensePass - Employee to Device ID

To use EMV terminals, install the SensePass Terminal Agent on the computer.

SensePass records in NetSuite

The bundle saves payment data in SensePass records and in the standard NetSuite transactions. Each SensePass record links to the customer and to the transaction it belongs to.

Record
Created when
What it holds
Where to find it

SensePass Payment Token

A card or bank account is saved: manual entry, a tokenization link, or a card payment through a payment link

Name (for example VISA - 1111), payment method, last four digits, expiration date, cardholder name, brand, Memo (how the token was created), Default Card

Customer > Financial tab > SensePass Payment Token

SensePass Payment Event

Every transaction sent to SensePass, approved or declined

Event (Authorize, Capture, Sale, Refund, Void, Tokenize), result, reason, amount, full confirmation code, SensePass transaction ID, token used, card mask, card brand, last 4 digits, payment method, AVS and CVV results, service fee, surcharge amount, original invoices, related transaction, customer, user

The transaction > Payment Method subtab (payment, customer deposit) or Billing subtab (sales order) > SensePass Payment Event. Click the ID to open the full record

SensePass Links

A payment link or a tokenization link is created

Link URL, Status (Pending, Completed, Cancelled), how it was sent (Copy Link, SMS, Email), sent to, description, Link Type (Payment or Token), expiration date, related transaction, customer

Sales order or invoice > Billing subtab > SensePass Links. Customer > Financial tab > SensePass Links

SensePass Transaction Log

A sales order is paid with Pay Now

Amount, status, customer, sales order, transaction record, SensePass transaction number, transaction type, payment method, confirmation number, provider ID

Record customrecord_ag_sensepass_paylog

Payment (NetSuite)

A payment is taken from the customer (Accept Payment) or an invoice payment link is paid

Payment method Sensepass, the card used, the invoices and the amount applied to each

Invoice > Related Records subtab > Payments

Customer Deposit (NetSuite)

A sales order is paid or captured (Capture Payment, payment link, Pay Now)

Sales order, payment amount, payment method (card brand)

Sales order > Related Records subtab, or the link in the Payment Records Created message

The Payment Events subtab (standard NetSuite) shows one short line per event. Use the SensePass Payment Event subtab for the full details.

Save a payment method for a customer

  1. Open the customer and click Add Payment Method (CC / SMS / Email).

  2. Choose how to collect the details:

    • Manual Card Entry: the Save Credit Card Details window opens. Enter the card number, month / year and CVV/CVC, and click Save. For Sandbox test cards, see Testing.

    • Send link via SMS: select the mobile number or select Type Manually. To customize the message, drag these tags into it: Merchant Name, Location Name, Payment Link and Expiration Date.

    • Send link via Email: enter the address and subject. Pick one of your NetSuite email templates, or write the message in the editor with NetSuite variables. The link is added at the bottom of the email.

  3. Click Continue.

Customer record: Add Payment Method (CC / SMS / Email)
Manual Card Entry: Save Credit Card Details
Send link via SMS
Send link via Email

The customer can save a card or a bank account (ACH).

Result: for manual entry, NetSuite shows New token generated, refreshing page in 3 seconds... and reloads the customer. For a link, the payment method is saved when the customer completes the page.

Records created or updated

Record
What changes

SensePass Payment Token

New token. Memo shows how it was created, for example "Created by a Token Link" or "Created by Payment Link (Capture+Tokenize)"

SensePass Links

For SMS or email: a new link with Link Type Token. Status is Pending, then Completed when the customer saves the payment method

Where to find it: Customer > Financial tab > SensePass Payment Token. Links sent by SMS or email are on Customer > Financial tab > SensePass Links.

Customer > Financial > SensePass Links: tokenization links and their status
Customer > Financial > SensePass Payment Token: saved cards with Memo and Default Card

To change the default card, click Edit on the card and select Default Card. To delete a card, click Remove.

Charge open invoices from the customer

  1. On the customer record, click Accept Payment. A new payment opens.

  2. On the Apply subtab, select the invoices to pay and enter the amount for each one. You can pay part of an invoice.

  3. On the Payment Method subtab, set Payment Method to Sensepass and select the card in SensePass Payment Method Select.

  4. Click Save.

Result: if the payment is approved, NetSuite shows Confirmation: Transaction successfully Saved and the payment record opens. If the payment is declined, NetSuite shows a warning such as "Payment was not processed. Reason: ..." with the reason from the processor, and no payment is saved.

Example of a declined payment warning

Records created or updated

Record
What changes

Payment

New. The amount applied to each invoice, payment method Sensepass and the card used. The status is Deposited or Not Deposited, according to the deposit account

Invoices

Amount Due goes down by the amount applied. After a partial payment the invoice stays Open; when it is fully paid, the status changes to Paid In Full

SensePass Payment Event

New, with Event Capture, the result, the amount, the invoices paid and the card used

Where to find it: payment > Payment Method subtab > Payment Events (summary) or SensePass Payment Event > click the ID for the full details, including AVS, CVV and surcharge.

Payment saved: Payment Method subtab > SensePass Payment Event
SensePass Payment Event record: event, result, invoices, token, card, AVS, CVV and surcharge fields

Sales orders

Authorize a sales order

  1. Create a sales order and add the items.

  2. On the Billing subtab > Payment, set Payment Method to Sensepass, set SensePass Action to Authorize, and select the card in SensePass Payment Method Select. To enter a new card, select - New - and Add Payment Method.

  3. Click Save. The order is Pending Approval.

  4. Click Approve. The order is Pending Fulfillment.

Sales order > Billing > Payment: Sensepass, SensePass Payment Method Select and SensePass Action Authorize
Add a new card from the sales order

If you later change the order amount, the authorization amount is adjusted.

Result: the order is saved with an approved authorization. No money is captured yet.

Records created or updated

Record
What changes

Sales order

Payment method, SensePass action and card saved on the Billing subtab

SensePass Payment Event

New, with Event Authorize and the order amount

Where to find it: sales order > Billing subtab > SensePass Payment Event.

Sales order > Billing > Payment: SensePass Action Authorize and the Authorize event

Capture an authorized sales order

Open the approved sales order and click Capture Payment. NetSuite shows Processing Payment: Capturing payment... and reloads the order.

You can also capture by clicking Bill Remaining. Saving the cash sale captures the payment.

Records created or updated

Record
What changes

Customer Deposit

New, linked to the sales order, for the captured amount

SensePass Payment Event

New on the customer deposit, with Event Capture

Sales order

Current Deposits Made goes up by the captured amount. The deposit is listed on the Related Records subtab

Where to find it: sales order > Related Records subtab > click the date of the customer deposit. Then customer deposit > Payment Method subtab > SensePass Payment Event.

Customer deposit created by Capture Payment, with the Capture event

Capture at once

Create a sales order, select Sensepass, set SensePass Action to Capture, select the card in SensePass Payment Method Select and click Save.

SensePass Action Capture on the sales order

Pay now (pinpad or tag)

  1. Create the sales order and click Approve.

  2. Click Pay Now.

  3. Click Continue for the full amount, or enter a partial amount.

  4. Choose how the customer pays: on the pinpad, with the SensePass tag, or by card entry. The customer completes the payment.

Sales order: Pay Now
SensePass Payment: enter the amount and click Continue
Payment Records Created with a link to the customer deposit

Result: NetSuite shows Payment Records Created with a link to the new customer deposit.

Records created or updated

Record
What changes

Customer Deposit

New, linked to the sales order

SensePass Payment Event

New on the customer deposit, with Event Capture

SensePass Transaction Log

New, with the amount, status, sales order, transaction number and confirmation number

Sales order

Current Deposits Made goes up. The deposit is listed on the Related Records subtab

Where to find it: click the link in the Payment Records Created message, or sales order > Related Records subtab.

SensePass Transaction Log record
Pay Now result: Payment Records Created with a link to the customer deposit
  1. Create the sales order without payment details, save it and click Approve.

  2. Click Create Payment Link.

  3. In Link Expiration, select when the link expires, in days or hours. In Payment Amount, keep the full amount or enter part of it.

  4. Select Copy Link, Send via SMS or Send via Email. The SMS and email options work the same way as for tokenization links.

  5. Click Create Payment Link.

  6. The customer opens the link, selects a payment method and pays.

  7. Refresh the sales order to see the payment.

Sales order: Create Payment Link
Create Payment Link: Copy Link
Create Payment Link: Send via SMS
Create Payment Link: Send via Email

A surcharge is added to card payments when the location has surcharge enabled. A service fee is added when one is set for the location in SensePass Partners > Location Settings.

Payment page: surcharge shown before the customer pays

Records created or updated

Record
What changes

SensePass Links

New when you create the link, with Link Type Payment and Status Pending. The status changes to Completed after the customer pays

Customer Deposit

New, linked to the sales order, for the amount the customer paid, including surcharge and service fee

SensePass Payment Event

New on the customer deposit, with Event Capture

Sales order

Surcharge Amount and Current Deposits Made are updated

SensePass Payment Token

When the customer pays by card, the card is also saved to the customer, with Memo "Created by Payment Link (Capture+Tokenize)"

Where to find it: sales order > Billing subtab > SensePass Links for the link and its status. Sales order > Related Records subtab for the customer deposit.

Sales order > Billing > SensePass Links: a Completed link and a Pending link
Sales order > Related Records: the customer deposit created by the link
  1. Create an invoice for the customer. Select the Location (required) and the items.

  2. Click Save without payment details. The invoice is Open.

  3. Click Create Payment Link and send the link as for a sales order.

  4. After the customer pays, refresh the invoice.

Result: the invoice status changes from Open to Paid In Full.

Records created or updated

Record
What changes

Invoice

Status Paid In Full

SensePass Links

Status Pending, then Completed

Payment

New, applied to the invoice. The memo shows the invoice number and amount

SensePass Payment Event

New on the payment, with Event Capture and the amount paid

SensePass Payment Token

When the customer pays by card, the card is also saved to the customer

Where to find it: invoice > Billing subtab > SensePass Links. Invoice > Related Records subtab > Payments > click the date. Then payment > Payment Method subtab > SensePass Payment Event.

Invoice > Billing > SensePass Links: link Completed
Invoice > Related Records > Payments: the payment created by the link
Payment record with the Capture event

On the Billing subtab > SensePass Links, click the link's date to open its record, then click Cancel Link. NetSuite shows Cancelling Link and the link status changes to Cancelled.

Sales order > Billing > SensePass Links
SensePass Links record: Cancel Link
SensePass Links record after Cancel Link: status Cancelled

Refunds (credit memo)

  1. On the credit memo, click Refund.

  2. On the Refund Method subtab, select SensePass.

  3. In SensePass Token Select, select the card.

  4. Click Save.

Customer refund: Refund Method SensePass and the card

If the refund is approved, the customer refund record opens and shows the credit memo it was applied to. If the processor declines the refund, NetSuite shows "Refund was not processed. Refund transaction was voided. Reason: ...".

Refund approved: customer refund applied to the credit memo
Example of a declined refund warning

Test in Sandbox

Use the official test cards in Testing in the Developers section.

Questions? Contact support@sensepass.com or your SensePass account manager.

Was this helpful?