Covivo/mobicoop

View on GitHub
api/templates/communicationAlt/en/email/notification/identity_proof_rejected.html.twig

Summary

Maintainability
Test Coverage
{# CAREFUL : Some client might need to replicate this template #}
{% extends 'communicationAlt/fr/email/notification/base.html.twig' %}
{% set reasonId = context.paymentProfile.refusalReason %}
{% block body %}
<table style="width:480px; font-family:{{api_env('EMAILS_FONT')}}, sans-serif;" cellpadding="0" cellspacing="0" summary="" border="0">
    <tr style="margin-bottom:21px; margin-top:19px;">
        <td align="center">
            <table cellpadding="6" cellspacing="6" summary="" border="0">
                <tr>
                    <td align="center">
                        <p style="color:{{api_env('EMAILS_COLOR_PRIMARY')}}; font-size:20px;" text-align="center" ><b>ID document rejected.</b></p>
                    </td>
                </tr>
            </table>
        </td>
    </tr>
    <tr>
        <td align="center">
            <table style="width:100%;" cellpadding="4" cellspacing="4" summary="" border="0" >
                <tr>
                    <td style="width:22px">
                        <p> </p>
                    </td>
                    <td align="left">
                        <p style="font-size:11px; margin-bottom:16px;">Hello, </p>
                        <p style="font-size:11px;">Our payment provider MANGOPAY has refused your identity document for the following reason:</p>
                        <p style="font-size:11px;"><strong>{{ "reason#{reasonId}" |trans }}</strong></p>
                        <p style="font-size:11px;">We would like to remind you that :</p>
                        <ul>
                            <li style="font-size:11px; text-align: justify;">ID documents received must be of good visual quality, with no visible flashes or reflections, and with a fully legible MRZ band.</li>
                            <li style="font-size:11px; text-align: justify;">The front and back of your ID must be on the same file.</li>
                            <li style="font-size:11px; text-align: justify;">Finally, your first and last name on mobicoop.fr must be the same as on your ID.</li>
                        </ul>
                        <p style="font-size:11px;">To find out more about the conditions for validating identity documents,<a style="color:{{api_env('EMAILS_COLOR_SECONDARY')}}" href="https://support.mangopay.com/s/article/What-are-the-reasons-for-a-document-rejection?language=fr" title="">click here</a>.</p>
                    </td>
                </tr>
            </table>
        </td>
    </tr>
     <tr>
        <td style="height:15px">
            <p> </p>
        </td>
    </tr>
    <tr>
        <td>
            <table cellpadding="2" cellspacing="2" summary="" border="0">
                <tr>
                    <td style="width:23px">
                        <p> </p>
                    </td>
                    <td align="center" style="width:100%;">
                        <p style="font-size:11px;"><b style="color:{{api_env('EMAILS_COLOR_SECONDARY')}}">See you soon on Mobicoop</b></p>
                    </td>
                </tr>
            </table>
        </td>
    </tr>
    <tr>
        <td style="height:15px">
            <p> </p>
        </td>
    </tr>
</table>
{% endblock %}