Get PayPal Payments connection status is a WordPress ability from WooCommerce PayPal Payments — usable via Easy MCP AI, which connects Claude, ChatGPT, and any AI assistant to your site.
Install Free Plugin →Get PayPal Payments connection status
Read-onlyCheck whether the store's PayPal merchant account is connected and see its sandbox/live mode, merchant ID, and email, without exposing API credentials.
Requires the WooCommerce PayPal Payments plugin with WooCommerce 10.9+ (which brings the Abilities API loader; implies WordPress 6.9+). Abilities are additionally gated behind the `woocommerce_paypal_payments_abilities_enabled` filter, which defaults to false, so a site admin or developer must explicitly enable it before any ability registers. Every ability requires the current user to have the 'manage_woocommerce' capability.
What it does
This ability delegates to the plugin's CommonRestEndpoint::get_merchant_details handler (via the internal REST route /wc/v3/wc_paypal/common/merchant) and returns the merchant connection state: whether the store is connected, sandbox vs. live mode, merchant ID, email, and seller type, plus an optional features block. It takes no input parameters. Before returning, it strips the clientId and clientSecret OAuth credential fields so an AI assistant can reason about the connection without ever seeing the store's live API secrets.
See it in action
You ask your AI assistant
"Is our PayPal Payments account connected, and is it running in sandbox or live mode?"
Returns
An object with a `merchant` subobject (connection state, sandbox flag, merchant ID, email, seller type — clientId/clientSecret redacted) and an optional `features` array.
Permission
The current user must have the 'manage_woocommerce' capability, checked via AbilitiesRegistrar::can_manage_woocommerce().
More WooCommerce PayPal Payments abilities
Get PayPal order
Look up a PayPal order's status and purchase-unit details by PayPal order ID or WooCommerce order ID.
Get PayPal order tracking
Look up the shipment tracking entries PayPal has on file for a specific WooCommerce order.
Get PayPal Payments payment methods
List every PayPal payment gateway configured in the store along with its enabled state and any setup warnings.