Documentation

RedsysService

Table of Contents

$redsysObject  : mixed
__construct()  : mixed
directPayment()  : mixed
paymentPayLoadDimacoRedsys()  : array<string|int, mixed>|JsonResponse
paymentPayLoadRedsys()  : mixed|void
recurrentPayment()  : string|void
retrievePaymentAppSimple()  : mixed
retrivePayment()  : mixed
retrivePaymentApp()  : mixed
sendPost()  : PromiseInterface|Response
serviceContractRedsysIdentifier()  : mixed
setRedsysData()  : array<string|int, string>
storeRedsysIdentifier()  : mixed
formatRedsysDate()  : mixed
sendSuccessInvoiceEmail()  : mixed
sendSuccessRecurrentEmail()  : mixed

Properties

Methods

__construct()

public __construct() : mixed
Return values
mixed

directPayment()

public directPayment(Request $request) : mixed
Parameters
$request : Request
Return values
mixed

paymentPayLoadDimacoRedsys()

public paymentPayLoadDimacoRedsys(Request $request[, mixed $urlSuccess = "redsys-payment-app" ][, mixed $urlError = "redsys-payment-error" ]) : array<string|int, mixed>|JsonResponse
Parameters
$request : Request
$urlSuccess : mixed = "redsys-payment-app"
$urlError : mixed = "redsys-payment-error"
Return values
array<string|int, mixed>|JsonResponse

paymentPayLoadRedsys()

public paymentPayLoadRedsys(mixed $data, mixed $amount[, string $description = "Prueba" ][, mixed $urlSuccess = "redsys-payment" ][, mixed $urlError = "redsys-payment-error" ]) : mixed|void
Parameters
$data : mixed
$amount : mixed
$description : string = "Prueba"
$urlSuccess : mixed = "redsys-payment"
$urlError : mixed = "redsys-payment-error"
Tags
throws
Exception
Return values
mixed|void

recurrentPayment()

public recurrentPayment(array<string|int, mixed> $data) : string|void
Parameters
$data : array<string|int, mixed>
Tags
throws
Exception
Return values
string|void

retrievePaymentAppSimple()

public retrievePaymentAppSimple(Request $request) : mixed
Parameters
$request : Request
Return values
mixed

retrivePayment()

public retrivePayment(Request $request) : mixed
Parameters
$request : Request
Return values
mixed

retrivePaymentApp()

public retrivePaymentApp(Request $request) : mixed
Parameters
$request : Request
Return values
mixed

sendPost()

public sendPost(array<string|int, mixed> $redsysData) : PromiseInterface|Response
Parameters
$redsysData : array<string|int, mixed>
Return values
PromiseInterface|Response

serviceContractRedsysIdentifier()

public serviceContractRedsysIdentifier(mixed $serviceContractId, array<string|int, mixed> $redsys_decode) : mixed
Parameters
$serviceContractId : mixed
$redsys_decode : array<string|int, mixed>
Return values
mixed

setRedsysData()

public setRedsysData(string $params, string $signature) : array<string|int, string>
Parameters
$params : string
$signature : string
Return values
array<string|int, string>

storeRedsysIdentifier()

public storeRedsysIdentifier(mixed $store_id, mixed $typePay, array<string|int, mixed> $redsys_decode) : mixed
Parameters
$store_id : mixed
$typePay : mixed
$redsys_decode : array<string|int, mixed>
Return values
mixed

formatRedsysDate()

private formatRedsysDate(mixed $redsysDate) : mixed
Parameters
$redsysDate : mixed
Return values
mixed

sendSuccessInvoiceEmail()

private sendSuccessInvoiceEmail(mixed $invoice) : mixed
Parameters
$invoice : mixed
Return values
mixed

sendSuccessRecurrentEmail()

private sendSuccessRecurrentEmail(Store $store) : mixed
Parameters
$store : Store
Return values
mixed

Search results