• Resolved wbenterprises

    (@wbenterprises)


    Hello,

    Sometime in the recent timeline, PayPal pending payments stopped being processed automatically for my site. I now have to go manually “pay out” all the successful transactions to my users.

    I’ve ran tests in Sandbox mode, and the transactions are successful. I am returned to the page I’ve specified, and the pending payment appears under “myCred > Pending Payments.” I then have to click PAY OUT for it to apply.

    I’ve checked my server logs, and I don’t see any blocked connections. I saw another topic on this regarding cURL being enabled, but I don’t believe I’ve done anything to change cURL (how do I verify or test this?).

    What are the configurations or files or firewall settings I need to verify are properly configured? What else can I do to troubleshoot this problem and determine where the issue is? I am not seeing any errors during the transaction, nor getting any notifications or emails about problems.

    myCred version 2.4.9
    WP version 5.7.7
    PHP version 7.4

    Thank you.

Viewing 7 replies - 1 through 7 (of 7 total)
  • A.Tariq

    (@arsalantariq)

    Hi @wbenterprises,

    Thank you for contacting us, Can you please make a short video of the issue or share screenshots of your settings?

    Thread Starter wbenterprises

    (@wbenterprises)

    Which settings are you requesting? My Payment Gateway settings? Easy, it’s enabled and has my email address. What other settings should I screenshot?

    As for a video, it’s also very simple. I make a payment (real or sandbox) and Paypal processes it. It returns me to my designated account page (I have it selected under myCred>buyCRED). However, the credit is never applies to the account but it appears under Pending Payments. I can then manually pay it out.

    What am I missing here?

    A.Tariq

    (@arsalantariq)

    @wbenterprises,

    We have tested it on our environment, It is working fine. All payments are being processed automatically. Have you enabled automatic payments in PayPal settings?
    Please refer to this link for your reference

    Thread Starter wbenterprises

    (@wbenterprises)

    I don’t believe you’re understanding the problem. The link you provided is unrelated to my issue. I am NOT having issue with automatic payments (recurring). I’m having a problem with myCred automatically *applying* (paying out) the transaction after PayPal processes the payment and returns the user to my site.

    Please provide me with some information to help troubleshoot the issue. What are the steps involved for the transaction to occur (on the backend)? What would cause the payout to not be automatically applies to the user’s account after PayPal returns them to my site? I do not see any errors, nor do I know if there are logs generated other than what is in the myCred currency log.

    For example, is there an IPN URL I’m supposed to set up in PayPal? Is there a way to test cURL to see if it’s working with PayPal? etc. etc.

    Thank you.

    A.Tariq

    (@arsalantariq)

    @wbenterprises,

    Please Make sure you:

    1) Are not testing with a user that is set to be excluded from using myCRED.
    2) IPN notifications in your PayPal account is enabled (can point anywhere on your website but it needs to be enabled. Disabled = no automatic payout).

    Thread Starter wbenterprises

    (@wbenterprises)

    I was notified by PayPal that the IPN is not working for my site. It is NOT set to Disabled.

    “Please check your server that handles PayPal Instant Payment Notifications (IPN). IPNs sent to the following URL(s) are failing:

    https://www.[mydomainname].com/?mycred_call=paypal-standard”

    I check my logs and there is HTTP code 200 when PayPal connects to my site. The transaction IS LOGGED into “buyCred Pending Payments”

    This means PayPal and the IPN are somehow talking, but only partly. The transaction sits in buyCred Pending Payments until I manually click “Pay Out.”

    What is not working here? Why isn’t the process being completed? What other URLs, or PHP pages/directories/APIs, does this process require? If it may be related to cURL, how can I test my cURL against this? The rest of my site works fine.

    AGAIN: I do NOT see any 403 errors in my logs, and I have IPN enabled in my PayPal account.

    What is supposed to be the next step which makes the transaction complete automatically after it enters the Pending Payments?

    What is the URL for identifying the IPN? Is it the one indicated above?

    What are the minimum versions of WordPress and PHP required?

    Thread Starter wbenterprises

    (@wbenterprises)

    Update: I resolved the 403 error. It was being caused by Cloudflare. However, this still did NOT resolve the problem of transactions not completing for the user. It still sits in the Pending Payments log after PayPal processes the order.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Pending Payments are not processed automatically’ is closed to new replies.