We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent de87f7a commit 6698f1aCopy full SHA for 6698f1a
tests/PHPUnit/test-flw-wc-payment-gateway-request.php
@@ -49,7 +49,7 @@ public function data_provider_for_test_get_prepared_payload(): array {
49
$txnref = 'WOOC_'.$order->get_id().'_TEST';
50
51
$data_to_join = array(
52
- 'amount' => $order->get_total(),
+ 'amount' => (float) $order->get_total(),
53
'currency' => $order->get_currency(),
54
'email' => $order->get_billing_email(),
55
'tx_ref' => $txnref,
0 commit comments