Tell us what you are trying to do?
How to send form notifications that are linked to wooocommerce product.
Here's how the form is set:
Purchase processing - hide
Purchase complete - create
Purchase refunded - delete
Purchase cancelled - delete
And I've included screen print of other settings.
Basically I'm looking for:
Admin and User notification that is only sent when post is created which happens after payment is complete. As it stands with the above settings neither the admin or user notification is sent at all.
Notifications are working with other forms just not this one that's linked to Woocommerce product. It's set to trigger 'When a new user is created by this form'.
With notifications set to:
' Send notification to an email specified in an email field included in the form' Fields: Email, First Name, Last Name.
'Send notification to a specific email address: mymail.com'
It is a user form and not a post if that makes any difference.
Thank you
As a second thought, did you try with another email address on another domain, checked spam folder or whitelisted the email address, to make sure these are not being discarded somewhere else? Also can you check with this plugin https://wordpress.org/plugins/log-emails/ that if emails are actually being sent?
If none of this helps, may I ask for admin access to your website to check the issue in detail? You can create a separate admin user for this purpose, which can be deleted afterwards.
Also please provide following detail to investigate/observe the issue:
- detailed steps to reproduce the issue
- links to pages in admin and on frontend
- screenshots or screen recording if needed to explain
- any other relevant information to observe/investigate the issue
Please remember to take full backup of your website and database before proceeding. However, a staging/test site is highly recommended, because I may need to try some changes/fixes on the site, which may cause conflicts with the live site otherwise.
I've set your next reply as private to share this information safely.
IMPORTANT: If you don't see the section for providing access information, please do not write in the message box or the information may appear as public.
Thank you for your patience. I tried to login to your site for investigation but looks like the provided credentials are not correct.
I am getting "the username ****** is not registered on this site. If you are unsure of your username, try your email address instead." error message while trying to login. Please check on your side and provide the correct credentials.
I've set your next reply as private again, in case you want to give new login information.
Thank you for your patience and cooperation. I was able to fix the problem. Please see the Toolset -> User Forms -> Toolset Test New User Form (ID: 403579) and notice that it is identical to your original form (ID: 402284).
Only difference is in the notifications area. I used "When payment is complete" option, which works fine and I could receive "Your account has been created!" email in my inbox (see Email Logs as well).
I also tested with "When submitting the form with payment details" and it works fine. But since you want to create the account when payment is completed, I suggest using the option as mentioned above.
The other option in your original form (When a new user is created by this form) is not working, because there's a custom code (Toolset -> Settings -> Custom Code) is triggered for creating a user, which somehow is conflicting with the events handled by the user form itself.
You can test the form I created in "TEst by Toolset Support" page.
Please let me know if it helps resolve your issue.
Thanks Waqas, does that mean the original form is working now?
The custom code relates to different form entirely so it's odd that it's conflicting somehow.
Thank you.
No I didn't make any change to the original form. I demonstrated in another test form I created, so you can observe and adjust your form accordingly (a little practice is always a good idea :).
So use "When payment is complete" option in your original form and this should work fine.