Skip to content

Conversation

@bproenca
Copy link

Fixed PaymentService.cancelOrderEvent method.

When PaymentConsumerConfig.processPayment receives an event where OrderStatus not equals OrderStatus.ORDER_CREATED, the correct workflow is:

  • Restore the user balance (update)
  • Remove the user transaction (delete)

Regards.

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