N8N x Stripe Payment - Create Token

Describe the problem/error/question

Whether I’m running my Stripe Payment workflow in PROD or DEV, I always get stuck on the same node (Create token).

I’m 100% check my keys, stripes logs and the instructions on this tutorial

Otherwise, everything looks good… but i can’t pass this Create Token node.

Am I missing something? any idea would be appreciated.

What is the error message (if any)?

ERROR: Payment required - perhaps check your payment details?
Sending credit card numbers directly to the Stripe API is generally unsafe. To continue processing use Stripe.js, the Stripe mobile bindings, or Stripe Elements. For more information, see Stripe Login | Sign in to the Stripe Dashboard. If you are qualified to handle card data directly, see Enabling access to raw card data APIs : Stripe: Help & Support.

TEST mode:
ERROR: Payment required - perhaps check your payment details?
Sending credit card numbers directly to the Stripe API is generally unsafe. We suggest you use test tokens that map to the test card you are using, see Test payment methods | Stripe-Dokumentation. To enable raw card data APIs in test mode, see Enabling access to raw card data APIs : Stripe: Help & Support.

Information on your n8n setup

  • **n8n version:0.217.2
  • **Operating system:Ubuntu

Hi @TerryMAO, Payment required would be an error coming from Stripe, a system I am not overly familiar with. Can you share a dummy workflow demonstrating the problem to understand what exactly you’re currently doing?

Also, can you verify if upgrading to the latest n8n version changes the behaviour? Error handling is generally better in more recent versions, though I haven’t tested this for Stripe specifically yet. It still seems worth a shot seeing your current n8n version is from February and there have been a number of bugfixes since.