getOrderByNumber
Get a specific PayPal Order by number to handle it in your templates.
{% set number = "MFsC3955Mz3O" %}
{% set order = craft.paypalButton.getOrderByNumber(number) %}
<h1>Order: {{number}}</h1>
<h2>Date Ordered: {{ order.dateOrdered|date() }}</h2>
<h2>Total: {{ order.totalPrice|currency(order.currency) }} </h2>
<h2>Variants</h2>
{% set variants = order.getVariants() %}
{% for key, variant in variants %}
{{ key }} : {{ variant }}
<br>
{% endfor %}