Support » Plugin: WooCommerce Stripe Payment Gateway » The source you provided has already been attached to a customer

  • Resolved zombiept2

    (@zombiept2)


    Recently have gotten a few customers say they cannot complete an order. The most recent occurrence gave an error message during checkout, ‘The source you provided has already been attached to a customer’. Looking at the logs in Woocommerce, it appears that the customer’s credit card was declined and returned a do not honor response from Stripe. Is this just a typical problem with someone credit card or a bigger issue? I am not sure why the error the user received does not match the response given by Stripe in the logs.

    Customer error: https://snipboard.io/hGRjK3.jpg
    Woocommerce logs: https://snipboard.io/Z01snY.jpg

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support Senff

    (@senff)

    Hi @zombiept2

    Can you tell me a little bit more about this issue? Does this error happen with every product, or with a specific set of products only?

    We’ve had reports that this can happen with subscription-based products that have a relatively low price, but if that’s not the case, we’ll need a bit more details to see what could be the issue here.

    This doesn’t happen on all products/orders. There are no subscriptions sold on the website. These are all on physical product inventory. Users do not have the ability to save card information (one-off transactions only).

    I wonder if the user got a decline and then tried clicking the checkout button a second (or even third time). Would that possibly cause that error message to appear?

    Plugin Support Senff

    (@senff)

    The “do not honor” error is quite generic, that it’s difficult to put a specific reason on it. It does mean that the charge is initially declined by the bank, but we can’t say (or see) the reason for that.

    Sometimes it’s the fact that there are insufficient funds, other times it is because the bank (mistakenly) marks it as fraud. I’d suggest that if this happens again, and trying it for a second time doesn’t help), to contact the bank. They should be able to give more information.

    manyhatsdigital

    (@manyhatsdigital)

    I’ve been having a similar issue where I receive “customer not found” then a random string of letters and numbers.

    It turns out this plugin struggles on a multisite (shared users table) where each site is connected with a different stripe api account.

    When an order is made the stripe customer ID is saved against user meta. I believe you’ll need to update the plugin the perhaps prefix the stripe customer ID meta key with the website database prefix, which will allow them to remain distinct between websites on a multisite.

    ryanr14

    (@ryanr14)

    Hi @manyhatsdigital,

    I think you are on to something, that at the least makes sense to me here. Would you mind, be able, to create an issue for inspection from our devs to inspect regarding Multisite?

    https://github.com/woocommerce/woocommerce-gateway-stripe

    Plugin Support Kenin

    (@kbassart)

    Automattic Happiness Engineer

    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.

    manyhatsdigital

    (@manyhatsdigital)

    Yeah feel free, it’s not resolved, but it is a GitHub issue now so we can track it there.

Viewing 7 replies - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.