Skip to content

paypal

PayPal payment sync with webhooks and order management. Pro plugin.

Requires: Basic license tier or higher. nself license set nself_pro_...

Terminal window
nself license set nself_pro_xxxxx...
nself plugin install paypal

Syncs PayPal payment data into your Postgres database via the PayPal REST API and webhooks. Tracks orders, captures, refunds, disputes, and subscriptions. Provides a webhook receiver for real-time payment event processing. With 14 synced tables, query PayPal data directly via Hasura GraphQL.

Env VarDefaultDescription
PAYPAL_PORT3071PayPal plugin port
PAYPAL_CLIENT_IDnonePayPal REST API client ID
PAYPAL_CLIENT_SECRETnonePayPal REST API client secret
PAYPAL_MODEsandboxMode: sandbox or live
PAYPAL_WEBHOOK_IDnonePayPal webhook ID for validation
PortPurpose
3071PayPal integration REST API

14 tables added to your Postgres database, including:

  • np_paypal_orders: order records
  • np_paypal_captures: payment captures
  • np_paypal_refunds: refund records
  • np_paypal_disputes: dispute/chargeback records
  • np_paypal_subscriptions: subscription state
  • np_paypal_plans: subscription plan definitions
  • np_paypal_webhook_events: raw event log
  • And 7 more for customers, invoices, payouts, etc.
RouteTarget
/paypal/webhookPayPal webhook receiver