OpenCart 2.3–4.1 extension

Supreme Wallet and Store Credit

Give every customer a wallet. They add money through your normal checkout and pay with it on later orders. You can refund an order into the wallet or correct a balance by hand. The balance is OpenCart's own store credit (the same one shown in Customers > Transactions and on the account pages), so nothing is stored in a second place.

$20
Supreme Wallet and Store Credit — overview

For OpenCart 2.3, 3.0, 4.0 and 4.1

For the customer

FOR YOU (Extensions > Modules > Supreme Wallet and Store Credit)

  • A wallet page (the address is shown in the settings; add it to your menu): the balance, quick-amount buttons (for example 10, 25, 50, 100), a field for any whole amount between your smallest and largest top-up, and the last 10 movements. Visitors who are not logged in are sent to the login page.
  • "Add to cart" puts the top-up in the cart. It is paid like any order, with any payment method you already have. A second top-up replaces the first one in the cart.
  • At checkout the shop's own "Store Credit" order total takes the balance off the order. The module switches that total on for you (setting).
  • All wording is in one language file: copy it into another language folder and translate the right-hand side.
  • Settings: on/off, pay-with-wallet at checkout on/off, smallest and largest top-up, quick amounts, and the order statuses that count as paid.
  • The money reaches the wallet once, when the top-up order gets one of the paid statuses (default: Processing and the shop's Complete statuses, never Pending). Changing the status again does not pay twice. If the order later becomes Canceled, Chargeback, Denied, Expired, Failed, Refunded, Reversed or Voided, the top-up is taken back, once.
  • Customers and balances: search by name or e-mail, pick a customer and add or take money with a note (a take-away can never push the balance below 0).
  • Refund an order into the wallet: enter the order number, the amount and a note. It is limited to the total of that order in all (partial refunds add up), only placed orders of customers with an account, and it does not return money to a card.
  • A list of the top-up orders, newest first, with the state "paid in" or "taken back".
  • Top-ups are sold as a product called "Wallet top-up" (price 1.00 in your default currency, so the quantity is the amount). The module creates it, you can repair it with one button, and it has no stock count, no shipping and no tax.

Safe by design

  • Texts are cleaned to plain text when saved and escaped again on every page. Admin pages need Access; changing settings, balances and refunds need Modify and answer POST only. Amounts are checked (a number with at most 2 decimals) and the wallet top-up can only come from a real paid order, never from a form field.

Notes

  • The top-up product is a normal product without a category: it can appear in the shop search. Do not add it to categories.
  • Top-ups are whole amounts in the default currency of the shop. Orders in another currency are converted by the shop as usual.
  • Balances, top-up records and refund records are your data: they are kept when you uninstall and are there again after a reinstall. Uninstall hides the top-up product.
  • On OpenCart 2.3.0.2 the shop's own Store Credit total has a bug: when the balance is larger than the order it takes the whole balance instead of only the order total. That is in the core file catalog/model/extension/total/credit.php, not in this module.
  • The admin screens are in English only; the storefront text is translatable.
  • Tested on OpenCart 4.1.0.4, 4.0.2.3, 3.0.5.1 and 2.3.0.2 with the real admin installer (install, settings, balances, adjustments, refunds, the wallet page for a logged-in customer, the top-up cart, payout and take-back through real order status changes, the store credit total, uninstall, reinstall). The admin page and the buttons on the wallet page were syntax-checked but not clicked in a browser, and a top-up was not paid through a real payment method or the Supreme One Page Checkout.

Screenshots

Supreme Wallet and Store Credit — Storefront wallet
Storefront wallet
Supreme Wallet and Store Credit — Admin settings part 1
Admin settings part 1
Supreme Wallet and Store Credit — Backend settings
Backend settings

More modules

You May Also Need.

Supreme Help Desk and Support Tickets

A support desk inside your shop. Customers open a ticket from their account, linked to the order they ask about. Your team answers in the admin or straight from the mail program, and every answer reaches the customer by email. No monthly fee, no outside service, no core files changed.

See all OpenCart modules