Great Ideas. Always Flowing.

We are not happy until you are happy. Client satisfaction guaranteed. Whatever your needs and requirements, we have the skills and resources for the job!

Quick login...


Or... now make it easy with Facebook Integration
Connect via Facebook



Top Sellers

Frustrated over the lack of customization for your user's registration fields? Dynamically setup your DNN Portal with custom registration fields, layout, questions, and other core integration options......

Ultra Video Gallery is a brother product of Ultra Media Gallery, UVG allows you to upload videos in various format and automatically encode them to flv or H264 format, you also can add videos from internet or record live videos from your webcam.

Build high performance, completely customizable data-entry forms and views driven by your DNN and external databases. New built-in tools make it a snap to quickly create data entry forms, data views, and even database tables. Plus, add your own HTML, CSS, Javascript, SQL commands, stored procedures,

The most advanced DotNetNuke shopping cart on the planet. Easy to use e-Commerce, Secure Shopping Cart Software and SEO friendly. B2C / B2B Ecommerce Sites.

One stop solution for events calendar and events registration! FREE DOWNLOAD is available now!

Form Completion Events for email not firing
Last Post 06-04-2012 10:43 AM by Candace. 17 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages Not Resolved
Dan C.User is Offline
river guide
river guide
Posts:82
Avatar

