PSD2
Designed around the PSD2 rules for payment initiation from the start, not added at the end.
Case study · Fintech MVP · Wonderful Payments
The MVP of a Laravel payment gateway that lets customers pay straight from their bank account — integrated with 18+ UK banks and designed for PSD2 and Strong Customer Authentication from the ground up.
Open Banking lets a customer pay a business directly from their bank account, without a card. The payment is started through each bank's payment initiation (PISP) API and the customer approves it inside their own banking app or website.
The catch is that every bank implements the standard in its own way, and every payment has to meet strict rules: PSD2 regulation, Strong Customer Authentication, and GDPR for the customer data passing through. The goal was a single, reliable gateway that hides all of that behind one consistent payment flow.
The gateway started life as a vanilla PHP application. Once that version was working, I moved everything across to Laravel — the bank integrations, the payment lifecycle, the OAuth 2.0 and SCA handling, and the customer-facing interface — so the MVP ended up on a single, consistent framework.
Customer → Business
At checkout, the customer picks their bank instead of entering card details.
Business → Gateway
The gateway receives the request, validates it and records it before anything is sent to a bank.
Gateway → Bank
Using OAuth 2.0, the gateway sets up the payment through that bank's PISP API.
Customer ↔ Bank
The customer is sent to their own bank, logs in and approves the payment with Strong Customer Authentication.
Bank → Gateway
The bank returns the customer, and the gateway picks up the result and carries the payment forward.
Gateway ↔ Bank
The gateway keeps watching the payment until it reaches a final state.
Gateway → Business + Customer
Webhooks update the business's system and automated notifications go out to the customer.
Laravel gateway
Designed around the PSD2 rules for payment initiation from the start, not added at the end.
Bank access through OAuth 2.0, with every payment approved by the customer using Strong Customer Authentication.
End-to-end data encryption and two-factor authentication to protect customer data.
Detailed audit and error logging, so every payment and problem can be traced afterwards.
For each bank, I worked directly with its technical team to validate the integration and resolve any compatibility issues. API changes were tested in Postman, and bugs raised during QA were fixed as part of the sprint.
Day to day, I took part in daily stand-ups and sprint planning with the team, working remotely for a London-based company.
Before a payments product like this can launch in the UK, the company needs approval from the Financial Conduct Authority (FCA). With the MVP complete, the next step was waiting on that authorisation — a long process that was slowed further by COVID.
Details are kept high-level to respect the confidentiality of the company and its partner banks.