This feature is in beta and only available to select private preview users.
AI agents like ChatGPT, Claude, and Perplexity are changing how customers shop. To ensure your products are discoverable and purchasable by these agents, they must be part of an Agentic Product Feed.
With the PayPack integration, you can automate this process by syncing your NetSuite item catalog directly to the Stripe Agentic Commerce Suite.
Why Use This Integration?
Future-Proof Your Store: Move beyond traditional SEO and make your products readable for the next generation of AI "buyers."
Single Source of Truth: Keep NetSuite as your master database while Stripe handles the complex distribution to various LLM platforms.
Automated Maintenance: Eliminate manual CSV uploads; your feed stays accurate as your NetSuite inventory fluctuates.
Watch the Demo
In this video, we walk through the setup process, from configuring NetSuite saved searches to mapping data requirements for the Stripe Agentic product feed.
After your Stripe Agentic product feed is completed, see how to place a test agentic commerce order.
See the Agentic transaction in NetSuite as a Sales Order and Customer Deposit.
Configure Agentic Products
To get your integration running, follow these two primary steps within NetSuite:
Define Your Product Catalog Folder
In the Product Catalog Folder field, enter the NetSuite internal ID of the folder where your generated CSV files (Items and Inventory) will be stored. PayPack uses this folder to stage data before pushing it to the Stripe Agentic Product Feed.
Configure Your Saved Search
Ensure your NetSuite saved search includes the specific columns required by Stripe’s Agentic Product Feed. These typically include:
Internal ID / SKU
Display Name / Description
Price
Inventory Availability
Product URL
Schedule the Script Deployment
Once configured, PayPack monitors your saved search. As items are added or inventory levels change in NetSuite, the integration automatically updates your Stripe feed, ensuring AI agents always have access to real-time product data.
To ensure your automated product feed continue running smoothly, you will need to schedule the deployment for the PayPack Agentic Comm Product MR script. Please configure this to run at a time that aligns with your typical business operations.
How to schedule the deployment:
Log in to your account and navigate to Customization > Scripting > Scripts.
Locate the script named PayPack Agentic Comm Product MR and click View.
Navigate to the Deployments subtab and click on the active deployment record.
Click Edit and go to the Schedule subtab.
Set your preferred running schedule (e.g., Daily, Weekly) and select an appropriate Start Time.
Click Save to apply your changes.
Note: We recommend scheduling this Map/Reduce script outside of your peak transaction hours to optimize system performance.
Configure Agentic Transactions
Once you have successfully connected the Stripe Agentic Commerce Suite, the next step is to configure how your AI agents process and route your transactions. This involves enabling the core settings, defining the transactions your agents should monitor, and ensuring your data fields sync correctly.
Enable Transaction Settings
First, turn on the agentic transaction flow for your NetSuite account.
Go to PayPack Configuration in the NetSuite navigation.
Navigate to Agentic tab.
Check Enable Transactions Flow.
Check Update Transaction Metadata if you want PayPack to write back the NetSuite Transaction Number in the Stripe Transaction Metadata.
Click Save Changes to apply your new settings.
Second, schedule the script PayPack Agentic Tnxs Import MR to pull Stripe Agentic Transactions into NetSuite on a cadence.
Configure Your Saved Search
By configuring this saved search field, Transaction Update Export Saved Search, you define exactly which NetSuite order updates—such as status changes or fulfillments—automatically sync back to Stripe.
Use the saved search template name: PayPack Agentic Commerce Order Update Export.
How to schedule the deployment:
Log in to your account and navigate to Customization > Scripting > Scripts.
Locate the script named PayPack Agentic Tnx Status Update MR and click View.
Navigate to the Deployments subtab and click on the active deployment record.
Click Edit and go to the Schedule subtab.
Set your preferred running schedule (e.g., Daily, Weekly) and select an appropriate Start Time.
Click Save to apply your changes.
Update Field Mappings
To ensure your agents can accurately sync data between NetSuite and Stripe, you must configure how your data fields align. This integration uses JSON-based configurations to map data across three distinct record types.
You will need to set up a separate JSON mapping for each of the following:
Customer Records: Syncs core customer data, such as names, email addresses, and billing details.
Sales Orders: Syncs order specifics, including line items, cart amounts, and fulfillment statuses.
Payment Records: Syncs transaction IDs, payment capture statuses, and refund data.
In your integration dashboard, you will find a dedicated text area for each of these three record types. To help you get started, we have provided standard sample JSON mapping templates for all three categories below. You can copy, paste, and adjust these templates to match any custom fields you use in your environment.
Customer
{
"fields": [
{
"generate": "subsidiary",
"hardCodedValue": "3"
},
{
"generate": "companyname",
"extract": "customer_details.name"
},
{
"generate": "email",
"extract": "customer_details.email"
},
{
"generate": "custentity_nm_stripecharge_customer_id",
"extract": "customer"
}
]
}Sales Order
{
"fields": [
{
"generate": "custbody_pp_stripe_agent_name",
"extract": "payment_intent.agent_details.name"
},
{
"generate": "custbody_pp_stripe_checkout_sess_id",
"extract": "id"
},
{
"generate": "shipmethod",
"hardCodedValue": ""
},
{
"generate": "shippingcost",
"hardCodedValue": "0"
}
],
"sublist": {
"item": [
{
"generate": "item",
"hardCodedValue": "line_items.data[].id"
},
{
"generate": "quantity",
"extract": "line_items.data[].quantity"
},
{
"generate": "price",
"hardCodedValue": "-1"
},
{
"generate": "amount",
"handlebars": "{{toFixed (divide line_items.data[].amount_total 100) 2}}"
},
{
"generate": "taxcode",
"hardCodedValue": "-7"
}
]
}
}Customer Deposit
{
"fields": [
{
"generate": "custbody_nm_stripe_dcharge_id",
"extract": "payment_intent.latest_charge"
},
{
"generate": "salesorder",
"extract": "nsSalesorderId"
},
{
"generate": "payment",
"handlebars": "{{toFixed (divide amount_total 100) 2}}"
},
{
"generate": "custbody_pp_s2ns_payment_intent_id",
"extract": "payment_intent.id"
},
{
"generate": "undepfunds",
"hardCodedValue": "T"
}
]
}