Payment Provider
PostFinance Checkout
https://github.com/dachcom-digital/payum-postfinance-flex
Override the lightbox view:
# config/packages/twig.yaml
twig:
paths:
'%kernel.project_dir%/templates/bundles/PayumPostFinanceFlex': PayumPostFinanceFlex
# backend/app/templates/bundles/PayumPostFinanceFlex/action/lightbox.html.twig
{
"javascriptUrl": "{{ javascriptUrl }}",
"transactionId": "{{ transactionId }}"
}
Entity Lock
If you want to use the entity lock feature (recommended), add the OptimisticLockedInterface to the order object!