Rebuild Stripe payment processing foundation in Laravel #1
Labels
No labels
automated
code-quality
component: admin dashboard
component: backend
component: billing
component: content management
component: faqs
component: game genres
component: game lists
component: game reviews
component: game search
component: games
component: internal notifications
component: platforms
component: security
component: tests
component: user api
component: user badges
component: user blogs
component: user consoles
component: user favorites
component: user friends
component: user notifications
component: user profiles
component: user site notifications
component: user wishlists
component: web design
dependencies
php
priority
high
priority
low
priority
medium
security-hotspot
source: codex
source: sonarqube
status
awaiting feedback
status
backlog
status
done
status
in progress
status
in queue
status
in review
status
needs codex review
status
needs investigation
status
wontfix
type: bug
type: documentation
type: feature
type: improvement
type: regression
type: task
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
MyVideoGameList/myvideogamelist.com#1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Stripe payment processing needs to be rebuilt in Laravel so MyVideoGameList can support donations now and paid account features later.
The current Laravel checkout does not have Stripe routes, controllers, configuration, SDK dependencies, checkout handling, webhook handling, or payment views wired up yet. Users do have a legacy
stripe_idfield, and the donation rebuild issue will depend on a safe Stripe foundation. This issue tracks establishing the Stripe integration pattern, configuration, checkout/session flow, webhook handling, and test coverage needed for donations and future subscriptions.Scope
Acceptance Criteria
Test Coverage Required
vendor/bin/pint --dirtybefore closing the issue.Progress Checklist
users.stripe_idfield existsThis has been built into our donation system and it's very easy to use! It should be simple to get it integrated with paid accounts. We can likely use multiple buttons with differing amounts.
Somewhat related. I got this when I subscribed to wowhead.com and I liked the "template":
Utilize Stripe for Payment Processingto Rebuild Stripe payment processing foundation in LaravelImplemented in
34366de(Build Stripe donation and billing foundation).Notes for follow-up work:
App\Models\UserusingBillableand the legacyusers.stripe_idkept as the customer identifier.STRIPE_KEY,STRIPE_SECRET,STRIPE_WEBHOOK_SECRET,CASHIER_CURRENCY, donation settings, andSTRIPE_PAID_ACCOUNT_PRICE_ID/STRIPE_PAID_ACCOUNT_SUBSCRIPTION_TYPEfor future paid accounts.Verification:
php artisan test --compact tests/Feature/BillingFoundationTest.php tests/Feature/DonationTest.phppassed: 21 tests, 102 assertions.php artisan test --compact tests/Feature/RecentGamerUpdatesPageTest.phppassed: 9 tests, 85 assertions.git diff --checkpassed.