Skip to content

Commit

Permalink
fix(bot): πŸš‘οΈ Stripe form isn't showing
Browse files Browse the repository at this point in the history
  • Loading branch information
baptisteArno committed Jun 16, 2022
1 parent 46900ac commit 0dd607b
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,9 @@ export const StripePaymentForm = ({ options, onSuccess }: Props) => {
description: error.name + ' ' + error.message,
details: error.message,
})
if (!data || !frameDocument || !frameWindow?.Stripe) return
if (!data || !frameDocument) return
await initStripe(frameDocument)
if (!frameWindow?.Stripe) return
setStripe(frameWindow.Stripe(data.publicKey))
setClientSecret(data.clientSecret)
setAmountLabel(data.amountLabel)
Expand Down

4 comments on commit 0dd607b

@vercel
Copy link

@vercel vercel bot commented on 0dd607b Jun 16, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 0dd607b Jun 16, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 0dd607b Jun 16, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

builder-v2 – ./apps/builder

builder-v2-typebot-io.vercel.app
builder-v2-git-main-typebot-io.vercel.app
app.typebot.io

@vercel
Copy link

@vercel vercel bot commented on 0dd607b Jun 16, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

landing-page-v2 – ./apps/landing-page

typebot.io
landing-page-v2-git-main-typebot-io.vercel.app
www.typebot.io
get-typebot.com
landing-page-v2-typebot-io.vercel.app
www.get-typebot.com

Please sign in to comment.