getAllOrders
Get all PayPal Orders to handle it in your templates.
{% set orders = craft.paypalButton.getAllOrders() %}
<h1>Orders</h1>
<ul>
{% for order in orders %}
{% set button = order.getButton() %}
<li>
Number: {{ order.number }}
Item: {{ button.name }}
</li>
{% endfor %}
</ul>