Skip to content

OFBIZ-13215 Fix billing account balance after payment receipt#1169

Open
siva-sai-udaygiri wants to merge 1 commit into
apache:release18.12from
siva-sai-udaygiri:OFBIZ-13215
Open

OFBIZ-13215 Fix billing account balance after payment receipt#1169
siva-sai-udaygiri wants to merge 1 commit into
apache:release18.12from
siva-sai-udaygiri:OFBIZ-13215

Conversation

@siva-sai-udaygiri
Copy link
Copy Markdown

Fixed billing account balance update after receiving payment for an order paid through a billing account.

Changes:

  • Detect billing account payment preferences using paymentMethodTypeId EXT_BILLACT.
  • Mark billing account payment preferences as PAYMENT_RECEIVED when the received payment covers the order total.
  • Preserve existing offline payment cancellation behavior.

Tested:

  • Created sales order WSCO10010 using billing account 9010.
  • Completed/shipped the order.
  • Received offline payment for the billing account amount.
  • Verified billing account available balance returned to the pre-order balance.

Build:

  • ./gradlew.bat compileJava
  • git diff --check

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