Support » Plugin: WooCommerce Stripe Payment Gateway » Error: The source is attached to a different customer

  • Resolved treasureseason

    (@treasureseason)


    Hello,

    I’ve been using your plugin without an issue for years now, but ever since re-creating my client’s eCommerce site, a few of their ongoing clients have been unable to complete their orders. I checked the error log and I see the following:

    [message] => The source src_1CgfgfOpBdfCrP is attached to a different customer cus_Dsgdg7dg66xqw. Please charge the source using that customer.
    [param] => source
    [type] => invalid_request_error

    I spoke with Stripe support and it sounded like they were telling me to add some code in order to re-assign that specific customer to a new source. I found similar info here: https://stripe.com/docs/sources/customers

    Do you guys have any advice in dealing with that type of error? If I do customize the plugin by reassigning that customer to a new source, where should I put this code?

    Thank you! any help will be strongly appreciated

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Error: The source is attached to a different customer’ is closed to new replies.