Wallet SystemWallet System
Buy Now
View Demo
  • Getting Started

    • Introduction
    • Quick Start
    • Features
    • Installation
    • First-Time Setup
    • Admin Tour
  • Wallet Core

    • Core Wallet
    • Wallet Payment Gateway
    • Recharge / Top-up
    • Wallet Transfer
    • My Wallet Page
    • Shortcodes
  • Earn & Reward

    • Cashback Engine
    • Referral Program
    • Multilevel Referral
    • Daily Login Reward
    • Invite Friends
    • Deposit / Top-up Bonus
  • Spend & Payout

    • Checkout Discount
    • Checkout Restriction
    • Withdrawal
    • PayPal Payout
    • Stripe Payout
    • Refund to Wallet
    • Buy Now Pay Later
  • Identity & Mobile

    • KYC
    • QR Code Payments
  • Wallet Central

    • Overview
    • Endpoint & Routing
    • CTA Discovery
    • Home Dashboard
    • Add Funds
    • Withdraw
    • Withdrawals List
    • Send Money
    • QR Pay
    • Payment Requests
    • Refer & Earn
    • Transactions
    • Settings
    • KYC Flow
    • Architecture
    • Tweaks & Responsive
    • Security
    • Admin Controls
  • Admin Tools

    • Admin Settings (index)
    • Bulk Credit / Debit
    • Analytics Dashboard
  • Settings Tabs

    • General
    • Recharge
    • Checkout
    • Withdrawal
    • Payout (PayPal/Stripe)
    • KYC
    • Cashback
    • Referral
    • Multilevel
    • BNPL
    • QR Pay
    • Notifications
    • Wallet Central
    • Integrations
    • API Keys
  • Notifications

    • Email Notifications
    • SMS Notifications
  • Developer

    • REST API
    • Filters & Hooks
  • Help

    • Troubleshooting
    • FAQ
    • Glossary
Support
Buy Now
View Demo
  • Getting Started

    • Introduction
    • Quick Start
    • Features
    • Installation
    • First-Time Setup
    • Admin Tour
  • Wallet Core

    • Core Wallet
    • Wallet Payment Gateway
    • Recharge / Top-up
    • Wallet Transfer
    • My Wallet Page
    • Shortcodes
  • Earn & Reward

    • Cashback Engine
    • Referral Program
    • Multilevel Referral
    • Daily Login Reward
    • Invite Friends
    • Deposit / Top-up Bonus
  • Spend & Payout

    • Checkout Discount
    • Checkout Restriction
    • Withdrawal
    • PayPal Payout
    • Stripe Payout
    • Refund to Wallet
    • Buy Now Pay Later
  • Identity & Mobile

    • KYC
    • QR Code Payments
  • Wallet Central

    • Overview
    • Endpoint & Routing
    • CTA Discovery
    • Home Dashboard
    • Add Funds
    • Withdraw
    • Withdrawals List
    • Send Money
    • QR Pay
    • Payment Requests
    • Refer & Earn
    • Transactions
    • Settings
    • KYC Flow
    • Architecture
    • Tweaks & Responsive
    • Security
    • Admin Controls
  • Admin Tools

    • Admin Settings (index)
    • Bulk Credit / Debit
    • Analytics Dashboard
  • Settings Tabs

    • General
    • Recharge
    • Checkout
    • Withdrawal
    • Payout (PayPal/Stripe)
    • KYC
    • Cashback
    • Referral
    • Multilevel
    • BNPL
    • QR Pay
    • Notifications
    • Wallet Central
    • Integrations
    • API Keys
  • Notifications

    • Email Notifications
    • SMS Notifications
  • Developer

    • REST API
    • Filters & Hooks
  • Help

    • Troubleshooting
    • FAQ
    • Glossary
