Field Methods
getInvoice()
Return url to invoice from merchant of record (e.g. Paddle). Needs a correct orderTransactionId() from user order.
<?php foreach ( $user->orders() as $order ) : ?>
<?= $order->orderTransactionId()->getInvoice() ?>
<?php endforeach ?>
| Returns | string |
|---|