8000 "Partially refunded" is not supported · Issue #63 · studioespresso/craft-mollie-payments · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
"Partially refunded" is not supported #63
Open
@carolineboeykens

Description

@carolineboeykens

In Transaction.php on line 34 you check if there are refunds:

if ($molliePayment->refunds()->count > 0) {
   if ($molliePayment->getAmountRefunded() === $molliePayment->getSettlementAmount()) {
     $transaction->status = "refunded";
  }
}

But this is not saved when the refund is partially.
Our refund is:
$molliePayment->getAmountRefunded() = 20.0
But the total amount is:
$molliePayment->getSettlementAmount() = 80.0

Is there a workaround?
Or can you create a new status for this?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0