Support
  • Getting Started

    • Introduction
    • Quick Start — Wallet Live in 5 Minutes
    • Features
    • Installation
    • First-Time Setup
    • Admin Tour
  • Wallet Core

    • Core Wallet
    • Wallet Payment Gateway
    • Recharge / Top-up
    • Wallet Transfer
    • My Wallet Page
    • Shortcodes
  • Earn & Reward

    • Cashback Engine
    • Referral Program
    • Multilevel Referral
    • Daily Login Reward
    • Invite Friends
    • Deposit / Top-up Bonus
  • Spend & Payout

    • Checkout Discount
    • Checkout Restriction
    • Withdrawal
    • PayPal Payout
    • Stripe Payout
    • Refund to Wallet
    • Buy Now Pay Later (BNPL)
  • Identity & Mobile

    • KYC (Know Your Customer)
    • QR Code Payments
  • Wallet Central

    • Wallet Central Overview
    • Endpoint & Routing
    • CTA Discovery
    • Home Dashboard
    • Add Funds
    • Withdraw
    • Withdrawals List + Detail
    • Send Money
    • QR Pay
    • Payment Requests
    • Refer & Earn
    • Transactions
    • Settings (customer)
    • KYC Flow
    • Architecture
    • Tweaks & Responsive
    • Security
    • Admin Controls
  • Admin Tools

    • Admin Settings
    • Bulk Credit / Debit
    • Analytics Dashboard
  • Settings Tabs

    • General Settings
    • Recharge Settings
    • Checkout Settings
    • Withdrawal Settings
    • Payout Settings (PayPal + Stripe)
    • KYC Settings
    • Cashback Settings
    • Referral Settings
    • Multilevel Settings
    • BNPL Settings
    • QR Pay Settings
    • Notifications Settings
    • Wallet Central Settings
    • Third-Party Integrations
    • API Keys
  • Notifications

    • Email Notifications
    • SMS Notifications
  • Developer

    • REST API
    • Filters & Hooks
  • Help

    • Troubleshooting
    • FAQ
    • Glossary

My Wallet Page

The customer-facing dashboard at /my-account/my_wallet/ (added as a WC my_wallet endpoint).

Layout (top-to-bottom)

┌────────────────────────────────────────────────────────────┐
│ Breadcrumb  Account ›› My Wallet                           │
├────────────────────────────────────────────────────────────┤
│ Profile greeting    Avatar  Welcome back, NAME             │
│                     KYC pill   Transactions stat            │
├────────────────────────────────────────────────────────────┤
│ Credit-card hero    Brand "Shop Wallet"                    │
│                     ₹ 1,250.00      WK-0000-••••-1234   INR│
│                     Hide / Show toggle                     │
├────────────────────────────────────────────────────────────┤
│ Action grid 2×2     [+ Add money] [paper-plane Send]       │
│                     [bank Withdraw] [tag Redeem]           │
├────────────────────────────────────────────────────────────┤
│ Add funds panel     Quick top-up chips    ₹custom amount   │
│                     Pay with — UPI / Card / Netbank        │
│                     Inline bonus banner (when enabled)     │
├────────────────────────────────────────────────────────────┤
│ Recent activity     Filter (All / Credit / Debit / Refund) │
│                     Iconised rows + paging                 │
├────────────────────────────────────────────────────────────┤
│ Referral panel      Personal link + Copy + share buttons   │
│                     How-it-works + invites list + stats    │
└────────────────────────────────────────────────────────────┘

My Wallet — full customer-facing page at /my-account/my_wallet/

Top Chrome

ElementBehaviourSource
Breadcrumb Account ›› My Walletlinks back to WC dashboardwc_get_account_endpoint_url
Title My Walletstatici18n wc_wallet
Sub-title"Manage your store credit, refunds and reward points all in one place."i18n

Profile Greeting Card

ElementBehaviourSource
Avatar 56×56Gravatarget_avatar_url( user_id )
Title Welcome back, NAMEsubmodule template.wallet-ui-greeting-title
Sub-title NAME's Walletsubmodule template.wallet-ui-greeting-subtitle
KYC badge (green pill, inline)✓ KYC VERIFIED — only when KYC approveddecorator reads _wkwp_kyc_status
KYC nudge (gradient pill, pulsing dot + shimmer)◯ VERIFY KYC / KYC UNDER REVIEW / RE-SUBMIT KYCshown when KYC not approved
Transactions statTRANSACTIONS Nlegacy .wkwc-wallet-total-transaction-count

Clicking the KYC nudge opens a native <dialog> modal with the KYC submission form. Auto-opens on rejected state. See KYC.

Profile greeting card — avatar, welcome line, KYC pill, transactions stat

Credit-Card Hero

ElementSource
Brand strip Shop Walleti18n heroBrand, override via filter wkwp_my_wallet_hero_brand
Owner namegreeting card
Balance_wkwc_wallet_amount user meta — split into symbol / integer / decimals
Masked wallet ID WK-0000-••••-NNNNderived from user ID, stable per user
Currency chip INRactive WC currency
Hide / Show buttonclient-only toggle (CSS blur), no server roundtrip
Chip + blob decorationstatic SVG

