Implement Stripe Phase 2
This commit is contained in:
@@ -201,12 +201,17 @@ const OrderConfirmation = () => {
|
||||
<div className="flex items-center text-blue-800">
|
||||
<CheckCircle className="w-5 h-5 mr-2" />
|
||||
<span className="font-medium">
|
||||
Pago procesado via {orderData.paymentInfo.method === 'credit_card' ? 'Tarjeta de Crédito' : orderData.paymentInfo.method}
|
||||
Pago procesado via {
|
||||
orderData.paymentInfo.method === 'credit_card' ? 'Tarjeta de Crédito' :
|
||||
orderData.paymentInfo.method === 'paypal' ? 'PayPal' :
|
||||
orderData.paymentInfo.method === 'bank_transfer' ? 'Transferencia Bancaria' :
|
||||
'Efectivo'
|
||||
}
|
||||
</span>
|
||||
</div>
|
||||
{orderData.paymentInfo.cardLast4 && (
|
||||
<p className="text-sm text-blue-700 mt-1">
|
||||
Tarjeta terminada en {orderData.paymentInfo.cardLast4}
|
||||
{orderData.paymentInfo.paymentIntentId && (
|
||||
<p className="text-xs text-blue-700 mt-2 font-mono">
|
||||
ID de Transacción: {orderData.paymentInfo.paymentIntentId}
|
||||
</p>
|
||||
)}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user