• Resolved nitefire

    (@nitefire)


    Hi, I wonder if anyone can help.

    We recently migrated to a new server and ever since the renewal payments on Stripe are being duplicated.

    Anyone else had this and if so, how did you fix it?

    I asked Stripe support and they suggested using an idempotency key. But I’m not sure how to add this into the Stripe plugin or Woocommerce?

    https://stripe.com/docs/api#idempotent_requests

    Thank you!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support omarfpg a11n

    (@omarfpg)

    Hi @nitefire,

    Thank you for reaching our support. I understand the issue started after migrating servers, so the problem may lie in the server configurations. I’d like to ask a few questions to learn more about your site and your hosting environments:

    • First, are your WooCommerce, Stripe plugin, WordPress and theme all up to date?
    • You’re using our Stripe plugin, correct?
    • Can you tell us the PHP version of your previous host and the new host?
    • Do you see anything in your WooCommerce > Status > Logs regarding Stripe or any Fatal error logs?
    • You mentioned this is for renewals. Are you working with a Subscriptions plugin, if so, which one?
    • Does this issue occur for all renewal orders, or just sporadically?
    • Does this issue also happen for new subcriptions orders?
    • What about orders for simple WooCommerce products? (you could set one up for testing if you don’t have any regular products!)
    • The duplicate payments means you’re getting paid twice on Stripe? Do you get two orders as well, or a single order with two payments?

    Additionally, please can you share screenshots of the order notes for any affected order and any Stripe logs for the date of any of the duplicated payments?

    Thanks!
    -OP

    Thread Starter nitefire

    (@nitefire)

    Hi OP, thanks for your reply.
    Yes, we’re using your Stripe plugin. And the plugin is up to date (8.6.1) along with theme and WordPress being fully up to date.
    Server running PHP version:?8.1.29.?MySQL version:?10.11.9-MariaDB-ubu2004
    It was using 8.1 previously.
    We’re using Woocommerce Subscription plugin, the official one version 6.7.0.
    I looked in the Status logs and there are no Fatal errors there.
    The duplicate issue is happening on all renewals.
    There are not 2 orders, just 2 payments within Stripe.
    I’ve attached a screenshot from Stripe. I asked their support and they said to ask the Stripe plugin team. Thank you very much. Any help is much appreciated.

    Thread Starter nitefire

    (@nitefire)

    ps: I checked a regular product and that worked fine. Just one payment in Stripe for the test 0.50cent item I setup as a test. So the issue seems to just be renewal Stripe payments. Thank you

    Plugin Support omarfpg a11n

    (@omarfpg)

    Hi @nitefire,

    Thank you so much for the additional details. However, since this concerns payments only on renewals from our WooCommerce Subscriptions plugin, which is a?premium extension, please contact us directly via [WooCommerce.com → My Account → Support] for further help.

    You will need to log in to the account used to purchase the extension before you can access that page. As per the [forum guidelines], no support for premium extensions is provided here, but we will be happy to assist you further from there.

    Thanks!
    -OP

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Duplicate payments in Stripe’ is closed to new replies.