diff --git a/server/server_payments.go b/server/server_payments.go index 9af7a42..43e93c3 100644 --- a/server/server_payments.go +++ b/server/server_payments.go @@ -145,10 +145,8 @@ func (s *Server) handleAccountBillingSubscriptionCreate(w http.ResponseWriter, r Quantity: stripe.Int64(1), }, }, - Params: stripe.Params{ - Metadata: map[string]string{ - "user_id": u.ID, - }, + AutomaticTax: &stripe.CheckoutSessionAutomaticTaxParams{ + Enabled: stripe.Bool(true), }, } sess, err := s.stripe.NewCheckoutSession(params)