Go Back to Parent Doc

Storefront & My Account

This page shows Ollet from your customers’ side: where they find their wallet, how they add funds, how they pay, and what they see when money comes back.

The Wallet page

Logged-in customers find their wallet at My Account → Wallet (/my-account/wallet/ by default). It shows:

  • Available balance: what they can spend right now, with the Store credit and Customer funds that make it up.
  • Reserved funds: when an order is waiting for payment, a line such as “5.00 reserved for pending orders”. Reserved money isn’t available to spend again.
  • Add funds: suggested amounts and an amount field (when top-ups are on).
  • Reminders: a tick box to get or stop the low balance email (only when the store has low balance reminders on).
  • Transactions: every movement with its date, details and amount, filterable by All, Money in and Money out, with Newest and Older transactions paging.

If the page shows “not found”, go to Settings → Permalinks and click Save Changes once. Developers can change the wallet slug with the ollet_my_account_endpoint filter.

If a wallet is locked or closed, the page tells the customer “Your wallet is locked. Please contact us for help.” and hides the top-up form.

Adding funds

  1. On the Wallet page, under Add funds, the customer clicks one of the Suggested amounts or types an amount. The allowed range is shown under the field, for example “Between 1.00 and 1,000.00”.
  2. They click Continue to payment. Ollet puts a single top-up in the cart and goes to checkout.
  3. They pay with any of your payment methods.
  4. Once the payment is confirmed, the funds appear in the wallet as customer funds and the customer gets the Wallet credited email.

A few rules keep top-ups safe:

  • Paid means paid. Pending, on-hold and failed payments never add funds. A gateway that reports the same payment more than once can’t credit it twice.
  • Top-ups are paid on their own. A top-up can’t be combined with other products in one order. If the cart has products in it, the customer is asked to complete one or the other first.
  • No coupons. A coupon would add more to the wallet than the customer paid, so coupons aren’t accepted on top-ups.
  • No pay-later methods. Payment methods that mark an order as paid before the money arrives, such as cash on delivery, aren’t offered for top-ups. The wallet can never pay for a top-up.
  • Limits. If the store set a daily top-up limit or maximum balance, the customer sees how much they can still add, for example “You can add up to $500.00 in 24 hours. You can still add $300.00 now.”

Paying with the wallet

At checkout, the wallet appears as a payment method (titled Wallet by default) when:

  • the customer is logged in,
  • the wallet is active, and
  • the available balance covers the whole order total, in your store’s base currency.

The customer chooses it and places the order, and the order is paid from the wallet at once. It works on the classic checkout and on the Checkout block. The balance is checked again, under a lock, at the moment of payment, so two tabs or two devices can’t spend the same money twice.

Paying part of an order with the wallet

When the balance doesn’t cover the whole order, the checkout shows Use my wallet balance (… available) in the order summary. When the customer ticks it:

  • the whole available balance goes towards the order and appears as a Paid from wallet line,
  • the order total drops to what’s left, and the customer pays that with any other payment method (card, bank transfer, cash on delivery…),
  • tax is still calculated on the full price, because the wallet part is a payment, not a discount.

The wallet part is reserved when the order is placed, so it can’t be spent twice, and taken when the order is paid. If the payment fails or the order is cancelled before payment, the reservation is released. While an order waits on hold (for example for a bank transfer), the reservation is kept.

It works on the classic checkout and on the Checkout block. The amount is always worked out by the store, never by the browser, and checked again under a lock when the order is placed. Split payments aren’t offered for wallet top-ups, and the store can turn them off in Settings.

Multi-currency stores: wallets are kept in your store’s base currency. When a different currency is active at checkout, the wallet isn’t offered, so amounts are never converted silently.

Cashback messages

When the store gives cashback, customers see what they will earn before they buy:

  • on product pages, under the price: “Earn $2.25 cashback in store credit.”
  • in the cart and at checkout (classic and blocks), under the total: “You earn $2.25 cashback in store credit with this order.”
  • guests see “Create an account to earn $2.25 cashback in store credit.”, because only customers with an account have a wallet.

The cashback is added to the wallet when the order is completed, and the order page in My Account shows a Cashback earned line.

Showing the balance in your header

Customers can see their balance without opening My Account:

  • Account menu: turn on Account menu in Settings to show “Wallet ($23.50)” in the My Account menu.
  • Wallet Balance block: add it to your header or any template in the Site Editor. Settings: the Label (default “Wallet balance:”) and Link to the wallet page. It supports colours, spacing and font size.
  • Shortcode: [ollet_balance] anywhere shortcodes work. Attributes: label="Credit:" and link="no".

The block and the shortcode are safe on cached pages: the page only contains an empty placeholder, and the balance is filled in by a small uncached request for the logged-in customer. Guests see nothing.

When money comes back

  • Refunds of wallet-paid orders return to the wallet, to the same kinds of funds the payment used, and appear in Transactions with the order number.
  • Cancelled orders paid with the wallet return the payment automatically, if the store has that setting on.
  • Orders paid partly with the wallet: a refund through the other payment method also returns the same share of the wallet part (unless the store returns it by hand), and a full refund or cancellation returns all of it.
  • Refunds as store credit: the store can refund any order to the wallet instead of the card. The money appears as store credit, the order shows a Refunded as store credit line, and the customer gets the Wallet credited email.
  • Store credit from the store appears with any note the store added, and the customer gets the Wallet credited email if the store chose to notify them.

Privacy for customers

Ollet doesn’t send any data to external services and has no tracking. Customers can request a copy of their wallet data, and you can handle erasure requests, through the standard WordPress Tools → Export Personal Data and Erase Personal Data screens. Because transactions are financial records, erasure removes personal notes but keeps the amounts. Ollet also suggests text for your privacy policy under Settings → Privacy.

Shopping Cart
  • Your cart is empty.