Skip to content

Commit a3eb42c

Browse files
committed
fixed typo
1 parent ca9fd83 commit a3eb42c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PluginController/PluginController.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -582,7 +582,7 @@ protected function doDeposit(PaymentInterface $payment, $amount)
582582
$payment->setDepositingAmount($amount);
583583
$instruction->setDepositingAmount($instruction->getDepositingAmount() + $amount);
584584
} else if (PaymentInterface::STATE_DEPOSITING === $paymentState) {
585-
$transaction = $instructin->getPendingTransaction();
585+
$transaction = $instruction->getPendingTransaction();
586586
if (null === $transaction) {
587587
if (Number::compare($amount, $payment->getApprovedAmount() - $payment->getDepositedAmount()) === 1) {
588588
throw new Exception('The amount cannot be greater than the approved amount minus the already deposited amount.');

0 commit comments

Comments
 (0)