P2P Trading 5.1.7

27 August 2025

This release has upgrade notes. Read them before updating — they describe behaviour changes that need your attention.

BUG FIXESNEW FEATURESADMIN FEATURESDATABASE MIGRATION

P2P v5.1.7

Release Date: August 27, 2025
Tags: BUG FIXES, NEW FEATURES, ADMIN FEATURES, DATABASE MIGRATION

Update Instructions

IMPORTANT: run the database migration before using the new payment method features.

npm run migrate

Upgrade Notes

A database migration is required

  • Changed: the migration adds the global flag that payment methods now carry, and marks your existing built-in methods as global so they stay available to everyone.

Added

Global payment methods

  • Added payment methods that an admin creates once and every user can select
  • Added automatic marking of the built-in system methods as global
  • Changed the payment method list so global methods appear alongside a user's own, sorted with the global ones first

Admin payment methods management

  • Where: Admin → P2P → Payment Methods.
  • Added a single view of global, system and user-created methods, showing each method's type and who created it
  • Added "Add Payment Method" for creating global methods available to all users
  • Added editing of any method — global, system or user-owned
  • Added a "Global" toggle to make any payment method globally available
  • Added deletion with safety checks that refuse to remove a method in active use
  • Added sorting and filtering by type, status, creator and creation date, with pagination
  • Added status indicators distinguishing Global, System and User methods

Changed

  • Changed admin actions on payment methods to be recorded in the activity trail with the correct action and related record
  • Changed error handling in payment method operations, so a failure reports what went wrong

Fixed

Payment method creation

  • Fixed payment method creation failing with a database error, because the activity log entry it wrote was incomplete. Activity logging across all P2P modules recorded the wrong fields, and now records the action, the related record and its details correctly.

Payment method visibility

  • Fixed users being unable to see admin-created payment methods
  • Fixed the payment method list not distinguishing between a user's own methods and those available to everyone
  • Fixed the ordering of the list, which now shows global methods first