Overview
Direct Payment removes the two-step checkout process from PteroCA. Instead of forcing users to top up their balance first and then purchase a server, they can pay directly through any configured payment gateway in a single step. Less friction means higher conversion rates for your hosting business.
Key Features
One-Step Checkout
- Users click "Pay Directly" on the cart page and go straight to the payment gateway
- No need to add balance, no extra clicks, no confusion
- Works with any payment gateway registered in PteroCA (Stripe, PayPal, etc.)
Server Purchase & Renewal
- Supports both new server purchases and server renewals
- "Pay Directly" button on the cart page for purchases
- "Renew Directly" button on the server renewal page
Clean Checkout Page
- Dedicated checkout page with clear order summary (type, amount, currency)
- Visual payment gateway selection with provider logos
- Single "Pay" button to complete the transaction
Hide Balance System (Optional)
- Optionally hide the Wallet menu item from the sidebar
- Hide balance widgets and the standard "Order Now" button
- Enforce direct payments as the only checkout method
- Fully configurable - can run alongside the balance system if preferred
Voucher Support
- Users can apply discount vouchers during direct payment checkout
- Discounts are calculated and reflected in the final payment amount
Automatic Cleanup
- Built-in cron task runs every 30 minutes
- Expires stale pending payments after a configurable timeout (default: 60 minutes)
- Cleans up old expired and cancelled records after 24 hours
How It Works
- User selects a product in the Store and configures their server
- Instead of "Order Now", they click "Pay Directly"
- A checkout page shows the order summary and available payment gateways
- User selects a gateway (e.g., Stripe) and clicks "Pay"
- User completes payment on the external processor (e.g., Stripe Checkout)
- After payment, the server is created automatically - no balance involved
The same flow works for server renewals.
Configuration
The plugin has 4 configurable settings accessible from Admin Panel:
- Enable Direct Payment - Master switch to enable/disable the plugin
- Hide Balance System - Remove Wallet menu and balance widgets from the UI
- Hide Standard Order Button - Hide the balance-based "Order Now" button
- Pending Payment Expiry - How long payment sessions remain valid (default: 60 minutes)
Dark & Light Mode
The plugin fully supports both dark and light panel themes. The "Pay Directly" button and all checkout pages adapt to the user's selected theme.
Requirements
- PteroCA v0.6.5 or higher
- At least one payment gateway configured (e.g., Stripe)
Installation
- Upload the plugin ZIP via Admin Panel -> Plugins -> Upload Plugin
- Go to Plugins -> Direct Payment -> Settings and enter your license key
- Enable the plugin - the "Pay Directly" button will appear on cart pages instantly
Price
Related Products
Tools and themes designed to elevate your ecosystem.
User Reviews (0)
No reviews yet. Be the first to review this product!