<p>Hey there</p>

<p>We have great news! You received {{payment_total}} from {{customer_name}} ({{customer_user_email}}) for {{payment_product_names}}.</p>

<p><a href="{{payment_invoice_url}}" style="text-decoration: none;" rel="nofollow">Download Invoice</a></p>

<h2><b>Payment</b></h2>

<table cellpadding="0" cellspacing="0" style="width: 100%; border-collapse: collapse;">
  <tbody>
    <tr>
      <td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b>Products</b></td>
      <td style="padding: 8px; background: #fff; border: 1px solid #eee; border: 1px solid #eee;">
        {{payment_product_names}}
      </td>
    </tr>
    <tr>
      <td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b>Subtotal</b></td>
      <td style="padding: 8px; background: #fff; border: 1px solid #eee;">
        {{payment_subtotal}}
      </td>
    </tr>
    <tr>
      <td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b>Tax</b></td>
      <td style="padding: 8px; background: #fff; border: 1px solid #eee;">
        {{payment_tax_total}}
      </td>
    </tr>
    <tr>
      <td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b>Total</b></td>
      <td style="padding: 8px; background: #fff; border: 1px solid #eee;">
        {{payment_total}}
      </td>
    </tr>
    <tr>
      <td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b>Paid with</b></td>
      <td style="padding: 8px; background: #fdfdfd; border: 1px solid #eee;">{{payment_gateway}}</td>
    </tr>
    <tr>
      <td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b>ID</b></td>
      <td style="padding: 8px; background: #fdfdfd; border: 1px solid #eee;">
        <a href="{{payment_manage_url}}" style="text-decoration: none;" rel="nofollow">{{payment_id}}</a>
      </td>
    </tr>
    <tr>
      <td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b>Reference Code</b></td>
      <td style="padding: 8px; background: #fdfdfd; border: 1px solid #eee;">
        <a href="{{payment_manage_url}}" style="text-decoration: none;" rel="nofollow">{{payment_reference_code}}</a>
      </td>
    </tr>
    <tr>
      <td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b>Processed at</b></td>
      <td style="padding: 8px; background: #fff; border: 1px solid #eee;">{{payment_date_created}}</td>
    </tr>
    <tr>
      <td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9;"><b>Invoice</b></td>
      <td style="padding: 8px; background: #fdfdfd; border: 1px solid #eee;">
        <a href="{{payment_invoice_url}}" style="text-decoration: none;" rel="nofollow">
          Download PDF        </a>
      </td>
    </tr>
    <tr>
      <td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b>Type</b></td>
      <td style="padding: 8px; background: #fff; border: 1px solid #eee;">Initial Payment</td>
    </tr>
    <tr>
      <td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b>Admin Panel</b></td>
      <td style="padding: 8px; background: #fff; border: 1px solid #eee;">
        <a href="{{payment_manage_url}}" style="text-decoration: none;" rel="nofollow">Go to Payment &rarr;</a>
      </td>
    </tr>
  </tbody>
</table>

<h2><b>Membership</b></h2>

<table cellpadding="0" cellspacing="0" style="width: 100%; border-collapse: collapse;">
  <tbody>
    <tr>
      <td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b>Amount</b></td>
      <td style="padding: 8px; background: #fff; border: 1px solid #eee;">
        {{membership_description}}
      </td>
    </tr>
    <tr>
      <td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b>Initial Amount</b></td>
      <td style="padding: 8px; background: #fff; border: 1px solid #eee;">
        {{membership_initial_amount}}
      </td>
    </tr>
    <tr>
      <td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b>ID</b></td>
      <td style="padding: 8px; background: #fdfdfd; border: 1px solid #eee;">
        <a href="{{membership_manage_url}}" style="text-decoration: none;" rel="nofollow">{{membership_id}}</a>
      </td>
    </tr>
    <tr>
      <td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b>Reference Code</b></td>
      <td style="padding: 8px; background: #fdfdfd; border: 1px solid #eee;">
        <a href="{{membership_manage_url}}" style="text-decoration: none;" rel="nofollow">{{membership_reference_code}}</a>
      </td>
    </tr>
    <tr>
      <td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b>Expiration</b></td>
      <td style="padding: 8px; background: #fff; border: 1px solid #eee;">{{membership_date_expiration}}</td>
    </tr>
    <tr>
      <td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b>Admin Panel</b></td>
      <td style="padding: 8px; background: #fff; border: 1px solid #eee;">
        <a href="{{membership_manage_url}}" style="text-decoration: none;" rel="nofollow">Go to Membership &rarr;</a>
      </td>
    </tr>
  </tbody>
</table>

<h2><b>Customer</b></h2>

<table cellpadding="0" cellspacing="0" style="width: 100%; border-collapse: collapse;">
  <tbody>
    <tr>
      <td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b>Customer</b></td>
      <td style="padding: 8px; background: #fff; border: 1px solid #eee;">
        {{customer_avatar}}<br />
        {{customer_name}}
      </td>
    </tr>
    <tr>
      <td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b>Email Address</b></td>
      <td style="padding: 8px; background: #fff; border: 1px solid #eee;">
        <a href="mailto:{{customer_user_email}}" style="text-decoration: none;" rel="nofollow">{{customer_user_email}}</a>
      </td>
    </tr>
    <tr>
      <td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b>ID</b></td>
      <td style="padding: 8px; background: #fdfdfd; border: 1px solid #eee;">
        <a href="{{customer_manage_url}}" style="text-decoration: none;" rel="nofollow">{{customer_id}}</a>
      </td>
    </tr>
    <tr>
      <td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b>Billing Address</b></td>
      <td style="padding: 8px; background: #fdfdfd; border: 1px solid #eee;">{{customer_billing_address}}</td>
    </tr>
    <tr>
      <td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b>Admin Panel</b></td>
      <td style="padding: 8px; background: #fff; border: 1px solid #eee;">
        <a href="{{customer_manage_url}}" style="text-decoration: none;" rel="nofollow">Go to Customer &rarr;</a>
      </td>
    </tr>
  </tbody>
</table>
