feat: implement checkout service and payment processing integration
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
namespace App\Domains\Integration\Services\Contracts;
|
||||
|
||||
interface PaymentProviderInterface
|
||||
{
|
||||
/**
|
||||
* Procesa un pago con las credenciales específicas del Tenant.
|
||||
*
|
||||
* @param array $paymentData Datos del pago, incluyendo el método (ej. qr, transferencia).
|
||||
* @param array $credentials Credenciales encriptadas previamente configuradas por el Tenant.
|
||||
* @return array
|
||||
*/
|
||||
public function process(array $paymentData, array $credentials): array;
|
||||
}
|
||||
Reference in New Issue
Block a user