• Resolved rapaport

    (@rapaport)


    I disabled all plugins, except for WooCommerce and WooCommerce Payfast Gateway, after payment, the status is always “Awaiting payment” and automatically Cancelled after a while, although the goods have already been paid for. How to fix it? what can i provide for solution?
    plugins updated

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

Viewing 14 replies - 1 through 14 (of 14 total)
  • Hi,

    I’m sorry to hear that you’re experiencing issues with order status on your WooCommerce store. To begin troubleshooting, you can do the following:

    1. Check your Payfast settings: Head over to the Payfast payment gateway settings on your WooCommerce store and verify that everything is set up correctly. Also, ensure that your Payfast account is active, and the API credentials added to WooCommerce are correct.

    2. Enable logging: Enabling debug log in your WooCommerce settings can help identify if the issue is with the plugin or with the IPN communication. Navigate to WooCommerce > Settings > Payments > Payfast, and check the box for Enable/Disable Debug log.

    After that, attempt a test transaction and check the debug logs for any errors or issues.

    3. Make sure you are using the latest versions of WordPress, WooCommerce and PayFast.

    If the above did not help, please provide a copy of your site’s System Status: You can find it via WooCommerce > Status. Select “Get system report” and then “Download for support” (after you scroll down a bit)”.

    Let us know if there are any questions.

    Thread Starter rapaport

    (@rapaport)

    Hi,
    1.If I pay in Payfast Sandbox mode, the error is https://app.screencast.com/HYFNm9Lauvenf, but if the real payment is all good and the money comes

    1. test-log.log is empty after checking
    2. I am using the latest versions
    3. https://staging4.klikd.co.za/wp-content/uploads/2023/07/SystemStatusReport_staging4.klikd_.co_.za_2023-07-03T15-06-52.txt
    Plugin Support Beauty of Code (woo-hc)

    (@beautyofcode)

    Hi @rapaport,

    Thanks for providing an update!

    Does this occur with all orders or only some. If the latter, are there any similarities with the orders experiencing this issue, such as products, customer location, coupons perhaps being used, etc.?

    This might be related to the?Hold stock?setting on your site, by default, it is set to?60 minutes. You can leave the option blank to disable and see if this makes any difference:

    You can read more about this option in our Configuring WooCommerce documentation.

    Should the issue persist, kindly share any fatal error log found under WooCommerce → Status → Logs.

    Cheers!

    This is a disaster – i know MANY store-owners that have this issue now with WC and Payfast. I have contacted support and the response is – “we are working on it”. No ETA…

    Plugin Support Beauty of Code (woo-hc)

    (@beautyofcode)

    Hi @silentfred ,

    I’m sorry to hear that you are experiencing the same issue.

    Please can you provide the ticket number for your request so that we can take a closer look.

    Additionally, if you would like further help on the forum, please can you create a new topic so that we can address your issue(s) separately.

    Cheers!

    Thread Starter rapaport

    (@rapaport)

    Hi Roxy S. It helped, thanks a lot –

    This might be related to the Hold stock setting on your site, by default, it is set to 60 minutes. You can leave the option blank to disable and see if this makes any difference:

    Hi @rapaport

    You are most welcome and we’re glad that worked! ??

    Meanwhile, if you have a moment to spare, we would love it if you could share your thoughts with us by leaving a review or feedback. Your experience and feedback are important to help us improve and ensure we’re always providing the best possible support.

    Thanks!

    Thread Starter rapaport

    (@rapaport)

    Why did it work before and the field was filled? Why did it stop working? What is it connected with?

    Plugin Support Sol J. a11n

    (@solstudioim)

    Why did it work before and the field was filled? Why did it stop working? What is it connected with?

    That’s the thing, we’re not sure either.

    If you could replicate the problem consistently, please list the steps and environment detail how you’re able to replicate it with WooCommerce, and PayFast alone.

    Then you can submit the detail here: https://github.com/woocommerce/woocommerce-gateway-payfast/issues

    That way our developers can investigate it further.

    Thread Starter rapaport

    (@rapaport)

    Hi Sol J. a11n ,
    The problem was that the field was filled https://app.screencast.com/tUPQyBXco2zOg
    But the field was filled before and this did not interfere with work

    Hi I’m experiencing an issue similar to the one submitted earlier.

    Woocommerce does not change the status of orders after payment was done with PayFast. I checked the logs, but did not see an error mentioning the payfast plugin. I noted in the following in the system status: ?Your server does not have the?SoapClient?class enabled – some gateway plugins which use SOAP may not work as expected. Could this be a reason for the issue?

    Plugin Support Kaushik S. a11n

    (@kaushiksomaiya)

    Hi @rapaport

    Thanks for getting back.

    A successful payment response is returned from PayFast using ITNs as explained here: https://woocommerce.com/document/payfast-payment-gateway/

    It is possible that before PayFast could return the response, the stock hold time set on your site was canceling the orders.

    @peerwes I am not quite sure if Soap is issue, however, based on similar issue here – it could be that a firewall or a plugin on your site is blocking the PayFast ITN ping.

    I hope this helps!

    Thread Starter rapaport

    (@rapaport)

    Hi ,

    1.I disabled all plugins, except for WooCommerce and WooCommerce Payfast Gateway, after payment, the status is always “Awaiting payment”
    So I don’t think this is the problem described here – https://github.com/woocommerce/woocommerce-gateway-payfast/issues/130

    1. It turns out that PayFast can return straightaway the answer if this field is empty and within 60 minutes PayFast cannot return the answer if it says 60 minutes here ? https://app.screencast.com/tUPQyBXco2zOg?tab=Details&conversation=pr4gfArYuPDXwFrGwlDGik
    Plugin Support con

    (@conschneider)

    Engineer

    Hi @rapaport,

    This thread is marked resolved so I am not sure whether we should continue, but just in case we ought to:

    1.I disabled all plugins, except for WooCommerce and WooCommerce Payfast Gateway, after payment, the status is always “Awaiting payment”
    So I don’t think this is the problem described here – https://github.com/woocommerce/woocommerce-gateway-payfast/issues/130

    Thank you for doing that. I think we should take a look with you together.
    Please open a ticket with us via: https://woocommerce.com/my-account/create-a-ticket/
    In the ticket please share with us credentials for your staging site and reference this interaction here, so we know you are coming from this thread.

    It turns out that PayFast can return straightaway the answer if this field is empty and within 60 minutes PayFast cannot return the answer if it says 60 minutes here ? https://app.screencast.com/tUPQyBXco2zOg?tab=Details&conversation=pr4gfArYuPDXwFrGwlDGik

    Noted. We will take a closer look at test with this value set and empty.

    Kind regards,

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘woocommerce Payfast don’t change status order’ is closed to new replies.