Skip to content

Commit

Permalink
Fixes support for 5.6
Browse files Browse the repository at this point in the history
  • Loading branch information
SmoDav authored Jan 27, 2021
1 parent 8a6f587 commit f85d473
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Mpesa/C2B/STK.php
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ public function push($amount = null, $number = null, $reference = null, $descrip
$paybill = $this->core->configRepository()->getAccountKey('lnmo.paybill');
$shortCode = $this->core->configRepository()->getAccountKey('lnmo.shortcode');
$passkey = $this->core->configRepository()->getAccountKey('lnmo.passkey');
$callback = $this->callback ?? $this->core->configRepository()->getAccountKey('lnmo.callback');
$callback = $this->callback ?: $this->core->configRepository()->getAccountKey('lnmo.callback');

$partyB = $this->command == self::CUSTOMER_PAYBILL_ONLINE ? $shortCode : $paybill;

Expand Down

0 comments on commit f85d473

Please sign in to comment.