Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
poolsar42 committed Jul 27, 2023
1 parent e22e9e1 commit b03909e
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions apps/console/app/routes/apps/$clientId/billing.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -738,17 +738,15 @@ export default () => {
useEffect(() => {
if (actionData) {
const { status, client_secret, payment_method, subId } = actionData
;(async () => {
await process3DSecureCard({
submit,
subId,
STRIPE_PUBLISHABLE_KEY,
status,
client_secret,
payment_method,
redirectUrl: `/apps/${appDetails.clientId}/billing`,
})
})()
process3DSecureCard({
submit,
subId,
STRIPE_PUBLISHABLE_KEY,
status,
client_secret,
payment_method,
redirectUrl: `/apps/${appDetails.clientId}/billing`,
})
}
}, [actionData])

Expand Down

0 comments on commit b03909e

Please sign in to comment.