Add country and payout currency to developer onboarding#296
Merged
Conversation
Collect the developer's country and preferred payout currency during Stripe Connect onboarding. This ensures Express accounts are created with the correct country parameter and enables multi-currency payouts for European/EEA countries. - Add country (108 Stripe-supported countries) and payout_currency fields to developer_accounts table - Add StripeConnectCountries support class with country data, currency names, and validation methods - Update Livewire Onboarding component with reactive country/currency selection - Use Flux Pro searchable listbox for the country dropdown - Display currency names (e.g. "US Dollar (USD)") in the currency select - Request card_payments capability alongside transfers to support all countries including cross-border (fixes JP account creation error) - Add comprehensive validation in DeveloperOnboardingController - Pass country to Stripe Connect account creation - Use developer's payout_currency for transfers instead of hardcoded USD - Install livewire/flux-pro for searchable select component - Update CLAUDE.md with correct dependency versions (Filament v5, Livewire v4, PHP 8.4.19) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Configure Flux Pro Composer auth in GitHub Actions workflows using FLUX_EMAIL and FLUX_LICENSE_KEY secrets - Remove duplicate onboarding incomplete message from hero card text - Move warning callout to top of page for better visibility Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
card_paymentscapability alongsidetransfersto support all countries including cross-border (fixes JP/cross-border account creation error)livewire/flux-profor the searchable select componentKey changes
countryandpayout_currencycolumns todeveloper_accountsStripeConnectCountries: New support class with 108 countries, currency names, and validationOnboardingLivewire component: Reactive country/currency selection with auto-default currencyDeveloperOnboardingController: Validates country/currency, passes to Stripe account creationStripeConnectService: Passes country to Stripe, uses payout currency for transfers, addscard_paymentscapabilityTest plan
🤖 Generated with Claude Code