{% extends 'base.html.twig' %} {% block title %}Administration PayPal - AEF{% endblock %} {% block body %}
Paiements total
Montant total
En attente
Échoués
| ID PayPal | Objet | Acheteur | Vendeur | Montant | Statut | Date | Actions |
|---|---|---|---|---|---|---|---|
|
{{ payment.paypalPaymentId }}
{% if payment.paypalOrderId %}
Commande: {{ payment.paypalOrderId }}
{% endif %}
|
{% if payment.item %}
{% if payment.item.images|length > 0 %}
{% else %}
Objet supprimé
{% endif %}
{{ payment.item.title }}
{{ payment.item.category.name ?? 'Non classé' }}
|
{{ payment.buyerName }}
{{ payment.buyerEmail }}
|
{% if payment.seller %}
{{ payment.seller.fullName }}
{{ payment.seller.email }}
{% else %}
Vendeur supprimé
{% endif %}
|
{{ payment.amount|number_format(2, ',', ' ') }}€
{% if payment.fee %}
Frais: {{ payment.fee|number_format(2, ',', ' ') }}€
{% endif %}
|
{% set status_class = {
'completed': 'bg-success',
'pending': 'bg-warning',
'failed': 'bg-danger',
'cancelled': 'bg-secondary',
'refunded': 'bg-info'
} %}
{{ payment.status|trans }}
{% if payment.failureReason %}
{{ payment.failureReason }}
{% endif %}
|
{{ payment.createdAt|date('d/m/Y H:i') }}
{% if payment.completedAt %}
Complété: {{ payment.completedAt|date('d/m/Y H:i') }}
{% endif %}
|
Les paiements PayPal apparaîtront ici une fois effectués.