Download the PHP package rodgermd/sofort2-bundle without Composer
On this page you can find all versions of the php package rodgermd/sofort2-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download rodgermd/sofort2-bundle
More information about rodgermd/sofort2-bundle
Files in rodgermd/sofort2-bundle
Download rodgermd/sofort2-bundle
More information about rodgermd/sofort2-bundle
Files in rodgermd/sofort2-bundle
Vendor rodgermd
Package sofort2-bundle
Short Description Symfony 2 bundle for sofort payment PHP library
License MIT
Homepage https://github.com/rodgermd/sofort2-bundle
Package sofort2-bundle
Short Description Symfony 2 bundle for sofort payment PHP library
License MIT
Homepage https://github.com/rodgermd/sofort2-bundle
Please rate this library. Is it a good library?
Informations about the package sofort2-bundle
sofort2-bundle
Symfony2 Bundle for Sofort PHP Library 2.x
Installation
Add bundle
AppKernel.php:
Add controller routing
routing.yml:
Optionally add test config key
parameters.yml
Usage
Manager
request create transaction
When calling $manager->createTransaction($model), the 'sofort.transaction.created' event is fired with TransactionCreateEvent argument.
The argument contains $response and $transactionId properties
request transaction details
The $response is ant instance of SofortLibTransactionData.
On successfull details retrieve, the event SofortEvents::DETAILS is fired with TransactionDetailsEvent as argument
SofortLibTransactionData methods available:
- getAmount
- getAmountRefunded
- getCount
- getPaymentMethod
- getConsumerProtection
- getStatus
- getStatusReason
- getStatusModifiedTime
- getLanguageCode
- getCurrency
- getTransaction
- getReason
- getUserVariable
- getTime
- getProjectId
- getRecipientHolder
- getRecipientAccountNumber
- getRecipientBankCode
- getRecipientCountryCode
- getRecipientBankName
- getRecipientBic
- getRecipientIban
- getSenderHolder
- getSenderAccountNumber
- getSenderBankCode
- getSenderCountryCode
- getSenderBankName
- getSenderBic
- getSenderIban
All versions of sofort2-bundle with dependencies
PHP Build Version
Package Version
Requires
rodgermd/sofort2-lib Version
@stable
The package rodgermd/sofort2-bundle contains the following files
Loading the files please wait ....