# Stripe Plugin - How to get the error message when Convert card into Stripetoken failed

**URL:** <https://forum.bubble.io/t/stripe-plugin-how-to-get-the-error-message-when-convert-card-into-stripetoken-failed/43406>\
**Category:** Plugins\
**Created:** [November 27, 2018, 4:29pm UTC](https://forum.bubble.io/t/stripe-plugin-how-to-get-the-error-message-when-convert-card-into-stripetoken-failed/43406 "2018-11-27T16:29:26Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![smb4apps](https://avatars.discourse-cdn.com/v4/letter/s/e495f1/32.png) [@smb4apps](https://forum.bubble.io/u/smb4apps)\
**Post date:** [November 27, 2018, 4:29pm UTC](https://forum.bubble.io/t/stripe-plugin-how-to-get-the-error-message-when-convert-card-into-stripetoken-failed/43406/1 "2018-11-27T16:29:26Z")

</div>

Hi,

I am unable to get the error messages when there is an issue with credit card information. How to do that from the workflow?

I can see the failure when I logged in my stripe account but I don’t know how to capture the error from the workflow.

Thanks,

---

<div class="post-metadata">

**Author:** ![ryanellman](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/ryanellman/32/30341_2.png) [@ryanellman](https://forum.bubble.io/u/ryanellman)\
**Post date:** [November 27, 2018, 6:16pm UTC](https://forum.bubble.io/t/stripe-plugin-how-to-get-the-error-message-when-convert-card-into-stripetoken-failed/43406/2 "2018-11-27T18:16:38Z")

</div>

Which stripe plugin are you using: the one provided by Bubble or one of the community created plugins?

---

<div class="post-metadata">

**Author:** ![nikolai](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/nikolai/32/13582_2.png) [@nikolai](https://forum.bubble.io/u/nikolai)\
**Post date:** [November 27, 2018, 6:18pm UTC](https://forum.bubble.io/t/stripe-plugin-how-to-get-the-error-message-when-convert-card-into-stripetoken-failed/43406/3 "2018-11-27T18:18:06Z")

</div>

Hi @smb4apps - for Stripe.js plugin you need to add the When Stripetoken B couldn’t be created (see image below). I have a popup that opens in this example - you can do implement whatever message you’d like.

![image](https://us1.discourse-cdn.com/bubble/original/3X/d/7/d7dc08eb53543678a8c56be8dd49b88a1af5d799.png)

---

<div class="post-metadata">

**Author:** ![smb4apps](https://avatars.discourse-cdn.com/v4/letter/s/e495f1/32.png) [@smb4apps](https://forum.bubble.io/u/smb4apps)\
**Post date:** [November 27, 2018, 6:47pm UTC](https://forum.bubble.io/t/stripe-plugin-how-to-get-the-error-message-when-convert-card-into-stripetoken-failed/43406/4 "2018-11-27T18:47:23Z")

</div>

Thank @nikolai, I figured out by the time you posted the answer…you were very quick 😃.
