• Resolved yeochinsoon

    (@yeochinsoon)


    Woocommerce Stripe Plugin Gateway is handling a renewal that comes from another stripe account for Paid membership pro plugin.

    Please fix this.

    server error message:

    2023/12/22 00:32:20 [error] 23621#23621: *10469 FastCGI sent in stderr: “PHP message: PHP Fatal error: Uncaught (Status 404) (Request req_bg0hLq81z1XFaW) No such payment_intent: ‘pi_3OPvi3KKHHlhoduW1cRNGtI0’; a similar object exists in test mode, but a live mode key was used to make this request.

    thrown in /www/awonhubcom_389/public/wp-content/plugins/paid-memberships-pro/includes/lib/Stripe/lib/Exception/ApiErrorException.php on line 38″ while reading response header from upstream, client: 54.187.216.72, server: awonhub.com, request: “POST /wp-admin/admin-ajax.php?action=stripe_webhook HTTP/2.0”, upstream: “fastcgi://unix:/var/run/php8.0-fpm-awonhubcom.sock:”, host: “awonhub.com:28562”

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Zubair Zahid (woo-hc)

    (@doublezed2)

    Hello yeochinsoon,

    Thank you for contacting WooCommerce support.

    I understand that you are facing a fatal error with your WooCommerce Stripe Payment Gateway plugin on your site.

    The error message you’re encountering could be due to a common issue that arises when handling payments across different environments (test and live modes) in Stripe.

    For an accurate diagnosis, I’d like to understand more about your setup.
    Could you please send me a copy of your site’s System Status?
    You can find it via WooCommerce > Status.
    Select Get system report and then Copy for support.

    Once you’ve done that, you can paste the text in https://gist.github.com
    After that, you can paste the Gist link here in your reply.

    With this information, we will be better able to investigate and understand what might be causing these issues on your site.

    Looking forward to your response. ??

    Thread Starter yeochinsoon

    (@yeochinsoon)

    Hi Zubair

    Gist link: –https://gist.github.com/arthuryeocs/6073a87a0c8b9e02375767b9d2c51957

    I hope it did it correctly being my first. Let me know if you need any further details or access.

    Many thanks.

    Hey, @yeochinsoon!

    Thanks for sharing the report.

    The error message suggests that the request is made with a live mode key but referring to a payment_intent in test mode.

    To resolve this, I’d recommend reviewing the setup within both plugins to ensure they are synchronized and set to the correct mode (either live or test mode) and that the keys provided are accurate. It might be worthwhile to double-check the configuration in your Stripe account as well, to ensure consistency across all platforms.

    Is this happening to one specific order or on every order?

    If it is one specific order, can you share a screenshot of the order details? You can hide any sensitive information before doing this.

    I’d recommend using https://snipboard.io. You can share the direct link to the image as a response to this topic.

    Have a wonderful day!

    Thread Starter yeochinsoon

    (@yeochinsoon)

    Hi

    I had been testing Paid Membership Pro in test mode and Woocommerce stripe in test mode. No problem here.

    When I started to test both in live mode, the transactions work correctly. Then i started to get errors in the server logs on Kinsta control panel. Although both Paid Membership Pro and Woocommerce are set to “live” and their respective stripe accounts are also set to “live”, Woocommerce stripe seems to be trying to process subscription orders from stripe test data (Paid Membership Pro stripetest account). It tries to process all active subscriptions in the test data (stripe account).

    In desperation, I deactivated woocommerce stripe to try airwallet plugin but airwallet account is awaiting approval. So i had to switch back. Now the errors message points the errors to paid membership pro (/www/awonhubcom_389/public/wp-content/plugins/paid-memberships-pro/includes/lib/Stripe/lib/Exception/ApiErrorException.php on line 38″).

    Previous server log, points to woo stripe (/www/awonhubcom_389/public/wp-content/plugins/woo-stripe-payment/vendor/stripe/stripe-php/lib/Exception/ApiErrorException.php on line 38″)

    When i switch Paid Membership Pro from “live” to “test” mode in wordpress, the errors go away.

    In Stripe, Paid Membership Pro account, the subscriptions are still occuring even though I had set to “live” in wordpress. https://snipboard.io/wdfq7B.jpg

    In worpress, paid membership pro, the order stopped at 18th Dec since i had switch it to “live”. https://snipboard.io/CkVhKs.jpg

    Below screen capture of the error log in woocommerce status –> logs, shows the payment intent in error log “pi_3OPCepKKHHlhoduW0g9GO3bQ” which belongs to a subscription record in Stripe Test account for Paid Membership Pro.

    https://snipboard.io/9a6EKv.jpg

    I hope the above information helps. Please let me know if you require any other information or any step by step guide to troubleshoot.

    Many thanks.

    • This reply was modified 11 months ago by yeochinsoon.
    Saif

    (@babylon1999)

    Hello @yeochinsoon,

    It appears there might be a conflict between our Stripe integration and the one provided by Paid Membership Pro. This is somewhat expected as it’s typically not advisable to have multiple active Stripe integrations at the same time.

    Due to our support policy limitations regarding plugin conflicts, I suggest reaching out to the Paid Membership Pro support team for assistance. Here’s a direct link to their support page: Paid Membership Pro Support

    Alternatively, you might consider exploring the WooCommerce membership extension, which is designed to integrate with Stripe for WooCommerce out of the box.

    Please let us know if you have any other questions!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘PHP Fatal error: Uncaught (Status 404) (Request req_bg0hLq81z1XFaW) No such paym’ is closed to new replies.