Hyvälaina
Project overview


The home page form does the maths first, then hands the borrower to the loan broker with the application already filled in.

Two sliders, one payment.
Custom calculator, written as its own WordPress plugin. Amount 500 to 70 000 € on a stepped scale, 500 € steps up to 20 000 €, then 1 000 €. Term 1 to 15 years. Monthly payment is a standard annuity at a rate set in the admin, recalculated as either slider moves.
Axo Group integration over their loan application API. The form posts to a WordPress REST endpoint, the server validates amount, term, email and phone, allows 5 tries per 10 minutes per address and sends the application to Axo. Axo returns a token, and their embedded form takes over on the application page.

Second broker: Sambla. The calculator keeps amount, term, email and phone in the browser session and the Sambla form opens with them filled in. Campaign and click IDs from the landing URL ride along. If the broker's script fails to load within 15 seconds, the page says so in Finnish and offers a retry.
One setting in the WordPress admin picks the broker, the other stays configured and ready. Built with Etch and AutomaticCSS.
What I delivered
- Custom loan calculator plugin
- Axo Group API integration
- Prefilled Sambla application
- Broker switch in the admin
- Etch and AutomaticCSS build


