# MemberPress integrations: transactions and rules

> Create a transaction and create a rule in MemberPress, and start a workflow when MemberPress sends “Member added”.

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

## Overview

MemberPress is a WordPress plugin for selling memberships, subscriptions, and gated content. Tray.ai connects to MemberPress through the HTTP Connector, so your workflows can call the MemberPress API alongside the rest of your stack.

## Use cases

### Members

Read, create, update, and delete members in MemberPress from any Tray.ai workflow. The MemberPress API covers calls such as list members and create a member.

- List members
- Create a member
- Update a member

### Transactions

Read, create, update, and delete transactions in MemberPress from any Tray.ai workflow. The MemberPress API covers calls such as list transactions and create a transaction.

- List transactions
- Create a transaction
- Update a transaction

### Rules

Read, create, update, and delete rules in MemberPress from any Tray.ai workflow. The MemberPress API covers calls such as list rules and create a rule.

- List rules
- Create a rule
- Update a rule

### MemberPress events

Start a Tray.ai workflow the moment something happens in MemberPress. MemberPress sends events such as member added and member signup completed to a Tray.ai webhook trigger.

- Member added
- Member signup completed
- Member deleted

## Challenges Tray.ai solves

### Keeping MemberPress 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 MemberPress 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 MemberPress 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 MemberPress 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 MemberPress?

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

### How does Tray.ai authenticate with MemberPress?

The MemberPress API uses an API key in a request header and basic authentication. You save it once as a Tray.ai authentication, and the HTTP Connector adds it to every request.

### Can I get a dedicated MemberPress connector?

MemberPress runs through the HTTP Connector rather than a dedicated connector. If your team wants one, the Tray.ai connector SDK can build a dedicated MemberPress connector from the MemberPress 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/
