# Plug&Pay integrations: orders and products

> Create an order, create a product and create a subscription in Plug&Pay. Connect Plug&Pay to the rest of your e-commerce stack with Tray.ai.

**Canonical page:** https://tray.ai/connectors/plug-and-pay-integrations/
**Categories:** E-commerce
**Connects through:** HTTP Connector

## Overview

Plug&Pay is a checkout and payments platform for selling digital products, subscriptions and memberships online, with order management, affiliate sellers and tax handling. Tray.ai connects to Plug&Pay through the HTTP Connector, so your workflows can call the Plug&Pay API alongside the rest of your stack.

## Use cases

### Orders

Read, create, update, and delete orders in Plug&Pay from any Tray.ai workflow. The Plug&Pay API covers calls such as list orders and get an order.

- List orders
- Get an order
- Create an order

### Products

Read, create, update, and delete products in Plug&Pay from any Tray.ai workflow. The Plug&Pay API covers calls such as list products and get a product.

- List products
- Get a product
- Create a product

### Subscriptions

Read, create, update, and delete subscriptions in Plug&Pay from any Tray.ai workflow. The Plug&Pay API covers calls such as list subscriptions and get a subscription.

- List subscriptions
- Get a subscription
- Create a subscription

### Checkouts

Read, create, update, and delete checkouts in Plug&Pay from any Tray.ai workflow. The Plug&Pay API covers calls such as list checkouts and get a checkout.

- List checkouts
- Get a checkout
- Create a checkout

## Challenges Tray.ai solves

### Keeping Plug&Pay credentials out of logs

A raw API call usually means pasting a key or token into the request, where it ends up in step inputs, logs, and screenshots.

**How Tray.ai helps:** Store Plug&Pay credentials once as a Tray.ai authentication and reference them from the HTTP Connector. Tray.ai masks authentication values in logs, so the secret never shows up in a step's input or output.

### Going from the Plug&Pay API docs to a working call

Translating an example request from API docs into a workflow step means copying the method, URL, headers, and body by hand.

**How Tray.ai helps:** Paste a cURL example from the Plug&Pay API docs into the HTTP Connector and Tray.ai fills in the method, URL, headers, and body for you.

### Handling files and non-JSON responses

Not every API answers in JSON. Some return XML, files, or binary data, or expect a multipart upload.

**How Tray.ai helps:** The HTTP Connector parses JSON and XML responses, returns files you can pass to the next step, and sends multipart form data for uploads.

## Frequently asked questions

### Does Tray.ai connect to Plug&Pay?

Yes. Tray.ai connects to Plug&Pay through the HTTP Connector, which calls the Plug&Pay API directly. Any call the Plug&Pay API documents can run as a step in a Tray.ai workflow.

### How does Tray.ai authenticate with Plug&Pay?

The Plug&Pay API uses a bearer token. You save it once as a Tray.ai authentication, and the HTTP Connector adds it to every request.

### Can I get a dedicated Plug&Pay connector?

Plug&Pay runs through the HTTP Connector rather than a dedicated connector. If your team wants one, the Tray.ai connector SDK can build a dedicated Plug&Pay connector from the Plug&Pay API.

## Learn more

- Tray iPaaS: https://tray.ai/platform/ipaas/
- Tray Helix agents: https://tray.ai/helix/agents/
- Agent Gateway for MCP: https://tray.ai/platform/agent-gateway/
- Book a demo: https://tray.ai/contact/
