Get the plugin
WP MCP/Integrations/E-commerce

E-commerce integration

PayPal Payments MCP

gateways.health is a read op on the woo-read dispatcher, listed in the woo-ops catalog. For WooCommerce PayPal Payments it reports whether the gateway is enabled, whether it runs in sandbox mode, and whether it is connected, meaning the merchant id, client id and client secret are all set. It reads the current settings store and falls back to the older pre-3.0 settings option, so it works across plugin versions. It also reports whether a webhook is registered with PayPal and when the plugin last received a webhook event, in UTC. The values come from the options PayPal Payments stores, so the read never calls PayPal and never runs the plugin's own code. No client secret, token, merchant id or merchant email is ever returned. It needs manage_woocommerce, and the gateway parameter accepts ppcp-gateway to check PayPal alone.

woo-opswoo-read

What your AI can do

Real PayPal Payments operations, every write reversible.

  • See whether PayPal Payments is enabled and in sandbox or live mode
  • Check that merchant credentials are set, values never shown
  • See whether a PayPal webhook is registered
  • Read when the last webhook event arrived, in UTC

Example prompts

Example PayPal Payments prompts.

Is PayPal still in sandbox mode on the store?

Has PayPal sent us a webhook recently?

Check the health of every payment gateway on the store.

Under the hood

The PayPal Payments calls, under the hood.

wpmcp, paypal-payments

woo-read({ op: "gateways.health", params: { gateway: "ppcp-gateway" } }), Pro; read only; no merchant identity

woo-read({ op: "gateways.health" }), every supported gateway that is active

Part of WP MCP Pro

The PayPal Payments integration is part of WP MCP Pro.

One Pro licence unlocks the PayPal Payments tools and every other Pro integration on this site: Elementor deep editing, the other page builders, the forms adapter pack and more, 133 Pro tools in all. The free plugin still covers the rest of WordPress and the full snapshot and undo engine, so you can try the safety model before you buy.

Frequently asked

PayPal Payments MCP: questions, answered.

Does the agent see my PayPal merchant details?

No. The merchant id, client id and client secret only feed the connected flag. The response never includes a secret, token, merchant id or merchant email.

Does the PayPal Payments integration report PayPal errors?

It reports webhook registration and the last received event time. PayPal Payments does not store a last error that the read can use, so last_error is always empty for PayPal.

Can I check Stripe and WooPayments in the same call?

Yes. Leave out the gateway parameter and gateways.health returns a row for each supported gateway that is active: Stripe, WooPayments and PayPal Payments.

Point your AI at PayPal Payments.