Download the PHP package italiamultimedia/xpay without Composer
On this page you can find all versions of the php package italiamultimedia/xpay. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download italiamultimedia/xpay
More information about italiamultimedia/xpay
Files in italiamultimedia/xpay
Download italiamultimedia/xpay
More information about italiamultimedia/xpay
Files in italiamultimedia/xpay
Vendor italiamultimedia
Package xpay
Short Description A PHP component/library.
License MIT
Homepage https://github.com/italiamultimedia/xpay
Package xpay
Short Description A PHP component/library.
License MIT
Homepage https://github.com/italiamultimedia/xpay
Please rate this library. Is it a good library?
Informations about the package xpay
italiamultimedia/xpay
An XPay (Nexi) implementation.
Currently implemented functionality:
Pagamento semplice
Extend class AbstractSimplePaymentService
- implement
SimplePaymentServiceInterface
:createCancelUrl
;createNotificationUrl
;createReturnUrl
;
Extend class AbstractRequestInputService
- optionally implement your own validation rules;
Payment request
Return page
Pagamento ricorrente
Extend class AbstractRecurringPaymentService
- implement
RecurringPaymentServiceInterface
:createCancelUrl
;createNotificationUrl
;createReturnUrl
;
Extend class AbstractRequestInputService
- optionally implement your own validation rules;
- see the same section in "Pagamento semplice"
First payment: Payment request
First payment: Return page
- see the same section in "Pagamento semplice"
Subsequent payments
- Use
SubsequentPaymentService
, methodexecuteSubsequentPayment(string $numeroContratto, float $orderTotal, string $scadenza): AbstractResponseData
. - Can also use
SubsequentPaymentService
.getResponse
, returnsPsr\Http\Message\ResponseInterface
if run afterexecuteSubsequentPayment
, null otherwise. - Check if the result is
PositiveResponseData
orNegativeResponseData
and act accordingly.
Development
All versions of xpay with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.3
fig/http-message-util Version ^1
psr/http-client Version ^1.0
psr/http-factory Version ^1
psr/log Version ^3
webservco/data Version ^0
fig/http-message-util Version ^1
psr/http-client Version ^1.0
psr/http-factory Version ^1
psr/log Version ^3
webservco/data Version ^0
The package italiamultimedia/xpay contains the following files
Loading the files please wait ....