Skip to content

Conversation

diegocharles
Copy link
Contributor

@diegocharles diegocharles commented May 21, 2025

Do not create WalletTransaction if the paid_credits is zero or negative.

@diegocharles diegocharles force-pushed the fixes/negative-amount-on-wallet branch from 4ad03f4 to 6b1a9e3 Compare May 21, 2025 19:01
@diegocharles diegocharles requested a review from jdenquin May 21, 2025 19:08
@diegocharles diegocharles force-pushed the fixes/negative-amount-on-wallet branch from 6b1a9e3 to 9d4799a Compare May 22, 2025 17:54
@diegocharles diegocharles changed the title [ISSUE 895] - Fix Wallet Transaction created with negative amount. Fix(wallet_transaction): Don't create transaction when the credits are zero or negative. May 22, 2025
@diegocharles diegocharles force-pushed the fixes/negative-amount-on-wallet branch from 9d4799a to be7b947 Compare May 22, 2025 18:19
…ng_balance is higher than Wallet ongoing balance

Fix Rubocop offense

Skip WalletTransaction when paid and granted credits are zero

Only skip if recurring_rule is target?

Fix method mistake
@diegocharles diegocharles force-pushed the fixes/negative-amount-on-wallet branch from bce35c8 to 32f85ce Compare May 23, 2025 12:13
@diegocharles diegocharles merged commit 19aecd9 into main May 23, 2025
14 checks passed
@diegocharles diegocharles deleted the fixes/negative-amount-on-wallet branch May 23, 2025 13:23
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.

2 participants