Skip to content

Commit

Permalink
TaxedMoney to Money, no tax info here.
Browse files Browse the repository at this point in the history
  • Loading branch information
remcotolsma committed Aug 4, 2021
1 parent cf0116c commit 9d2c863
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Gateway.php
Expand Up @@ -10,7 +10,7 @@

namespace Pronamic\WordPress\Pay\Gateways\OmniKassa2;

use Pronamic\WordPress\Money\TaxedMoney;
use Pronamic\WordPress\Money\Money;
use Pronamic\WordPress\Pay\Core\Gateway as Core_Gateway;
use Pronamic\WordPress\Pay\Core\PaymentMethods;
use Pronamic\WordPress\Pay\Payments\Payment;
Expand Down Expand Up @@ -193,7 +193,7 @@ public function start( Payment $payment ) {
$unit_price = $line->get_unit_price();

if ( null === $unit_price ) {
$unit_price = new TaxedMoney();
$unit_price = new Money();
}

$item = $order_items->new_item(
Expand Down

0 comments on commit 9d2c863

Please sign in to comment.