Membership Plugin

WordPress Membership Plugin

  • Home
  • Documentation
  • Addons
  • Support
    • Quick Setup
    • Documentation
    • Premium Addon Support
    • Paid Support
    • Support Forum
    • Support Forum Search
    • Forum Login
    • Forum Registration
  • Contact

[Resolved] Stripe button error! Payment with ref_id XXX can’t be found

Simple Membership Plugin › Forums › Simple Membership Plugin › Stripe button error! Payment with ref_id XXX can’t be found

  • This topic has 4 replies, 3 voices, and was last updated 1 year, 2 months ago by The Assurer.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • April 7, 2025 at 4:56 am #30186
    carquisa
    Participant

    I’ve received several duplicate payments from some users because when accepting the payment, they get the error “Error! Payment with ref_id XXXXXXX can’t be found,” but the payment was successful.

    Has this happened to anyone else? Do you know why this error can occur even if the payment is successful?

    I’m using a button with the payment_method_types=”card” attribute, so that the payment is always made by card (as I was told in this post: https://simple-membership-plugin.com/forums/topic/how-to-change-stripe-payment-method-with-hook/)

    Thank you very much!

    April 10, 2025 at 12:43 am #30196
    The Assurer
    Moderator

    Do you have any SWPM debug logs to share? And please do not mask out the numbers.

    April 10, 2025 at 3:26 am #30197
    admin
    Keymaster

    Copy and paste the complete shortcode that you are using for the payment button. It will be good for us to take a look at that.

    Is this for a one-time payment or a recurring/subscription payment?

    Also, we will need debug logging info, so enable the debug logging feature then do a test transaction. Can you reproduce the issue when you do a test?
    https://simple-membership-plugin.com/enable-debug-logging/

    April 13, 2025 at 8:32 am #30220
    carquisa
    Participant

    The complete shortcode I’m using is:
    [swpm_payment_button id="759" button_text="Pago 20€" payment_method_types="card" class="wpform-connect"]

    It is for a one-time payment.

    I don’t have the debug logging on and I’m not able to reproduce the error, and I have tried many times!

    The complete error without any mask is:
    “error! Payment with ref_id swpm_994780c31bf702be965debb3d6ed8666|760 can’t be found”

    Thank you!

    April 14, 2025 at 12:13 am #30222
    The Assurer
    Moderator

    It is possible, that since you are unable to recreate the issue, that the problem was with the payment method or other anomaly on either the Stripe or user end.

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.
Log In

Please read this message before using our plugin.

Search

Featured Addons and Extensions

  • Membership Form Builder Addon
  • Member Directory Listing Addon
  • WooCommerce Payment Integration
  • Member Data Exporter Addon

Documentation

  • Documentation Index Page

Copyright © 2026 | Simple Membership Plugin | Privacy Policy