• Resolved RED_Android

    (@red_android)


    Good Day,

    I am having a strange issue on multiple sites.

    The PMPro welcome emails / email confirmation emails are not being sent if it is a paid subscription. If I set up a free subscription, the welcome email sends perfectly and I can verify my membership. As soon as I link it up to Payfast, even if the payment is successful, I do not receive the welcome email with a link to verify my email address.

    I have tried this in sandbox mode as well as with a live payment. The payments work fine, but that email is not sending.

    All other emails are sending fine so I don’t think it’s an smtp issue.

    This is the dev site I am busy setting up. I am having the exact same issue on the live site that was set up by a different developer.

    Any help would be very much appreciated!

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

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Andrew Lima

    (@andrewza)

    Hi there,

    Thank you for using Paid Memberships Pro.

    Can you confirm the orders inside Paid Memberships Pro have a status to ‘success’ for your paid orders?

    I don’t think this is an SMTP issue as it’s working fine for free levels and sounds like there may be another issue interfering here.

    Thread Starter RED_Android

    (@red_android)

    Hi Andrew,

    Thank you for coming back to me.

    All the paid orders are “pending”, even if the payment was successful. The free orders’ status is “success”.

    Same issue on both sites.

    Plugin Author Andrew Lima

    (@andrewza)

    Thanks for the feedback, there seems to be a communication issue between PayFast and your site.

    The PayFast servers may be blocked from your site or you have manually set your ITN URL inside PayFast dashboard to something other than Paid Memberships Pro ITN URL – this doesn’t need to be set as we set this during the checkout process.

    I also suggest in debugging your PayFast checkout by enabling the debug log inside the PayFast settings in Paid Memberships Pro and see what the payment log returns as it may show you more information about these transactions.

    The checkout confirmation email sends when the payment is successful, and for free orders this automatically is set to successful and issue is pointing to PayFast in this case.

    Thread Starter RED_Android

    (@red_android)

    Hi Andrew,

    The ITN Settings in my payfast dashboard are enabled and have a notification url set to: http://www.airnews.co.za/subscription-account/

    If I try to remove this url it says the url is required. Should I disable ITN from the payfast dashboard?

    It’s worth noting that I am having the same issue in sandbox mode on the new site I am building, and there is no ITN defined in my sandbox.

    I have debug enabled but where can I find the debug log?

    Plugin Author Andrew Lima

    (@andrewza)

    You should be able to set this to https://yourwebsiteurl/wp-admin/admin-ajax.php?action=pmpro_payfast_itn_handler (please replace yourwebsiteurl with your actual URL).

    The debug log is stored inside the Paid Memberships Pro PayFast plugin folder under ‘logs’.

    You may also reach out to PayFast support to see if you can disable this and let this be set from the API side of things. As mentioned before we set this during the checkout process, and other plugins should do this too.

    Please let me know if this helps, for future tickets relating to PayFast and Paid Memberships Pro these questions may be posted here – https://wordpress.org/plugins/pmpro-payfast/

    Thread Starter RED_Android

    (@red_android)

    Hi Andrew,

    The only thing in the logs folder is payfast_itn.txt. Is this the error log? Should I send you what is in this file?

    I have changed the ITN to what you sent above, and did a test payment, but it did not solve the problem. I did not get the email and the membership is still pending, but my payment was successful.

    This issue is also happening on the new site I am developing for the same client. The site is on a dev server and I am testing in payfast sandbox. My sandbox does not have a facility to set the ITN, but I am having this exact same issue.

    Obviously payments in the sandbox are automatically successful, but I am still having the same issue with the email confirmation not sending, and the order stuck in “pending” status.

    However, I do get the emails from payfast to say that I have successfully paid into the account, and also to notify me when I cancel the subscription.

    Plugin Author Andrew Lima

    (@andrewza)

    This indicates a communication issue between PayFast and your site. I haven’t been able to replicate this.

    Please can you overlook the ITN log file and see if there are any errors regarding the signature or other errors?

    Thread Starter RED_Android

    (@red_android)

    Hi Andrew,

    The only errors are this one:
    ERROR: Couldn’t change level for order (8D8F8FBEB4).

    Thanks for your assistance in trying to resolve the issue, but I have given up with PM Pro and installed Woocommerce memberships which is working perfectly.

    Plugin Author Andrew Lima

    (@andrewza)

    Thanks for letting me know, I’m glad to hear that you’ve found a solution to work for you.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Welcome email / email verification does not send’ is closed to new replies.