InteractiveRequestListenerwas renamed toReplyToHttpResponseListener. The container service and related parameter was changed too. Now it takes replies and convert that to http response.- The
Requestpostfix was removed.
GetHttpQueryActionwas removed. UseGetHttpRequestActionfrom the bridge.ResponseInteractiveRequestwas removed. Use one from the bridge.
-
Minimum Symfony 2.3 version required.
-
Payment factory does not create action services any more. Instead, it uses actions defined in payment/foo.xml by tag.
-
Payment factories configurations were simplified. Sub options
api.optionswere moved to the root, section was removed.before:
payum: a_context: a_factory: api: options: foo: foo bar: bar
after:
payum: a_context: a_factory: foo: foo bar: bar
-
be2billpayment factory does not provide support of onsite payments any more, usebe2bill_onsitefactory instead. -
[config]
storagessection inside a context was removed. Use newstoragessection in the rootpayum(by default storages are added to all payments). Here's how to migrate example:before:
payum: a_context: a_factory: storages: Acme\PaymentBundle\Entity\PaymentDetails: doctrine: driver: orm
after:
payum: storages: Acme\PaymentBundle\Entity\PaymentDetails: payment: contexts: [a_factory] doctrine: orm a_context: a_factory:
-
[factory] The signature of
StorageFactoryInterface::createmethod was changed. SecondcontextNameand fourthpaymentIdarguments were removed.
TokenFactory::createTokenForRoutewas renamed tocreateToken.
-
AbstractPaymentFactory::addCommonExtensions method signature has been changed.
-
AbstractPaymentFactory::addCommonActions method signature has been changed.
-
TokenManagerwas removed. Its work was partially moved toTokenFactoryandHttpRequestVerifier. -
CaptureTokenizedDetailsRequestwas removed, usePayum\Request\SecuredCaptureRequestinstead. -
captureurl was changed if you still want use old one addpayum_deprecated_capture_do. -
notifyurl was changed if you still want use old one addpayum_deprecated_notify_do. -
syncurl was changed if you still want use old one addpayum_deprecated_sync_do. -
bundle configuration was changed. Now you have to configure
payum.securitysection.before:
payum: contexts: foo: storages: Acme\PaymentBundle\Entity\TokenizedDetails: filesystem: storage_dir: %kernel.root_dir%/Resources/payments id_property: token
after:
payum: security: token_storage: Acme\PaymentBundle\Entity\PayumSecurityToken: filesystem: storage_dir: %kernel.root_dir%/Resources/payments id_property: hash
- Storage factory names has been changed. The
_storagepost fix removed. For exampledoctrine_storagenowdoctrine. - Payment factory names has been changed. The
_paymentpost fix removed. For exampleomnipay_paymentnowomnipay. StorageFactoryInterface::createmethod signature has been changed. Now it requires additional parametermodelClass.- Doctrine storage configuration does not have
model_classoption any more. - Filesystem storage configuration does not have
model_classoption any more. LazyContextwas removed in favor ofContainerAwareRegistry.ContextInterfacewas removed in favor ofContainerAwareRegistry.ContextRegistrywas removed in favor ofContainerAwareRegistry.payumservice now instance ofContainerAwareRegistryclass. So the methodgetContextis not present any more.
capture_interactive_controlleroption removed from config. NowInteractiveRequestListenerdoes the job.status_request_classoption was removed.capture_finished_controlleroption was removed.ContextInterface::createStatusRequestmethod was removed.ContextInterface::getCaptureFinishedControllermethod was removed.CaptureControllerwas removed. Use your own.
- The option
payum.context.a_context.xxx_payment.create_instruction_from_model_actionwas removed. use...actionsinstead. CaptureController::doCapturemethod argumentmodelIdwas renamed tomodel. The route is also updated.