Title: payment test failed
Last modified: December 15, 2020

---

# payment test failed

 *  Resolved [cpalop](https://wordpress.org/support/users/cpalop/)
 * (@cpalop)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/payment-test-failed/)
 * Hi!
 * Ive setup correctly all the api keys but when testing i get an error that payment
   cannot be processed. Logged into my stripe account and got this error from API
 *     ```
       POST /v1/customers/cus_IZmn876CsvJrtG/sources
       Estado
       400 ERR
       ID
       req_fIgxeuspo7HzBW
       Hora
       15/12/20 18:13:07
       Dirección IP
       37.58.48.193
       Versión de la API
       2019-09-09
       Fuente
       WooCommerce Stripe Gateway/4.6.0 (https://woocommerce.com/products/stripe/)
       Origen
       https://api.stripe.com/
       Cuerpo de la respuesta
       {
         "error": {
           "message": "The source you provided has already been attached to a customer.",
           "param": "source",
           "type": "invalid_request_error"
         }
       }
       ```
   
 * Error on my website
 * It was not possible to process this payment, please try again or use an alternative
   method.
    -  This topic was modified 5 years, 5 months ago by [cpalop](https://wordpress.org/support/users/cpalop/).

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Support [wpnomad a11n](https://wordpress.org/support/users/wpnomad/)
 * (@wpnomad)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/payment-test-failed/#post-13796799)
 * Hi there,
 * It seems that the error is occurring because you might have used the same account
   for testing Stripe extension in test mode. So when you switched to live mode,
   the extension still thinks that the user is a “test mode user”.
 * I recommend creating [another user account on the site](https://www.peachpit.com/articles/article.aspx?p=1768316&seqNum=7)
   to test the payments in live mode, and then do the test.
 * Do let us know how that goes and if you need any further help from us.
 *  Plugin Support [slash1andy](https://wordpress.org/support/users/slash1andy/)
 * (@slash1andy)
 * Automattic Happiness Engineer
 * [5 years, 4 months ago](https://wordpress.org/support/topic/payment-test-failed/#post-13827495)
 * Hey there!
 * We haven’t heard back from you in a while, so I’m going to mark this as resolved–
   if you have any further questions, you can start a new thread.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘payment test failed’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce-gateway-stripe/assets/icon-256x256.png?rev=3177277)
 * [WooCommerce Stripe Payment Gateway](https://wordpress.org/plugins/woocommerce-gateway-stripe/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-gateway-stripe/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-gateway-stripe/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-gateway-stripe/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-gateway-stripe/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-gateway-stripe/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [slash1andy](https://wordpress.org/support/users/slash1andy/)
 * Last activity: [5 years, 4 months ago](https://wordpress.org/support/topic/payment-test-failed/#post-13827495)
 * Status: resolved