in my app I would like to test my Stripe form created with Stripe Elements. So I want to fill out the form with Panther ( https://github.com/symfony/panther ), but it seems totally impossible. Here’s an example of a Stripe form: https://stripe.dev/elements-examples/ For example, if I want to automatically fill in the field corresponding to the ..
After updating from Symfony 2.X to Symfony 4.4 and verifying the operation, I found that Twig does not recognize modal. Since it does not recognize modal, it will be displayed even when the code that is not displayed in modal in the if statement is displayed in modal. When I tried "if modal is empty", ..
I just started with the symfony framework I installed the environment without problem but when I run the symfony server for the first time with: symfony server: start I get an error like this [Web server] [07-Apr -2021 06:27:42 Europe / Berlin] 2021-04-07T06: 27: 42 + 02: 00 [critical] Error not caught: syntax error, "|" ..
i have a InspectionPlan Form Type which has a product EntityType field, (Products can have attributes i assign some by fixtures) however, the formtype also has a CollectionType Field for another entity called InspectionPlanSections, this uses a InspectionPlanSectionFormType which has a CollectionTypeField for an entity called InspectionPlanQuestions with a InspectionPlanQuestionFormType with allow_add’ => true and ..
Currently i create in api platform jwt token with custom symfony controller, provider and encode with JWTEncoderInterface, use authentification come from external api. I have users but not password in my database. How implement refresh token with that system? security.yml providers: # used to reload user from session & other features (e.g. switch_user) user_provider: id: ..
When I was verifying the operation of the app that was updated from Symfony 2.x to Symfony 4.4, the following error occurred. The function I was verifying was to enter the id "!" To be validated and verify that the validation works correctly. Half-width alphanumeric characters, underscores (_), hyphens (-), and dots (.) Can be ..
I have installed GOS Websocket on symfony 3.2, i made the minimal config to launch the server but i get the Fatal error: Uncaught SymfonyComponentConsoleExceptionLogicException: An option named "connection" already exists whenever i launch my server, event the server:run bugs. If anyone can help, thank you Source: Symfony..
I am making several loan calculators in Symfony 5, all are in my controller SimulatorController. The user is filling up / submitting a form in the View 1 and should land on View 2 where calculations results appear, along with a recpa of data entered in the form. So I have a first function in ..
I’m starting with API Platform and I have to refactor an old API that did not use API Platform. I’m using Symfony 5 and Doctrine, I exposed entities with annotation @Api Platform and I see CRUD operations on the API doc. But I have to customize several operations and I have some difficulties. First of ..
I am building a very simple billing system for a media company using Sonata that includes Payment entities for paying Reporters. The only purpose of a Payment is to be exported to a spreadsheet. We will never edit Payments directly. I have a bunch of special getters in my Payment entity that don’t correspond directly ..