BREAKING CHANGES:
Added type hint for logger argument
Changed computop paygate url Changed repository name to origammi/*
Changed computop paygate url Changed repository name to origammi/*
Changed the naming of environment in HttpsSaferpayEndpoint.php to testmode as before it was misleading and could have meant the symfony environment.
This release introduces an $environment variable for HttpsSaferpayEndpoint.php. If the environment is 'test', the payment information will be sent to the testing API 'https://test.saferpay.com/hosting/'.
To adapt the environment variable in your project, follow these steps:
composer.json, make sure that version 2.0.x is used "astina/payment-bundle": "~2.0"`services.xml where you define the SaferpayEndpoint service, add the environment as argument:
<service id="astina_payment.saferpay.endpoint" class="%astina_payment.saferpay.endpoint.class%"> <argument type="service" id="logger" /> <argument>%astina_payment.saferpay.accountId%</argument> <argument>%astina_payment.saferpay.password%</argument> <argument>%astina_payment.saferpay.environment%</argument> </service>parameters.yml, set the environment to either test or production.parameters.yml.dist, don't forget to set the default value astina_payment.saferpay.environment: test.Revert changes for HttpsSaferpayEndpoint introduced in versions 1.1.17 and 1.1.18 as this is a breaking change. This change will be released in a new major version 2.0.0
How can I help you explore Laravel packages today?