Skip to content

Enable tax ID collection on course/product checkout#291

Merged
simonhamp merged 1 commit intomainfrom
enable-tax-id-checkout
Mar 20, 2026
Merged

Enable tax ID collection on course/product checkout#291
simonhamp merged 1 commit intomainfrom
enable-tax-id-checkout

Conversation

@simonhamp
Copy link
Member

Summary

  • Added tax_id_collection and customer_update params to the course checkout Stripe session in routes/web.php, matching the existing cart checkout configuration
  • Added test assertions to verify these params are passed to Stripe

Context

The cart checkout (CartController) already enabled tax ID collection, but the course/product checkout created its own Stripe session without it. Businesses could not provide their tax IDs during course purchases.

Test plan

  • Existing CoursePageTest passes with new assertions for tax_id_collection and customer_update

Add tax_id_collection and customer_update to the Stripe checkout session
for course purchases, matching the existing cart checkout configuration.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@simonhamp simonhamp marked this pull request as ready for review March 20, 2026 22:21
@simonhamp simonhamp merged commit e0510c6 into main Mar 20, 2026
2 checks passed
@simonhamp simonhamp deleted the enable-tax-id-checkout branch March 20, 2026 22:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant