Skip to content

Commit

Permalink
Import tax components from sdk
Browse files Browse the repository at this point in the history
  • Loading branch information
isehrob-stripe committed Apr 22, 2024
1 parent 0b9bd05 commit 63de3e2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion client/routes/Tax.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import Typography from '@mui/material/Typography';
import {
ConnectTaxSettings,
ConnectTaxRegistrations,
} from '../components/internal/ConnectJsPrivateComponents';
} from '@stripe/react-connect-js';
import {useSession} from '../hooks/SessionProvider';
import {
EmbeddedComponentContainer,
Expand Down
6 changes: 6 additions & 0 deletions server/routes/stripe.ts
Original file line number Diff line number Diff line change
Expand Up @@ -500,6 +500,12 @@ app.post('/account_session', stripeAccountRequired, async (req, res) => {
card_spend_dispute_management: true,
},
},
tax_settings: {
enabled: true,
},
tax_registrations: {
enabled: true,
},
};

// TODO: Move up once payment_method_settings is in the beta SDK
Expand Down

0 comments on commit 63de3e2

Please sign in to comment.