Step 1: Activate features
Go to 'Setup' in the top menu and choose 'Company' -> 'Enable features'.
Make sure the following boxes are checked:
Under 'SuiteCloud':
token-based authenticationUnder 'SuiteCloud':
oAuth 2.0 & rest web servicesUnder 'Analytics':
SuiteAnalytics workbook
Step 2: Create the integration between Payt and Netsuite
Go to 'Setup' in the top menu and choose 'Integration'.
Select 'New' -> 'Payt'.
Indicate that this is a 'Token-based authentication'.
Make sure the following boxes are checked (found under the heading 'OAuth 2.0'):
Under 'Scope':
restletsUnder 'Scope':
rest web servicesUnder 'Scope':
SuiteAnalytics connectAt the bottom of this section:
client credentials (machine to machine) grant
Step 3: Create a connection token for Payt
Go to 'Setup' in the top menu and choose 'Integration'.
At
access_tokens, select 'New setup'.Ensure that the access token has at least the permissions as seen in the table below.
Transactions | Reports | Lists | Setup |
Access Payment Audit Log | Account Detail | Accounts | Accounting Lists |
Audit Trail | General Ledger | Currency | Custom Transaction Fields |
Credit Memo | SuiteAnalytics Workbook | Customers | Log in using Access Tokens |
Find Transaction | Transaction Detail | Payment Methods | Other Lists |
Invoice |
| Record Custom Field | REST Web Services |
Invoice Approval |
| Resource |
|
|
| Subsidiaries |
|
Step 4: Add the restlet
Go to 'Customization' in the top menu.
Select 'Scripts' -> 'New'.
Add the file
payt_restlet.jshere.
Note: Ask a Payt employee for the current restlet. If you are still in the implementation phase, this will be your implementation specialist at Payt.
