{% set status = 'unknown' %} {% if payment and payment.status %} {% set status = payment.status %} {% endif %}