Skip to content

Commit

Permalink
Update usage of deprecated get_cents() method.
Browse files Browse the repository at this point in the history
  • Loading branch information
rvdsteege committed Oct 22, 2020
1 parent 87302ba commit 48944ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Gateway.php
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ public function start( Payment $payment ) {

// Start transaction.
$result = $this->client->transaction_start(
$payment->get_total_amount()->get_cents(),
$payment->get_total_amount()->get_minor_units(),
Util::get_ip_address(),
$payment->get_return_url(),
$request
Expand Down

0 comments on commit 48944ee

Please sign in to comment.