Skip to content

Fixed duplicate revenue entry for bank transfer transactions - #1

Open
sakibstime wants to merge 1 commit into
uddoktapay:mainfrom
cornQ:main
Open

Fixed duplicate revenue entry for bank transfer transactions#1
sakibstime wants to merge 1 commit into
uddoktapay:mainfrom
cornQ:main

Conversation

@sakibstime

Copy link
Copy Markdown

Summary

This fixes an issue where changing a bank transfer payment status from Pending to Approved could create a duplicate revenue entry for the same transaction.

Changes

Updated the pending payment handling by removing the duplicate transaction description assignment before calling PaymentPending().

This prevents the same bank transfer payment from being recorded twice while preserving the normal pending-to-approved payment flow.

Testing

  • Tested a bank transfer payment in Pending status
  • Changed the payment status from Pending to Approved
  • Confirmed that only one revenue entry is created
  • Confirmed that the invoice and payment status update normally

@sakibstime sakibstime changed the title Fixe duplicate revenue entry for bank transfer transactions Fixed duplicate revenue entry for bank transfer transactions Jul 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant