At the moment, switching between the new and old fundraising app is not easy and may lead to lost payment transaction notifications because the URLs for the payment providers are different. The solution for this to use the URLs of the old application and use rewrite rules in the new application.
The rewrite rules are already deployed to the server configuration ( https://github.com/wmde/fundraising-infrastructure/tree/nginx-config) but not tested. We need to do the following steps:
- Change PayPal URLs to /spenden/paypal_handler.php in app/config/config.prod.json and if anything breaks, fix it in the rewrite rules (both on the server and in the infrastructure repo).
- Change the MCP URL in the MCP admin interface to /spenden/mcp-handler.php and if anything breaks, fix it in the rewrite rules (both on the server and in the infrastructure repo).
In both cases it would be ideal if the donation itself could be triggered by the old application (maybe by using the old application on the test server with the production config) and the notification processed by the new application. @kai.nissen do you think that's possible?