--
06-01-2012 09:10 AM
    I have a form setup to submit payment through paypal with multiple events: 

    Thank You Email = Successful Redirect
    Email Order = Successful Redirect
    Success Redirect = Successful Redirect
    Pending Redirect = Pending
    Cancelled Redirect = Redirect after Cancel

    The page redirects work fine and the email events worked the first time during testing (paypal sandbox).

    Now the email events don't fire and I have checked the paypal payment status for the form completion events and everything looks normal. 

    What should I troubleshoot next? The site smtp is working fine and the server has an SMTP relay I can use but nothing is being received.
    Dan C.User is Offline
    river guide
    river guide
    Posts:82
    Avatar

    --
    06-03-2012 05:31 PM
    SMTP is fixed but events still not firing emails.

    How should I troubleshoot this issue.
    Is it possible to setup a check box to trigger the email event for easier testing?
    Ryan BakerinkUser is Offline
    river guide
    river guide
    Posts:1900
    Avatar

    --
    06-04-2012 05:29 AM
    Hello Dan,

    I would suggest placing the form in "Debug Mode". You can do so by adding ?Debug=True to the URL or by clicking the link "Enable Debug Mode" on the form.

    Fill out the form and submit it while in Debug mode.

    There will be some sort of explanation as to what is happening to your email event. Either 1 of 3 issues are occurring:

    Issue 1:
    Your email event is conditionally firing. The condition isn't being fulfilled.

    Issue 2:
    There is a relevant error being logged into Admin -> Event Viewer upon trying to send the email.

    On a different note: Depending on the DNN version you're on, there was an issue back in Dynamic Forms 3.4 when installed on DNN 5.4 or DNN 5.6 that the validation of Email addresses that you provided was not being validated correctly.

    Issue 3:
    You're not sending an email to a valid email address.

    Also, to make sure that you're not running into a rudimentary issue, please provide values for "From Name", "From Email", "Email To", "Subject", and provide content in the body of the email.

    Please let me know if you find any issues or find any solutions

    Thanks,

    Ryan
    Dan C.User is Offline
    river guide
    river guide
    Posts:82
    Avatar

    --
    06-04-2012 05:44 AM
    Hi Ryan - Thanks for your response.

    In debug mode the form would not submit to paypal, instead it immediately returned an error I will email you.

    Regarding the 3 possibilities:
    1.) The condition is redirect success which is equivalent to the success redirect which is being fullfilled as the user is redirected to a Thank You page after returning from Paypal.

    2.) Nothing related has been posted.

    3.) Email addresses are valid but this is on version 5.6. How could I go about removing email validation as to not interfere with troubleshooting this issue?

    All rudimentary issues have been previously addressed.
    Ryan BakerinkUser is Offline
    river guide
    river guide
    Posts:1900
    Avatar

    --
    06-04-2012 05:52 AM
    Hello Dan,

    Regarding the DNN 5.6 issue that I brought up, please follow this forum post to see if this fixes your issue:

    http://www.datasprings.com/dnn-modu...-1-problem

    The part that you need to focus on is swapping out the current Email Validation Regular Expression with the one in the forum thread.

    Try that and let me know if this fixes your issue.

    If this doesn't fix your issue, then please let me know how many email addresses you're sending this to.

    Are you sending it to a Dynamic Token "$(Token)", however this contains multiple email addresses separated by ";"? Or have you hardcoded multiple email addresses into the Email To however didn't separate them by ";"?

    Let me know.

    Thanks,

    Ryan
    Dan C.User is Offline
    river guide
    river guide
    Posts:82
    Avatar

    --
    06-04-2012 06:11 AM
    Additionally there has been no activity on the SMTP server when these emails should be firing.
    Dan C.User is Offline
    river guide
    river guide
    Posts:82
    Avatar

    --
    06-04-2012 06:29 AM
    I updated the REGEX from

    ^[a-zA-Z0-9_%+#&'*/=^`{|}~-](?:\.?[a-zA-Z0-9_%+#&'*/=^`{|}~-])*@(?:[a-zA-Z0-9_](??:\.?|-*)[a-zA-Z0-9_])*\.[a-zA-Z]{2,9}|\[(?:2[0-4]\d|25[0-5]|[01]?\d\d?)\.(?:2[0-4]\d|25[0-5]|[01]?\d\d?)\.(?:2[0-4]\d|25[0-5]|[01]?\d\d?)\.(?:2[0-4]\d|25[0-5]|[01]?\d\d?)])$

    to

    \b[a-zA-Z0-9._%\-+']+@[a-zA-Z0-9.\-]+\.[a-zA-Z]{2,4}\b

    This didn't work and there has been no SMTP traffic.

    Would it be better to upgrade the site and retry? If yes, would the REGEX validation need to be updated to 6.2 REGEX or will the upgrade reset this?
    Ryan BakerinkUser is Offline
    river guide
    river guide
    Posts:1900
    Avatar

    --
    06-04-2012 06:39 AM
    Hello Dan,

    It is always best to Upgrade to the latest or a version before the latest.

    At this point I would recommend using DNN 6.1. I would also upgrade Dynamic Forms if you hadn't already. It's always best to stay ontop of the latest versions of software. In Dynamic Forms case, if you're on the latest version, you're on the upgrade path which enables you to receive up to 70% discounts when upgrading to the latest greatest version of the module.

    Also by upgrading your DNN version, this will lift you into a support layer that we're more concurrent with. If we receive any notification of bugs/issues, we're typically addressing the latest version of our module on close to the latest DNN version. It becomes difficult for us to support softwares that are becoming outdated.

    So my recommendation is that you should upgrade both Dynamic Forms and DNN before you become stranded on a legacy version of DNN and Dynamic Forms.

    In versions of DNN above 5.6, this issue has been addressed and fixed by the DNN Corp so this issue doesn't exist in the later version of DNN.

    Let me know if you have any questions.

    Thanks,

    Ryan
    Dan C.User is Offline
    river guide
    river guide
    Posts:82
    Avatar

    --
    06-04-2012 07:59 AM
    The site is now upgraded to DNN 6.2 and DF 4.10.0.5601.
    As far as I know these are the latest versions of both the site and the dynamic forms.

    The REGEX on the upgrade did not change.
    I checked a clean test site that I have and it had a variation of the original REGEX (5.6) that I replaced.
    I tested both and no success. The SMTP test for the site works fine.

    The success redirect works fine but the email is not firing through the SMTP relay. Is there a way to test the trigger without having to go through the entire paypal event?
    Ryan BakerinkUser is Offline
    river guide
    river guide
    Posts:1900
    Avatar

    --
    06-04-2012 08:10 AM
    Yes, please disable the Payment gateway. Create an email completion event that will always fire no matter what.

    Place the page in debug mode and submit the form to see what the email completion event is trying to do.

    Thanks,

    Ryan
    Dan C.User is Offline
    river guide
    river guide
    Posts:82
    Avatar

    --
    06-04-2012 08:46 AM
    email completion event that will fire no matter what... please explain.
    Ryan BakerinkUser is Offline
    river guide
    river guide
    Posts:1900
    Avatar

    --
    06-04-2012 08:50 AM
    This means, create an Email Form Completion Event that doesn't fire conditionally. If there's no conditions, this theoretically means that the event should always fire. Unless in your case, there's an issue, this will allow us to hone in on what's happening when the event is fired(when in Debug mode and submitting the form).

    Let me know if this makes sense.

    Thanks,

    Ryan
    Dan C.User is Offline
    river guide
    river guide
    Posts:82
    Avatar

    --
    06-04-2012 08:56 AM
    Sorry - no this isn't clear.
    The events I have setup are 2 part (as you would expect): created in the Form Completion Event section: Dynamic Field = Any Field Response, User Response = Equals, Event Action = n/a

    Once created the event is assigned to paypal events.
    If disabling the Payment gateway then what would trigger it?

    Perhaps it's setup to fire not matter what, already?
    Ryan BakerinkUser is Offline
    river guide
    river guide
    Posts:1900
    Avatar

    --
    06-04-2012 09:08 AM
    Hello Dan,

    By default upon creating an Email Form Completion Event it will fire for any response. So basically we're over complicating this process

    Here's what I want you to do, create a Email Form Completion Event that has content of "Test" and have the email to as your email address.

    Put the page in debug mode and submit the form and let me know if there is any text that is spit out in the debug text.

    Thanks,

    Ryan

    Dan C.User is Offline
    river guide
    river guide
    Posts:82
    Avatar

    --
    06-04-2012 09:42 AM
    Ok I ran it in debug mode with the Payment Gateway disabled.
    It created the events and sent emails - can I get a whoo hoo?

    I re-enabled the payment gateway and checked all the paypal status and the settings remained intact from earlier. I ran the form and the events fired upon successful redirect but no emails.

    The email events and forms are only set to use a single email address, mine.

    The other thing I changed/updated was the support order of the completion events. I made the email events 1 and 2 priority and the redirects 10, 20, and 30 respectively.

    CandaceUser is Offline
    river guide
    river guide
    Posts:2431
    Avatar

    --
    06-04-2012 09:54 AM
    Hi Dan,

    Let me jump in here for a quick tip. The most common culprit for events not firing with PayPal is the page/module permission. It has to be set to all users so PayPal can talk back to your page without having to log in. Check this first and see if this resolves the issue for you.

    If the problem continues, please review this blog post for other tips.

    http://www.datasprings.com/news/blo...ter-paypal

    Thanks!
    Candace
    Dan C.User is Offline
    river guide
    river guide
    Posts:82
    Avatar

    --
    06-04-2012 10:22 AM
    Thanks Candace for jumping in, regarding the page/module permission it's set to 'all users'.
    I test in a different browser type as an unauthenticated user.

    I ran through the checklist you provided and it was very helpful but I'm not sure we are 100% in the clear.
    1-5 had all been previously done. The only exception is #3 as I have been using 'successful redirect' for the email events. This has previously worked on other sites and hasn't been an issue until now.

    I changed the email events to Complete (Standard) and the emails fired off.
    Question - does 'Complete (Standard)' mean after the round trip from PayPal with a successful transaction or does it mean the form was successfully filled out? (I'm assuming the first.)
    CandaceUser is Offline
    river guide
    river guide
    Posts:2431
    Avatar

    --
    06-04-2012 10:43 AM
    Yes, aside from the page redirect, your events should be linked to the Completed Status. I'm surprised to hear that it worked for you on other sites using the Successful Redirect because that's not how the modules are designed. Strange.

    Yes, this means that the transaction was completed, funds have been successfully transferred and received.

    Thanks,
    Candace
    You are not authorized to post a reply.


     
     

    Join our mailing list...

    Get current news and events the easy way
    Subscribe Me

    Recent Blogs...

     
    Copyright 2005 - 2011 by Data Springs, Inc.
     
  • film izle
  • 720 izle
  • film
  • sinema izle
  • film makinesi
  • T�rk�e dublaj film
  • film izle
  • film izle
  • baglan film izle
  • sinema izle
  • 1080 film izle
  • film mercegi