Title: No such src error
Last modified: April 29, 2020

---

# No such src error

 *  Resolved [vchang](https://wordpress.org/support/users/vchang/)
 * (@vchang)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/no-such-src-error/)
 * I keep getting an error on checking out with stripe after all credit card info
   is entered, my customer get the error “no such src_…”. The log shows:
    ====Start
   Log==== Error: stdClass Object ( [error] => stdClass Object ( [code] => resource_missing[
   doc_url] => [https://stripe.com/docs/error-codes/resource-missing](https://stripe.com/docs/error-codes/resource-missing)[
   message] => No such source: src_1FEvBOJPR3I9QEKMLqY3LcZu [param] => [type] =>
   invalid_request_error )
 * )
 * ====End Log====
 * Any help would be appreciated on this. Thank you.

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

 *  Plugin Support [slash1andy](https://wordpress.org/support/users/slash1andy/)
 * (@slash1andy)
 * Automattic Happiness Engineer
 * [6 years, 1 month ago](https://wordpress.org/support/topic/no-such-src-error/#post-12752605)
 * Hey there!
 * We typically see this when you have been testing Stripe in staging/testing mode,
   save a card to your account (the test card), and then switch it to live mode.
   Then it tries to use the saved card (from the staging/test account) in the live
   mode, and that source does not exist in your live Stripe account.
 * Can you confirm that you did have a saved card from testing mode, and then switched
   to live mode?
 *  Thread Starter [vchang](https://wordpress.org/support/users/vchang/)
 * (@vchang)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/no-such-src-error/#post-12752706)
 * It is in live mode but I suspect the customer is using a saved card. I tested
   it in test mode and the transaction works fine when I enter the test credit card.
 *  [Joey – a11n](https://wordpress.org/support/users/jricketts4/)
 * (@jricketts4)
 * [6 years ago](https://wordpress.org/support/topic/no-such-src-error/#post-12786626)
 * [@vchang](https://wordpress.org/support/users/vchang/) – can you have the customer
   update their payment method and then attempt charging with the new source?
 * – Joey
 *  [Joey – a11n](https://wordpress.org/support/users/jricketts4/)
 * (@jricketts4)
 * [6 years ago](https://wordpress.org/support/topic/no-such-src-error/#post-12823247)
 * 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.
 * – Joey
 *  Thread Starter [vchang](https://wordpress.org/support/users/vchang/)
 * (@vchang)
 * [6 years ago](https://wordpress.org/support/topic/no-such-src-error/#post-12823683)
 * Sorry for the delay but I have not been able to get feedback yet. I guessed that
   was the solution as I have not heard back from any customers with saved credit
   card data.

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

The topic ‘No such src error’ 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/)

 * 5 replies
 * 3 participants
 * Last reply from: [vchang](https://wordpress.org/support/users/vchang/)
 * Last activity: [6 years ago](https://wordpress.org/support/topic/no-such-src-error/#post-12823683)
 * Status: resolved