• Resolved tbo460

    (@thibotus01)


    Hi,

    I’m getting this error for a customer when a renewal happens:

    Recurring payment for order failed. Reason: The provided PaymentMethod cannot be attached. To reuse a PaymentMethod, you must attach it to a Customer first.

    I checked in Stripe dashboard I can see the payment details registred for the customer. So I’m not sure to understand where this error comes from.

    Thanks

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

    (@mrclayton)

    I checked in Stripe dashboard I can see the payment details registred for the customer.

    Can you confirm if the payment method is actually attached to the customer and has a payment method ID? That error message means the payment method ID associated with the subscription isn’t saved to the customer object in Stripe.

    You can check the customer’s logs and see if a detachment request was made at some point.

    Kind Regards

    Thread Starter tbo460

    (@thibotus01)

    in the WordPress profile of the customer I can see the payment ID attached. And the card détails.

    Plugin Author Payment Plugins

    (@mrclayton)

    You need to look in the stripe.com dashboard, not the WordPress user’s profile.

    Thread Starter tbo460

    (@thibotus01)

    yes the payment is also attached in the customer profile in stripe dashboard.

    Plugin Author Payment Plugins

    (@mrclayton)

    yes the payment is also attached in the customer profile in stripe dashboard.

    Then I don’t see how that error message is possible. You will need to check the payment method ID associated with the WooCommerce Subscription and confirm that it matches the payment method ID associated with the Stripe customer object.

    That error message comes from Stripe’s API, not the plugin. Stripe’s API is saying the payment method ID being used in the recurring payment request doesn’t match a payment method ID attached to the customer.

    Thread Starter tbo460

    (@thibotus01)

    Thread Starter tbo460

    (@thibotus01)

    And in the subscription page of the customer I’m not sure how I can see the token? It’s not showing up?

    How can I process it manually? I’m stucked

    • This reply was modified 1 month ago by tbo460.
    Plugin Author Payment Plugins

    (@mrclayton)

    And in the subscription page of the customer I’m not sure how I can see the token?

    If you don’t see the customer’s payment method on the stripe.com > customers > payment methods then that means the payment method has been detached or was not saved.

    Can you please confirm if the customer’s payment method exists within your Stripe account?

    Thread Starter tbo460

    (@thibotus01)

    I have two customers data, one shows as “invite”:
    https://gyazo.com/b637e1fad3e3cef9e1c1da3b377cbef1

    In the invite one the card details are present: https://gyazo.com/4a26a6d4c4435c63e1b8659311468b09

    In the “non invite” profile the card details are not present and errors are here: https://gyazo.com/d8a37c81ef66d91db3bb465746494520

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