{% set payments = submission.getPayments() %}

<strong>{{ 'Provider' | t }}: </strong>{{ integration.displayName() }}<br>

{% if payments %}
    {% set payment = payments | last %}

    <strong>{{ 'Status' | t }}: </strong>{{ payment.status | title | t }}<br>
    <strong>{{ 'Amount' | t }}: </strong>{{ payment.amount | currency(payment.currency) }} {{ payment.currency | upper }}<br>
    <strong>{{ 'Transaction Reference' | t }}: </strong>{{ payment.reference }}<br>
    <strong>{{ 'Transaction URL' | t }}: </strong>https://www.paypal.com/activity/payment/{{ payment.reference }}<br>
{% endif %}