Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
We need a $payment->getBalance() method that returns the amount - refunded_amount.
We also need a method that returns the unpaid amount of an order (order total - each payment's balance). Unsure where it should live.
Comments
Comment #2
bojanz CreditAttribution: bojanz at Centarro commentedRescoping, we can do the first part right away, the second one will need a bit of discussion.
Comment #4
bojanz CreditAttribution: bojanz at Centarro commentedDone.