Allow Customers to Pay NetSuite Invoices with Stripe
This simple sinatra application enables customers to pay off their open NetSuite invoices using ACH or credit card.
There is more robust version of this application that is hosted and managed as part of the SuiteSync product. This open source implementation is designed for organizations that would like to customize their collection process beyond what the hosted version allows.
copy .env-example .env # edit .env with NetSuite and Stripe credentials bundle bundle exec ruby pay.rb
- Deploy app to heroku
- Find open invoice
- Copy internal ID of NetSuite Invoice to the payment URL, or visit http://127.0.0.1:4567/example to pick a random invoice from your NetSuite account
SuiteSync can also host a more advanced version of this form for you.
Credit or Debit Card
Card number: 4242 42424 4242 4242
Bank to use: PNC
Security question: tomato
Manual ACH Payment
Verification: 32, 45
Setting up a Link on the NetSuite Invoice
- Customization > Lists, Records, and Fields > Transaction Body Fields > New
- Configure field:
Stripe Invoice Payment Link
- Display > Subtab:
- Validation & Defaulting > Default Value:
- Validation & Defaulting > Formula: unchecked. After save, make sure this value is still unchecked. NetSuite will reset this field value for you without warning.
- Applies To:
- Store value: