Skip to content

Commit 041f7c8

Browse files
Support partial refunds.
1 parent 7bbd5bf commit 041f7c8

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/base/Gateway.php

+9
Original file line numberDiff line numberDiff line change
@@ -407,6 +407,15 @@ public function supportsCompletePurchase(): bool
407407
return $this->gateway()->supportsCompletePurchase();
408408
}
409409

410+
/**
411+
* @inheritdoc
412+
*/
413+
public function supportsPartialRefund(): bool
414+
{
415+
// All of the currently implemented Omnipay gateways support partial refunds.
416+
return true;
417+
}
418+
410419
/**
411420
* @inheritdoc
412421
*/

0 commit comments

Comments
 (0)