• Resolved izna1993

    (@izna1993)


    Hey guys,

    thanks for your support for previous topics. I have another error I noticed today and don’t know what to do :

    The provided PaymentMethod cannot be attached. To reuse a PaymentMethod, you must attach it to a Customer first

    The customer tried to pay with card and in stripe there is this messsage :
    Error message
    “message”: “The source you supplied is invalid.”
    “type”: “invalid_request_error”

    The page I need help with: [log in to see the link]

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Payment Plugins

    (@mrclayton)

    Hi @izna1993

    Is this customer paying with a new credit card or a saved credit card?

    Is this a one time product or a subscription product?

    Was the customer clicking the “save credit card” checkbox on the checkout page?

    Was this a guest user or a returning customer?

    Thanks,

    Thread Starter izna1993

    (@izna1993)

    Is this customer paying with a new credit card or a saved credit card?

    We don’t have save credit card option available on your store.

    Is this a one time product or a subscription product?

    One time product

    Was the customer clicking the “save credit card” checkbox on the checkout page?

    //

    Was this a guest user or a returning customer?

    I’ve checked on my stripe and store, its was guest user.

    Plugin Author Payment Plugins

    (@mrclayton)

    Hi @izna1993

    I see from past threads that you’re using Funnel Kit for Upsells. Can you confirm if this error occurred on your upsell page?

    Are you using any other Stripe plugins?

    Thanks,

    Thread Starter izna1993

    (@izna1993)

    Hello,

    No, I only use your wonderful plugin ??

    The thing is from like 300 orders, this is the only payment who had this issue

    Plugin Author Payment Plugins

    (@mrclayton)

    Hi @izna1993

    No, I only use your wonderful plugin

    Did you discontinue your use of the WooFunnels/Funnelkit Upsell plugin?

    I don’t know why your customer got that error. Are there any other order notes indicating a prior error message for that customer?

    Kind Regards,

    Thread Starter izna1993

    (@izna1993)

    Hello,

    No, I still use it

    Now I have 3 payments with this message and here is the complete message :

    Payment processing error. Reason: The provided PaymentMethod cannot be attached. To reuse a PaymentMethod, you must attach it to a Customer first. Order status changed from Pending Payment to Failed.

    Please note that I changed Stripe account twice this month and they might be some problem with that.

    The last customer who had this issue was active on the store 4 days ago and I was using another stripe account.

    I few times need to change the Stripe account and would like to know how to avoid this next time

    Thank you

    Plugin Author Payment Plugins

    (@mrclayton)

    Hi @izna1993

    Changing the account is likely the culprit. When a customer ID is created in Stripe, it’s associated with the Stripe account that the plugin is connected to. When you switch accounts, that Stripe customer ID does not exist in the new account.

    You will need to clear out the customer ID’s from your WordPress usermeta table if you are continuously switching Stripe accounts.

    Kind Regards,

    Thread Starter izna1993

    (@izna1993)

    Hello,

    thanks for the replay. Can you tell me how I can clean this usermeta table?

    Plugin Author Payment Plugins

    (@mrclayton)

    Hi @izna1993

    You can perform a SQL query using something like phpmyadmin. You will want a query like:

    Example:

    DELETE FROM ${your_usermeta_table} WHERE meta_key LIKE %wc_stripe_customer_%

    Kind Regards,

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘The provided PaymentMethod cannot be attached. To reuse a PaymentMethod, you mus’ is closed to new replies.