P2P Trading 5.0.8

17 January 2025

SECURITY FIXBALANCE VALIDATIONCURRENCY DISPLAYUI IMPROVEMENTS

P2P v5.0.8

Release Date: January 17, 2025
Tags: SECURITY FIX, BALANCE VALIDATION, CURRENCY DISPLAY, UI IMPROVEMENTS

Added

  • Added balance validation for sell offers on the server, so an offer exceeding available funds cannot be created
  • Added automatic wallet balance fetching when a currency is selected during offer creation
  • Added the available balance to the sell offer creation form
  • Added proper fiat currency detection using ISO 4217 currency codes
  • Added support for 100+ global fiat currencies
  • Added an admin setting controlling whether users may add custom payment methods
  • Added protection against deleting a payment method that is in use by an active offer or an ongoing trade, with a message explaining why

Changed

  • Changed currency display to handle fiat and crypto differently
  • Changed decimal formatting to 2 decimals for fiat currencies and 8 for crypto
  • Changed P2P dashboard statistics to use the same formatting throughout
  • Changed the admin settings interface to include the custom payment method toggle
  • Changed the offer creation flow to validate balance in real time
  • Changed seller information to omit email addresses, protecting user privacy
  • Changed payment method selection to respect the admin-configured restrictions
  • Changed error messages so an insufficient balance is explained clearly

Fixed

  • Fixed a critical security bug that allowed sell offers to be created without sufficient balance
  • Fixed an unwanted "/" character appearing before the trading volume amount
  • Fixed average completion time showing "N/A" instead of "0"
  • Fixed fiat currencies attempting to load an image instead of showing the currency code
  • Fixed currency detection, which guessed from the length of the code rather than using proper ISO codes
  • Fixed seller email addresses being exposed in the P2P interface
  • Fixed spacing in trade forms between min/max amounts and button text
  • Fixed payment methods being deletable while still in use by active offers or trades