Case Study
Designed and built Stripe-powered instalment payment plans with multi-currency minimum order thresholds, a subscription billing engine with automated lifecycle management, and Apple Pay & Google Pay digital wallet pass generation for member credentials.
GameDay's platform serves thousands of sporting organisations across Australia, New Zealand, the UK, and Asia-Pacific. Members pay registration fees that can range from $50 to several hundred dollars, and many participants - parents registering multiple children, officials covering annual fees - found the upfront cost a barrier to participation. Organisations were losing registrations because families couldn't afford to pay everything at once.
At the same time, organisations in the UK market were demanding subscription-based membership models to generate recurring revenue, and sporting federations internationally needed a way to issue digital member credentials that could be verified at events - replacing printed cards and manual eligibility checks.
The platform needed three interconnected capabilities: instalment payment plans that worked within the existing multi-party settlement infrastructure, a subscription billing engine for recurring memberships, and a digital wallet integration for member passes - all without disrupting the existing payment flow that processes $250M+ annually.
Instalment Payment & Subscription Architecture
I led the technical design and architecture for all three capabilities, running strategy sessions directly with Stripe's solutions team and coordinating cross-functional delivery across frontend, backend, and data teams. The solution was built to integrate seamlessly with the existing Stripe Connect payment infrastructure without disrupting the $250M+ in annual transaction volume already flowing through the platform.
I architected the instalment payment system on top of Stripe's Invoice Payment Plans API - a deliberate choice over building our own payment scheduling infrastructure. This approach gave us Stripe's automated collection capabilities, payment reminders, and hosted invoice pages while keeping processing fees lower than a fully custom solution.
I designed a hierarchical control model that mirrors how sporting governance works in practice. Instalment settings are form-based rather than product-based, following the same pattern I had previously established with the Openpay BNPL integration. A national body can "Allow" instalments at the top level, and affiliated clubs then choose whether to "Enable" them on their own registration forms. If the national body disables the setting, all downstream organisations lose the option automatically.
This cascading control mechanism ensures governance bodies maintain oversight while giving local organisations flexibility - a pattern that proved essential for adoption across our multi-tiered customer hierarchy.
Instalment plans are only available when the order total meets a currency-specific minimum threshold. I defined these thresholds based on market analysis and Stripe's processing economics to ensure the instalment model remains commercially viable across all our operating regions:
Each instalment plan follows an industry-standard structure aligned with PayPal Pay in 4 and Afterpay: 4 equal payments every 2 weeks, with the first instalment due on the order date. The Stripe Invoice Payment Plan is created at checkout, and Stripe handles automated collection of subsequent payments, reminder emails before due dates, and hosted payment pages for members to complete their instalments.
An additional processing fee is applied to instalment transactions to cover Stripe's per-instalment surcharge of 0.72%. I implemented this as a configurable Payment Fee Rule in the TFC engine, allowing the rate to be adjusted by realm or organisation hierarchy without code changes. The default instalment fee rule is set at 4.9% compared to the standard 3.9% for upfront payments.
Each instalment generates a separate transaction linked to the same parent order ID. Settlement items are created for each instalment payment as they are processed, with funds transferred to connected accounts via Stripe Connect and included in the weekly automated settlement payout. This ensures organisations receive their share of instalment payments on the same settlement cycle as upfront payments, without any manual reconciliation.
I designed the subscription billing system from the ground up to support recurring membership payments - a critical capability for the UK market where monthly direct debit memberships are the standard model for sports clubs. The system was built on Stripe Billing's subscription infrastructure with a custom scheduling layer for payment processing and member lifecycle management.
Subscription rules are defined at the product level, supporting Membership and Donation product types. I designed three subscription sub-types to cover the range of real-world use cases our organisations needed:
The engine supports six billing cycles: weekly, fortnightly, monthly, quarterly, biannual, and yearly. A daily cron job processes scheduled payments by querying the subscription_payments table for records due that day, creating new orders, settlement items, and transactions for each successful payment, then scheduling the next payment date.
I implemented a graduated retry strategy for failed subscription payments: first retry after 3 days, second retry after 5 days, and if the third attempt fails, the subscription is marked as failed with notifications sent to both the member and the organisation admin at each stage. This approach balances recovery rates with member experience - avoiding aggressive retry patterns that could frustrate users while still maximising successful collections.
The subscription system introduced four new database tables: subscription_product_rules (configuration per product), subscriptions (individual member subscription instances), subscription_payments (scheduled and completed payment records), and stripe_subscriptions_payment_log (Stripe payment intent tracking). Subscription rules are duplicated from the product to the subscription instance at purchase time, so product-level rule changes only affect new subscriptions, never existing ones.
Digital Wallet Pass Generation & Distribution Flow
I owned the technical specification and delivery of the digital wallet integration, enabling members to add event tickets and membership credentials directly to Apple Wallet and Google Pay from the GameDay mobile app. The system uses a class-object model where pass templates (classes) are created on demand the first time a member requests a pass, and individual pass instances (objects) are generated per member.
Apple passes are generated server-side using the passkit-generator Node.js package, which produces certificate-signed .pkpass files. The API endpoint receives member and event data, generates the pass with embedded QR code for eligibility verification, and returns the .pkpass file directly to the mobile app for import into Apple Wallet. Each pass is validated against Apple's PKPass specification before delivery.
Google Pay passes use the googleapis Node.js package to interact with Google's Pay Passes REST API. The implementation follows Google's class/object architecture - when a member first requests a pass, the service checks if the event class exists and creates one if it doesn't. This on-demand approach means we only create pass infrastructure for events that members actually engage with, avoiding unnecessary API calls for thousands of events that may never need digital passes.
For the Romanian Basketball Federation (FRB), I scoped and managed a YourPass integration with our Passport platform. This was a different model from the direct Apple/Google wallet approach - YourPass serves as a dedicated digital credential platform where FRB member data (Member ID, National ID, name, DOB, club, team, member types, and match official level) is pushed from Passport via API. YourPass then generates member credential cards accessible through the YourPass mobile app, with QR-based eligibility verification that match officials can scan to verify player registration status in real-time.
One of the most critical aspects of both instalment and subscription systems is handling payment failures gracefully. I designed a comprehensive failure management system that balances revenue recovery with member experience.
When an instalment payment fails, the system follows a structured recovery flow: one automatic retry is attempted, and if that fails, the instalment status changes from "Scheduled" to "Failed" while all future instalments are paused to "Paused" status. A notification email goes to the customer with an option to update their payment method, and a separate notification goes to the organisation admin with an option to cancel or void the order. When the member updates their payment method, the failed instalment reverts to "Scheduled", future instalments resume, and a retry is triggered the next day.
Subscriptions use a graduated retry strategy: first retry at 3 days, second at 5 days, and if the third attempt fails, the subscription is marked as failed. Members paying via an instalment or subscription plan are treated as "Paid and Active" from the first payment - if a subsequent payment is overdue, the admin decides whether to cancel the membership or keep the member active while the payment issue is resolved.
I implemented a critical business rule: subscription products and instalment payments cannot coexist in the same transaction. When a subscription product is added to the cart and instalments are enabled on the form, the instalment payment option is dynamically disabled. This prevents complex edge cases around mixed billing models and ensures clean order lifecycle management.
Instalment payments available across AUD, NZD, GBP, EUR, SGD, HKD, and USD markets with per-currency minimum order thresholds enforced at the form level.
Form-based instalment settings cascade through sporting hierarchies - national bodies control availability, local clubs choose enablement, matching real-world governance.
Full subscription billing supporting 6 billing cycles (weekly to yearly), 3 subscription sub-types, automated season assignment, and graduated payment retry logic.
Apple Wallet and Google Pay pass generation from the mobile app with on-demand class creation and QR-based eligibility verification at events.
Digital member credential cards for the Romanian Basketball Federation via YourPass API sync, enabling match officials to verify player eligibility in real-time.
Instalment and subscription payments flow through the existing Stripe Connect settlement engine - per-payment settlement items with automated weekly payouts to connected accounts.
I design and implement instalment payment systems and digital wallet integrations for platforms at scale.
Let's Talk