• Resolved dartwin

    (@dartwin)


    When trying to automatically renew a subscription registered with Sepa payment I get the error message:

    Recurring payment for order failed. Reason: For security reasons, you cannot directly charge a source that is already attached to a customer. Please specify the customer this source is attached to (cus_xxxxxxxxx) when charging it.

    and order status is set to Failed

    I don’t understand how and where to specify the customer source. There is no field in the plugin for that.

    Thank you
    Piero

    • This topic was modified 3 years, 1 month ago by dartwin.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Payment Plugins

    (@mrclayton)

    Hi @dartwin,

    The plugin automatically includes the customer ID in the charge request if the postmeta key _wc_stripe_customer exists for that renewal order. It looks like it might be missing in your postmeta table. Is this perhaps a subscription that was created using another Stripe plugin and you switched to our plugin?

    Kind regards,

    Thread Starter dartwin

    (@dartwin)

    Thank you for your reply.
    Yes, this could be the case as I used another Stripe plugin in the past.
    Can I manually add the _wc_stripe_customer postmeta key in the renewal order or in the subscription order?

    Best regards
    Piero

    Plugin Author Payment Plugins

    (@mrclayton)

    Hi @dartwin

    You would want to add the customer ID meta key to the subscription postmeta. You should also add it to the failed renewal order if you plan on re-processing that particular renewal order.

    To figure out what the customers ID is login to your stripe.com account and search using the customer’s email address.

    Or navigate to the user’s WordPress profile in the WordPress admin and the Stripe customer ID will be shown on their profile page.

    Kind regards

    Thread Starter dartwin

    (@dartwin)

    OK, thank you!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Recurring Sepa payment for order failed.’ is closed to new replies.