• Resolved Lyon Laz

    (@lyonlaz)


    1. Vendor goes to https://spouse-ly.com/become-a-seller/
    2. They select a subscription. complete sign up, and submit payment via Stripe.
    3. After submit, they are getting the attached error.
    4. The payment is captured by Stripe but instead of the THANK YOU page, it’s showing this fatal error to the vendor.
    5. The URL suggests the API isn’t passing the data between Stripe and WCFM (WC Lovers) correctly.
    6. This has been working for years (prior to the recent Stripe changes).

    The page I need help with: [log in to see the link]

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

    (@mrclayton)

    Hi @lyonlaz

    After submit, they are getting the attached error.

    There is no shared screenshot of the error you’re describing.

    it’s showing this fatal error to the vendor.

    What is the fatal error you’re referring to?

    his has been working for years (prior to the recent Stripe changes).

    What Stripe changes are you referring to? If you have a link to a Stripe documentation page that would be helpful.

    Kind Regards

    Thread Starter Lyon Laz

    (@lyonlaz)

    Sorry for the delay. We thought the error was resolved but we are seeing it again. Here is the error.

    Plugin Author Payment Plugins

    (@mrclayton)

    Hi @lyonlaz,

    That url in your screenshot is not one that’s generated or used by our Stripe plugin. You appear to be using a membership plugin that has a Stripe integration.

    I recommend you contact the developers of your membership plugin for this issue.

    Kind Regards

    pi

    (@pigate)

    Hi,

    I have the same issue with WCFM membership with Stripe,

    and that was from the beginning of 2024 we had a lot problems with WCFM Membership URLs payment with Woopayment, and then we moved to Stripe and this (fatal error appears) , and Woocommerce support said that it was related to WCFM uncompatibility with new version of woocommerce payment methodes, and after several months of wait of WCFM support replay they said that their plugins are not compatiblewith Woopayment , even that it was working correctly for 2 years !! and no the same issue with Stripe !! in taking in consideration that Woopayment is a Stripe payment in Woocommerce , so I think that there is something happend after the new updates of woocommerce & WCFM did not fellow that update !!

    I’m struggling from several months to make that work without success & WCFM do not give uny usefull support !

    Did you solved the issue ?

    if yes, could you tell me how you solved it please ?

    I hope that you could help please !

    https://ibb.co/wSvnQzN

    Thread Starter Lyon Laz

    (@lyonlaz)

    Hello Pi and thank you for sharing.

    I agree with your assessment. It sounds like the same issue.

    We have done a considerable amount of testing but still have not found a solution.

    In our case, at the conclusion of a vendor signing up we are expecting them to be redirected to our ‘Thank You’ page. Is that the same for you?

    Here is what I can share so far:
    > The WCFM code that is throwing the error is in the file wcfmvmj-handle-stripe-sca-subs-ipn.php. The code reads: if ( false === $sess ) { // Can’t find session. $error_msg = sprintf( “Fatal error! Payment with ref_id %s can’t be found”, $ref_id ); wcfmvm_create_log( $error_msg ); wp_die( esc_html( $error_msg ) ); }
    > We have tried different Stripe accounts. We have tried rolling the Stripe API keys, creating new webhooks, creating new products, deleting and reconnecting the account. We have tried disable cache, cookies, and just about every other plugin we could without losing functionality. We checked everything on our servers that we thougth could be an issue. Nothing has worked.
    > This was working for us for years.
    > We still have an open ticket with WCLovers.

    As for this plugin, I would like to know how to deactive and deinstall it and clear out all of the data (delete everything) and try a fresh install.

    WCFM seems to be expecting a code that could be passed from this plugin (via the Stripe connection or webhooks) and not getting there.

    Plugin Author Payment Plugins

    (@mrclayton)

    WCFM seems to be expecting a code that could be passed from this plugin (via the Stripe connection or webhooks) and not getting there.

    I can’t speak to what WCFM might be doing but the error you’re reporting is not generated by this plugin. We have not coded any integration to the WCFM plugin so you would need to contact the developers of that plugin and show them the error you’re getting.

    Thread Starter Lyon Laz

    (@lyonlaz)

    Agreed, and I have done that.

    When I deactive, delete, and reinstall your plugin it seems to be keeping residual information when reinstalled. How can I deactivate, delete, and get rid of everything from your plugin then reinstall it as though it were a fresh install?

    Plugin Author Payment Plugins

    (@mrclayton)

    When I deactive, delete, and reinstall your plugin it seems to be keeping residual information when reinstalled.

    Yes, that’s because configuration settings are saved in the WordPress options table. All of the settings have the format woocommerce_stripe_%_settings.

    You can use any tool you like such as phpMyAdmin etc and remove the settings that have that format.

    Kind Regards

    Hi LyonLaz,

    Thanks for sharing the code,

    But I think that it is just the result of the issue of other codes, because there is a problem in capturing the ID in the payment with Stripe ! so I and my team are trying to check all codes with the logic of process of subscription & payment process to see if there is something causing that,

    But the task is very difficult and takes a lot of time especially that the support team of WCFM are not really supportifs and all other related plugins such as Wocoomerce and Stripe do not want to do deep search of what can cause that ! So every plugin tries to say that it is the errore of another plugin !!

    About the (Thank you page) in the bothe cases (with the default WCFM Thank you page) and with (the Custom Thank you page) it do not appear at all in the bothe cases of using the Default WCFM Membership Page or the Custom Membership Plan , so It is sur that it is an issue related to WCFM, I tried that in the old website and also in a fresh website that we begin to build from nearly 1 month, and it is fresh website so even if you think to delete plugins and reinstall them again , I already did that several times but nothing work and all payment with Stripe if it was directly with (Stripe) plugin or with (Woopayment) or other plugins such as (Webtoofee) or (Payment Plugins for Stripe Woocommerce), so I don’t really know if the issue occurs because of the Stripe payment processing for Subscription Product or because of WCFM Membership plugin !! taking in consideration that the payment for Subscription works with Paypal test mode but the problem is that there are a lot of restrictions for subscriptions with paypal in Europe if the Company is a startup with small incomes in the beginning !

    another information that could be usefull for you: we had the (Woo Scription) plugin too and it is a payable plugin ! and whe tried to make Subscription product with Woocommerce Checout so the problem was that everytime the user tries to proceed for Subscribe now buttom they are redirected to an Empty Cart page !! and after more than 2 months of deep tries we found that the only way to make the process end with the product in the Cart page in to force clients to register as Normal User before to choose the Membership plan, aven that it is a very bad user experience !! but it was the only wahy to have a successful payment process with Woopayment plugin which use Stripe , but it was not successful with Stripe plugin directly !! and in this case the (Thank you page : default wcfm or custome page) is missing in the process too !

    So we are trying to search for another solution for the payment of Subscription plans , especially with all issues related to Stripe Subscription payment , and it seems that none of the plugins give a real support or guidance to point to the exact point in the process which could cause this issue !!

    So I think if Stripe support could give us an indication where to find the codes related to capt the Subscription Products of the URLs of the membership plans and then we could do a deep understanding of the process & how they are treated , then we could detect the source of the issue and solve it, 

    I hope that someone could help us because I lost a lot of time with my team just to solve issues like that with useless answers of support until now ! 

    the old website (https://pi-gate.com/): in this website we use (Woo Subscription) and Stripe plugin (but it was our Project in Market Test phase) and the new website which is the Final Phase of our Marketplace Project & now published but still in progress of construction ( https://pigates.com/) with Only Stripe with Payment Plugins Stripe

    So if I find something useful I well let you know, and please let me know if you could find something usefull,

    Many thanks in advance

    Thread Starter Lyon Laz

    (@lyonlaz)

    While doing some research and testing today I noticed in WooCommerce > Status > Logs > wcfm-membership, that when the message ‘Transaction data saved’ appears, the user is successfully being redirected to the ‘Thank You’ page. However, when that message does not appear, the user is seeing the Fatal Error! message.

    What might cause the transaction data not to be saved?

    After Stripe sends the success URL, WCFM is looking for the ref_id and can’t find it. Here is the error message: Fatal error! Payment with ref_id wcfm_1bc6f63742dfd56b1ac154b122e9be26|28079|4828 can’t be found

    Thread Starter Lyon Laz

    (@lyonlaz)

    Can you also explain why WooCommerce is logging this Stripe error message: This typically happens when you have multiple webhooks setup for the same Stripe account. This order most likely originated from a different site.

    Is this error message from your plugin, please?

    Thread Starter Lyon Laz

    (@lyonlaz)

    Hello Payment Plugins,

    I deactivated and deinstalled your plugin and installed the WooCommerce Stripe plugin and everything worked fine. I would like to continue using your plugin because I believe it is better and would like to get this resolved. Can you please provide more detailed instructions on how I can clear/delete all your ‘saved’ settings and start with a fresh install. I am not familiar with how to delete the WordPress options table.

    Thank you,
    Laz

    Plugin Author Payment Plugins

    (@mrclayton)

    Hi @lyonlaz

    As I have stated in previous replies, the error message you’re showing is:

    1. Not coming from this Stripe plugin
    2. Is coming from a WordPress admin page that has nothing to do with this Stripe plugin. I can very clearly see in your screenshot that you’re on a page related to some kind of vendor membership registration.

    The fact that you don’t get that error with another Stripe plugin may have something to do with WCFM’s PHP SDK version if it’s using the Stripe PHP SDK. Or it’s possible WCFM has a specific integration with the other Stripe plugin. Since that’s a premium plugin, they should be more than willing to help you with this issue. If they aren’t, maybe you should consider a different marketplace plugin.

    Can you please provide more detailed instructions on how I can clear/delete all your ‘saved’ settings and start with a fresh install. I am not familiar with how to delete the WordPress options table.

    All settings related to this plugin are located in the WordPress options table and use the naming convention woocommerce_stripe_%_settings where %s could be anything like cc, api, etc.

    Thanks

    Thread Starter Lyon Laz

    (@lyonlaz)

    While I appreciate your point of view, from my experience so far, the evidence suggests otherwise. I deactivate and deleted your plugin, deleted the following tables from QDI_OPTIONS (e.g. WP_OPTIONS)
    > woocommerce_stripe_upm_settings
    > woocommerce_stripe_settings
    > woocommerce_stripe_sepa_settings
    > woocommerce_stripe_plaid_settings
    > woocommerce_stripe_payment_request_settings
    > woocommerce_stripe_googlepay_settings
    > woocommerce_stripe_cc_settings
    > woocommerce_stripe_applepay_settings
    > woocommerce_stripe_api_settings
    > woocommerce_stripe_afterpay_settings
    > woocommerce_stripe_affirm_settings
    > woocommerce_stripe_advanced_settings
    > woocommerce_stripe_ach_settings
    > woocommerce_stripe_account_settings
    Reinstalled and reactivated your plugin, and all of your “saved” settings are still there. Specifically, the Account ID and the Webhook created. ID:. If the above tables don’t exist, where else could this data be coming from?
    Thank you.

    Plugin Author Payment Plugins

    (@mrclayton)

    If the above tables don’t exist, where else could this data be coming from?

    If you delete the correct set of table entries then it’s impossible that the Stripe plugin would load data that doesn’t exist. The Stripe plugin uses the WordPress core get_option function to retrieve the config from the database. If data is showing, that means it’s still in your database.

    The only logical answer is that you did not delete the correct entries from your WordPress options table.

    While I appreciate your point of view, from my experience so far, the evidence suggests otherwise

    I respectfully disagree. The error message you have provided is originating from the WCFM plugin. If you look at the text of the error message it says the following:

    Fatal error! payment with ref_id wcfm_ can't be found. Notice the ref_id is using a wcfm prefix. Why would this plugin use a prefix reserved for a 3rd party plugin?

    Thanks

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