Payment Gateways
Payment Gateways
Taking money on your site.
How gateways work
Gateways are separate plugins, not part of the theme. The theme provides checkout, orders and the settings screen; a gateway plugin provides the connection to PayPal, Stripe or whoever processes the payment.
That split is deliberate — you install only the gateway you actually use, and a gateway can be updated without touching the theme.
Download the gateway plugins from premiumpress.com/plugins.
Setting one up
- Download the gateway plugin for your processor.
- Install and activate it under Plugins ▸ Add New ▸ Upload Plugin.
- Go to PremiumPress ▸ Checkout (
ppt_checkout). - The gateway now appears in the list. Enter its credentials and enable it.
Each gateway supplies its own fields — most want an API key or client ID and secret, and a sandbox/live switch.
Test before going live
Most gateways offer a sandbox or test mode. Use it, and place a real end-to-end order before you take live payments: check the order appears under PremiumPress ▸ Orders, and that the customer receives the confirmation email.
The theme also includes a test gateway for checking the checkout flow without a processor at all. Never leave it enabled on a live site — it marks orders as paid without taking any money.
Which gateway do I need?
Any processor with a plugin on the plugins page. If yours is not listed, contact us — we will build the plugin free of charge, and these typically take 7–10 working days.
What people are paying for
Gateways are only the payment step. What is actually for sale — listing packages, upgrades, memberships or credits — is configured separately, in Monetize.
For developers
A plugin registers a gateway through the ppt_payment_gateways filter, which
declares its id, name and settings fields. Payment itself runs through the
ppt_gateway_start and ppt_gateway_verify contracts, shared by every checkout
in the theme — listings, memberships, credits and bookings all use the same
pair. See Checkout.