Currently, when a search is executed, the external payment service is automatically called via the method dependency injection mechanism. This has two problems:
It is hard coded to submit the filing code for search, which will not be helpful for registrations
Payment is called before the method is executed, in parallel with schema validation. This means that a payment may be submitted for an invalid request.
Refactor the payment implementation to correct these issues.
Currently, when a search is executed, the external payment service is automatically called via the method dependency injection mechanism. This has two problems:
Refactor the payment implementation to correct these issues.