No actions on the hero itself.

Credit-card hero — brand strip, balance, masked wallet ID, currency chip

Action Grid (2×2)

TileIconActionGated by
Add money+scrolls to / focuses #add_wallet_moneyalways
Sendpaper planewc_get_endpoint_url( 'my_wallet', 'transfer' )KYC transfer + _wkwp_transfer_locked
Withdrawbankwc_get_account_endpoint_url( 'wkwc_withdrawal' )KYC withdrawal + _wkwp_kyc_gate_withdrawal
Redeem codetagopens <dialog id="wkwp-redeem"> with [wkwp_wallet_coupon_redeem]always

Warning

Server-side gating is authoritative. Tiles may render but a submit will block when gates fail.

Action grid — Add money, Send, Withdraw, Redeem code

Add Funds Panel

Customer's top-up flow.

Left column

  • Balance header + Hide toggle
  • KYC-required inlay (red, from submodule) when feature gated

Right column — the form

FieldNotes
Quick top-up3×2 grid of preset chips — click fills custom amount
Custom amount<input type="number" name="add_wallet_money"> inside pill with ₹ symbol
You'll paypaychip echoes the final charge
Add to Walletviolet submit button — posts to WC add-to-cart with the recharge product
Pay withUPI / Card / Netbank labels (cosmetic — actual method picked at checkout)
Offer banner (green, inline)rendered when _wkwp_wallet_bonus_enable=1 — "Pay ₹X and get ₹Y" updates live on input

Form submits to the standard WC product-to-cart flow. No custom endpoint. The submodule handles the recharge product.

See Recharge / Top-up.

Add funds panel — preset chips, custom amount input, pay-with strip, submit

Recent Activity

ElementBehaviourSource
Title Recent activity + countreparented from filter bar.wkwc-wallet-total-transaction-count
View all ghost buttonreveals hidden WC orders table (legacy paging)toggles .wl-act-table-hidden
Filter bar (All / Credit / Debit / Refund / Transfer)POST form → reloads with filtered rowssubmodule form
Activity rows34×34 icon tile (typed colour) + label + order link + date + signed amount + statusderived from WC orders + ledger
Pagination (Prev / Next)reparented inside activity cardlegacy .wallet-pagination

Read-only — no destructive actions.

Recent activity card — title, view-all, filter bar, transaction rows, pagination

Referral Panel

Visible when referral feature enabled (_wkwp_referral_enable=1).

2-column grid (1.4fr / 1fr) with:

CardWhat
Referral link tilePersonal link pill + Copy button (native clipboard.writeText + fallback)
Referral code tilecode with tag icon (BOB22, AARAV42)
Share buttonsbrand-coloured WhatsApp / X / Email / Messenger deep links
How it worksgradient card with 3 admin-editable steps
Your inviteslist from wallet_referrals table — only actual link signups
Statstotal earned / invited / signed up (paid) / pending

See Referral Program.

Decorator Architecture

The page is built as a decorator on top of the legacy WC submodule template — zero template edits.

Implementation:

  • Output buffers the legacy submodule wc_get_template( 'myaccount/my-wallet.php' )
  • Reparents legacy DOM nodes into a modern fintech layout via PHP
  • Strips legacy .wkwp-referral-box and duplicate transaction count via WC-action output buffer
  • All CSS scoped under .wallet-ui-custom.layout-card .wkwp-* with hex fallbacks + !important + dual-scope selectors

Means: future submodule template upgrades do not break the modern UI. Decorator simply re-decorates whatever the submodule renders.

Customise

Want toHow
Change brand strip textfilter wkwp_my_wallet_hero_brand (see Filters & Hooks)
Hide referral panelturn off _wkwp_referral_enable
Hide BNPL CTAturn off BNPL feature
Custom action tilefilter wkwp_my_wallet_action_tiles

Hooks

HookTypeWhen
wkwp_my_wallet_renderactiontop of the page
wkwp_my_wallet_action_tilesfiltermutate the 2×2 action grid
wkwp_my_wallet_activity_rowfiltermutate each activity row HTML
wkwp_my_wallet_decorator_skipfilterbypass decorator entirely

Related

  • Recharge / Top-up
  • Wallet Transfer
  • Withdrawal
  • KYC
  • Referral Program
Prev
Wallet Transfer
Next
Shortcodes