Customer Payments Portal & Receipts
GateFuz provides a self-service customer billing experience, allowing logged-in users to review their payment transactions, inspect billing breakdowns, and download or print receipts.
1. Frontend Dashboard Native Integration
Section titled “1. Frontend Dashboard Native Integration”When Frontend Dashboard is active on your WordPress site, GateFuz automatically connects to the native Payments dashboard menu tab:
- No Shortcode Required: GateFuz listens on the
fed_frontend_dashboard_menu_container_paymentshook and injects the customer billing ledger automatically. - Header Metric Badges: Displays customer account information, total completed transactions count, and lifetime total spent formatted in the site’s default currency.
- Transaction Table: Lists each payment with:
- Order / Invoice ID: Clean unique order reference.
- Gateway Badge: Branded pill (Stripe, PayPal, Razorpay, Mollie, Paystack, Bank Transfer).
- Amount & Currency: Full formatted amount (e.g.
$49.00 USD). - Status: Live badge indicator (
Completed,Pending,Refunded). - Date & Time: Localized checkout timestamp.
- Action Button: “View Receipt” trigger opening the printable receipt modal.
2. Customer Transactions Shortcode
Section titled “2. Customer Transactions Shortcode”You can embed the customer’s payment history table on any custom page, template, or member area using [gatefuz_transactions] (or its alias [gatefuz_my_transactions]):
[gatefuz_transactions]Renders the payment table for the current logged-in user with the default 10 most recent transactions.
[gatefuz_transactions limit="25" show_header="yes" title="Billing & Invoices"]Sets the page title to “Billing & Invoices” and displays up to 25 records.
[gatefuz_transactions show_header="no"]Omits the top metric cards and renders only the clean transaction table.
Shortcode Attributes Reference
Section titled “Shortcode Attributes Reference”| Attribute | Type | Default | Description |
|---|---|---|---|
limit |
integer |
10 |
Maximum number of transactions displayed. |
show_header |
string |
'yes' |
Whether to show the top KPI cards (yes or no). |
title |
string |
'Payment History' |
Heading displayed above the transaction table. |
Guest Users: If a visitor is not logged in, GateFuz displays an authentication message inviting them to log in to view their payment history.
3. The Gutenberg Block
Section titled “3. The Gutenberg Block”GateFuz includes a native Gutenberg block: GateFuz Customer Transactions (gatefuz/transactions).
- Open the Block Editor on any Page or Post.
- Click Add Block (+) and search for
Customer TransactionsorGateFuz. - Select GateFuz Customer Transactions.
- In the Block Inspector sidebar (right-hand panel), configure:
- Title: Customize the header text.
- Show Header Summary: Toggle customer metric KPI cards on or off.
- Transactions Limit: Set how many recent transactions to fetch (e.g. 5, 10, 20).
- The block renders a live visual table in the canvas and dynamic user payments on the frontend.
4. Printable Modal Receipts
Section titled “4. Printable Modal Receipts”Each transaction in the table includes a View Receipt button that opens a modal window:
- Branded Receipt: Shows company/site details, customer name/email, order reference number, and payment timestamp.
- Gateway Transaction ID: Displays the external reference identifier (e.g. Stripe
pi_3P..., PayPalBT-...) for dispute and audit resolution. - Itemized Billing Summary: Shows line item description, subtotal, tax/fee adjustments, and total charge.
- Print Receipt: Clicking the printer button triggers standard browser printing (
window.print()) formatted with print-optimized CSS rules (hiding navigation, buttons, and backgrounds).
