Releases: psrpinto/paymill-bundle
Releases · psrpinto/paymill-bundle
Rename Util to PaymillUtil
Rename the 'assets' directory to 'public'
The Resources/assets directory has been renamed Resources/public, as per Symfony's coding standards. If you're overriding Resources/views/init.html.twig (through the memeoirs_paymill.initialize_template configuration) but still use the javascript assets provided by the bundle, you need to change the way you reference those assets:
{# before #}
{% javascripts
'@MemeoirsPaymillBundle/Resources/assets/js/jquery.payment.js'
'@MemeoirsPaymillBundle/Resources/assets/js/CreditCardForm.js'
%}
<script src="{{ asset_url }}"></script>
{% endjavascripts %}
{# after #}
<script src="{{ asset('bundles/memeoirspaymill/js/jquery.payment.js') }}"></script>
<script src="{{ asset('bundles/memeoirspaymill/js/CreditCardForm.js') }}"></script>
In addition, if you're referencing paymill.css:
{# before #}
{% stylesheets '@MemeoirsPaymillBundle/Resources/assets/css/paymill.css' %}
<link rel="stylesheet" type="text/css" href="{{ asset_url }}" />
{% endstylesheets %}
{# after #}
<link rel="stylesheet" type="text/css" href="{{ asset('bundles/memeoirspaymill/css/paymill.css') }}">
New Translations, Pass options to form
Translations, tests and PSR fixes
- Swedish translations
- PSR-2 and PSR-3 fixes
- Setup unit tests
Fix regression when validating non-paymill forms
v0.2.5 Fix regression when validating form
Bugfixes
Allow upgrades of jms payment bundle
v0.2.3 Fix issue #9: Allow upgrades of jms payment bundle
Webhooks and bugfixes
v0.2.2 Fix issue #8
Rename getForm to getPaymillForm. Do not validate the form if the payment method is not paymill.
v0.2.1 Rename getForm to getPaymillForm. Do not validate the form if the pay…
Ajax form submission, console commands and better error handling
v0.2.0 Submit the form using Ajax. Introduce an abstract PaymillController. …