Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
1 | <?php |
2 | /** |
3 | * Friendly info table to display after the order is considered paid. |
4 | * |
5 | * @see \BrianHenryIE\WP_Bitcoin_Gateway\API_Interface::get_order_details() |
6 | * |
7 | * @var array<string, mixed> $args Associative array containing the result of `API_Interface::get_order_details()`, extracted into these variables: |
8 | * |
9 | * @var string $btc_logo_url // TODO |
10 | * @var string $payment_status 'Awaiting Payment'|'Partially Paid'|'Paid'. |
11 | * @var string $btc_address Destination payment address. |
12 | * @var string $btc_total Order total in BTC. |
13 | * @var string $btc_total_formatted Order total prefixed with "฿". |
14 | * @var string $btc_exchange_rate_formatted // TODO: Format it! The Bitcoin exchange rate with friendly thousand separators. |
15 | * @var string $btc_amount_received Amount received at the destination address so far. |
16 | * @var string $btc_amount_received_formatted Amount received prefixed with "฿". |
17 | * @var string $last_checked_time_formatted The last time a blockchain service was queried for updates to the payment address. |
18 | * |
19 | * @package brianhenryie/bh-wp-bitcoin-gateway |
20 | */ |
21 | |
22 | // TODO. |