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 Event Dynamic Email (With PayPal Payment Gateway)
Last Post 08-25-2008 01:03 PM by Chad Nash. 28 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Michael GrinnellUser is Offline
going with the flow
going with the flow
Posts:31
Avatar

--
05-27-2008 02:50 PM

    All,

    I am using Paypal and am also trying to add a Dynamic Email completion event.  I have been unable to get the event to fire off the email.  I don't know if this has anything to do with Paypal or not.  As noted in another thread, I have been unable to get the Paypal Payment status to save so I am not certain when or if the form completion event is being fired. 

    Thanks,

     

    Mike

    Heitha BeaneUser is Offline
    skipping stones
    skipping stones
    Posts:9
    Avatar

    --
    05-27-2008 07:45 PM

    Hi,

    I am not using paypal but having the same problem. After doing some testing I realized when the problem happens. When I set the "Email to" to an e-mail address with the same extension as my domain name (ie joe@mydomain.com) it will not fire. If I enter any other e-mail it works. I have a completion event sending an e-mail to the person filling out the form - again if I fill out the form and enter an e-mail address with the same extension as the domain, it will not send the e-mail. I have tested multiple scenarios and the problem is consistent. I know my e-mail account works because I tested that multiple times too.

    Any ideas???
    Thanks

    Chad NashUser is Offline
    Posts:5260
    Avatar

    --
    05-28-2008 07:02 AM
    Hi guys... Let me see if I can provide some tips.

    Heitha - Dynamic Forms uses the same email function calls as the core, sometimes though (depending on your email settings), you will find certain situations where you can email only to and from the same domain, or situations where you can email to and from other domains. In this case I would review your SMTP settings, and test going under Admin, Newsletter. Try and sent an email to yourself there (you can add email address's and not check any of the roles). Make sure to set the from address and the email to address, to the same as what you are testing against. If it works within the CORE area under Admin, Newsletters, then it should work within Dynamic Forms.

    Mike - Dynamic Forms & PayPal IPN function a little differently then standard events. What I would do first is make sure the event is firing without PayPal turned on at all. So basically set the email event to be fired for any response, turn PayPal gateway off, and make sure the email goes out. Next... You will have to link a completion event to a PayPal IPN code. I wouldn't do success redirect or cancel redirect, only the 'Completed' or 'Pending'. I believe the cancel/success IPN status codes need to be tied to redirect completion events only. So... At that point we might need to debug more from there. After you select the event and check box's for the IPN status codes and click the update link (directly under the IPN status codes) does it save? Do you get any error messages? We want to first make sure its getting this far, as its required for any events to be fired off if you have PayPal integration turned on. You wouldn't want the user to be sent an email or added to a security role if they skipped out on payment or hit cancel instead of paying etc...

    -Chad
    Heitha BeaneUser is Offline
    skipping stones
    skipping stones
    Posts:9
    Avatar

    --
    05-28-2008 08:31 AM

    Hi Chad,

    Thanks for the reply. I tested the e-mail with the newsletter and it came right through. I went back to the form and filled it out and it still doesn't work. I even went back and re-entered the e-mail exactly as I did for the newsletter to make sure there is no typo.

    If I filled our the form again and entered a different e-mail address, and got an auto-responder immediately. But if I put in an e-mail from the same domain, it never comes. Same thing happens when I enter the "email to" as an e-mail with the same domain under completion events. I have tested multiple scenarios and keep having the same results.

    I have never seen this problem before.

    Any ideas...

    Chad NashUser is Offline
    Posts:5260
    Avatar

    --
    05-28-2008 08:42 AM
    What version of Dynamic Forms and what version of DNN?
    Heitha BeaneUser is Offline
    skipping stones
    skipping stones
    Posts:9
    Avatar

    --
    05-28-2008 08:48 AM
    DotNetNuke Version: 04.08.02
    Dynamic Forms: 02.60.30
    Michael GrinnellUser is Offline
    going with the flow
    going with the flow
    Posts:31
    Avatar

    --
    05-28-2008 12:47 PM

    Hi Chad,

    I disabled Paypal and the email was sent fine.  Paypal activated it does not work.  I tried setting the completion event in conjunction with the Paypal Completion (Standard) then went in the Paypal Sandbox and paid successfully (test, obviously).  But, no email was sent.  Any thoughts on what I should try next?

    Jon WintersUser is Offline
    wading in the water
    wading in the water
    Posts:24
    Avatar

    --
    05-29-2008 12:17 PM
    I am stumped also...

    When I try to Save Settings / Paypal Settings, they go blank and don't hold.

    I guess the question is how do I get this working using a Dynamic Email event?

    Thanks,

    Jon

    P.S. Don't mean ti hijack the thread.
    Chad NashUser is Offline
    Posts:5260
    Avatar

    --
    05-29-2008 02:50 PM


    Hi guys... Ok, well if you can't save the 'Completion Event / PayPal IPN' at all (they don't stick) then that would for sure cause an issue. A couple things...

    1. Does it work different then this example:
    http://www.betasprings.com/Home/Dyn...ault.aspx. When you navigate into the settings for PayPal you will see how its linked a completion event to a PayPal event. Does this functionality work differently here then for you?

    2. We have found a limitation since PayPal needs to talk back to Dynamic Forms to process events (now or six months from now when someone cancels their subscription or maybe when a payment goes from pending to completed etc...). This limitation is that you must have the form setup on a page that is available to all users, otherwise PayPal cannot talk back to the module and the module cannot process events based on the IPN response from PayPal


    So.... #1 we for sure need to check on, let me know if it works as it does on Beta Springs. For #2, even if the event is setup properly, if you don't have the form setup for all users this can cause a problem.


    We are working on another alternative that will allow you to leave a Dynamic Forms module on a page (maybe that is available to all users) and it can just handle IPN processing for forms throughout your page that might not be displayed for all users.

    I will also test this out on our development environment tomorrow and make sure a clean/fresh installation works with saving the completion events / PayPal IPN setting.

    -Chad
    Heitha BeaneUser is Offline
    skipping stones
    skipping stones
    Posts:9
    Avatar

    --
    05-29-2008 03:15 PM
    Any thoughts on my issue not being able to send to e-mail with the same domain?

    I'm using:
    DotNetNuke Version: 04.08.02
    Dynamic Forms: 02.60.30

    Thanks Chad - I don't know how you keep up with all these issues!
    Michael GrinnellUser is Offline
    going with the flow
    going with the flow
    Posts:31
    Avatar

    --
    05-29-2008 04:10 PM

    Hmm -- OK.  I have been messing around with Dynamic Forms and Paypal Sandbox and have seemed to have learned the following:

    1) Dynamic Email will only be triggered via a form completion event if the page on which the form is placed is viewable by all users (permissions are set to all users).

    2) The form completion event will only be triggered if the Paypal status selected is "Pending".  It does not appear to work with "Completed (Standard)", but I have only tested about a dozen combinations here.

    In sum, define your form completion event with dynamic email, make sure your page on which your form is placed has permissions for all users and set the Paypal status to "Pending". Save and be sure to be going to the Paypal Sandbox.  This should send the email.

    I am going to test this, but should multiple email addresses on the "To" line separated by commas work?

    Mike

    Chad NashUser is Offline
    Posts:5260
    Avatar

    --
    05-30-2008 08:45 AM
    Well.. How it should work is that in a few days you might be getting multiple emails based on your 'completed' status. Basically, here is how it works (or at least should and our testing was done).

    Have an email or anything set to go out for pending, that is great but you are probably testing using an ECHECK or something where it takes a few days to process. In other words, just because you purchased with ECHECK doesn't mean that check is going to go through (they usually take a few days to process) so... you as an administrator might not want to add them to a security role when its pending, because what if they don't have enough money in the bank and it comes back failed?

    This is how the Dynamic Forms / IPN feature works... depending on what happens with the transaction (or subscription) over time, PayPal will continue to talk back to Dynamic Forms... So if its a subscription, you might have it set to send an email if the payment fails, or send another email if its pending, another if they cancel their subscription, or any other number of scenarios. This is why Dynamic Forms needs to be visible to all users, so that PayPal can silently talk back to it. We are working on a work around so that you can point the IPN URL back to another Dynamic Forms module on your site (that might be blank and just used to process IPN's) but hopefully that gives an explanation of why it has to be viewable to all users... PayPal cannot log into the site to tell Dynamic Forms what IPN status code was just processed...


    -Chad
    Chad NashUser is Offline
    Posts:5260
    Avatar

    --
    05-30-2008 08:48 AM
    Also... We are working on a more hands on tutorial that includes a walk-through with screenshots but as far as the completion events / PayPal IPN codes code... The first to for Success or Cancel should be tied to redirection completion events only. The remaining others should be used for any completion event BESIDES redirection / URL... The reason is that whenever the transaction is processed, the user could click cancel (and this reflects the Cancel redirect event), or they could succeed in the process (and be returned back to your site) which is why that should reflect the Success redirect. All other IPN status codes reflect silent processing where PayPal and Dynamic Forms talk to each other (and since its silent redirect completion events cannot be tied to those etc...)

    I understand this is confusing... I will try and build a tutorial and get it posted soon with screenshots... Bottom line is that the first two IPN status codes should be used for redirect completion events only, and the remaining IPN status codes should be used for any completion event BUT redirect events.


    -Chad
    Michael GrinnellUser is Offline
    going with the flow
    going with the flow
    Posts:31
    Avatar

    --
    05-30-2008 09:33 AM

    Chad,


    This helps.  I have used Paypal before but in just the context of html buttons that add items to a shopping cart.  This task is making me work through and understand now only Dynamic Forms work but also how Paypal works.  It's helpful to know that Paypal will continually be talking with the form.

    Mike

    Chad NashUser is Offline
    Posts:5260
    Avatar

    --
    06-04-2008 08:40 PM

    Hi guys... I wanted to keep this thread related to the PayPal issue and let everyone know that the other issue from Heitha was addressed in this thread related to emailing Getting dynamic e-mail to send when e-mail extension is the same as domain

    Thanks!

    -Chad

    HeatherUser is Offline
    wading in the water
    wading in the water
    Posts:23
    Avatar

    --
    07-08-2008 05:20 PM

    I just upgraded to 2.6 and am working on paypal integration. Is there anything new on this topic? Tutorials, etc.?  Thanks!  Heather

    Michael GrinnellUser is Offline
    going with the flow
    going with the flow
    Posts:31
    Avatar

    --
    07-08-2008 05:53 PM
    Hi Heather,

    I have a Paypal gateway in production now. What kinds of questions do you have? I may be able to help.

    Mike
    HeatherUser is Offline
    wading in the water
    wading in the water
    Posts:23
    Avatar

    --
    07-09-2008 04:22 PM

    Mike,

    Ok, I've spent some time today working through this and I was basically where you were with my understanding of html (adding simple paypal buttons) SO, I'm sure you know where I'm at.  I'm stuck---it looks like the communication with Paypal is happening (I'm being redirected thereand the tokens seem to be correct), but no completion event emails are firing.  I read your post about adding "pending" to the checkboxes...is that a permanent solution or just in the sandbox, or temporary?  I wasn't sure how that solved the problem.  Still working through all this.  Thanks so much for any help you can give!  Heather

    Chad NashUser is Offline
    Posts:5260
    Avatar

    --
    07-10-2008 07:06 AM

    Heather,

    Make sure that you have the Dynamic Forms module 'Viewable to all users'. Why? PayPal needs to be able to talk to Dynamic Forms to tell it that the payment is completed (or pending, canceled, etc...). So, first before we dig more into this... Is the form available to all users? Otherwise when PayPal tries to talk to it, the PayPal system (behind the scenes) is getting a login page to sign in)

    -Chad

    HeatherUser is Offline
    wading in the water
    wading in the water
    Posts:23
    Avatar

    --
    07-10-2008 10:33 AM

    Hi Chad. Yes, I made sure that the form was viewable to all users when I was testing it.  When I finished the payment, it went to page not found, and when I tried again and cancelled...same thing. (Those events are set for redirect) and I double checked the redirect urls and they were working fine. Also, no completion event emails were fired. Thanks for your help!  Heather

    Chad NashUser is Offline
    Posts:5260
    Avatar

    --
    07-10-2008 10:36 AM
    Ok. If you are signed in as the Administrator and add &Debug=True or ?Debug=True to the querystring it should put it in debug mode. This should show us what you are posting or sending to PayPal and might help with figuring out what is going wrong.

    Also, if you can setup a similar implementation on www.betasprings.com (login as host/dnnhost) this should be able to help us determine what is not configured or working properly.

    -Chad
    HeatherUser is Offline
    wading in the water
    wading in the water
    Posts:23
    Avatar

    --
    07-10-2008 11:38 AM

    I added the querystring.  Where should I look for the results?  Never worked with BetaSprings before...I'll give it a shot.  Heather

    Scott ElderUser is Offline
    skipping stones
    skipping stones
    Posts:10
    Avatar

    --
    08-24-2008 03:01 PM

    Any update on this issue?  I am having the same problems described in this thread. 

    I too am using PayPal gateway.  The Dynamic Forms module is viewable to all. 

    Here is what I am doing: 

    I have two events setup to handle cacelled orders with PayPal.

    1.  Simple redirect to a page that says CANCEL

    2.  Dynamic Email being sent to me (yes, same domain as my DNN Environment uses)

    The redirect event fires perfectly after canceling an order at PayPal.  Hoever, the email never fires.

    I have gone to the DNN Newsletter and used the same From and To email addesses to test DNN.  Everything works perfectly.

    Any update on this?  My versions are:

    DNN: 4.8.4

    Dynamic Forms:  02.60.70

    Thnaks,

    -Scott

    Scott ElderUser is Offline
    skipping stones
    skipping stones
    Posts:10
    Avatar

    --
    08-24-2008 03:17 PM

    I should also note that I have done nothing wtih PayPal's IPN settings.  Since the redirect event is firing, I would expect the email event to fire as well.

     

    Thanks,

    -Scott

    Chad NashUser is Offline
    Posts:5260
    Avatar

    --
    08-25-2008 10:43 AM
    Hi. For the email event to fire it MUST be tied to a PayPal IPN event. There are many reasons why this has to happen but for example, just because the 'Success URL' is set to be successful doesn't mean the entire transaction is successful. For example maybe the payment is 'Pending'. This would send the user to the success URL but maybe you want to send out a payment pending email instead of a success email, or maybe you want to add them to a security role only if its successful. The success url simply means the user has finished navigating with PayPal but doesn't mean the payment was completed.

    -Chad
    Scott ElderUser is Offline
    skipping stones
    skipping stones
    Posts:10
    Avatar

    --
    08-25-2008 10:48 AM

    Ok, I understand that, and would obviously not want to add someone to a roll unless I knew they payment was accepted.  However, I am not finding anything in the documentation of what links to use for IPN.  When enabling IPN in PayPal, it requires URLs.  Do I just use the URLs for my original subscription page (the one with the Dynamic Form), or do I need to create a seperate page?

     

    Thanks,

     

    -Scott

    Chad NashUser is Offline
    Posts:5260
    Avatar

    --
    08-25-2008 10:52 AM
    I am not sure I understand your implementation exactly... When enabling the PayPal gateway you should do this under Module Configuration, Payment Gateway, Enabled and set it to be PayPal. This will automatically create the links such as notification URL and so forth. There are many pages on www.betasprings.com (login as host/dnnhost) that can demonstrate the PayPal implementation and Candace is also working on several tutorials that should be ready around the 2.7 release so that will help. There are MANY threads and hot to's on the forums as well so I would search through those.

    -Chad
    Scott ElderUser is Offline
    skipping stones
    skipping stones
    Posts:10
    Avatar

    --
    08-25-2008 10:57 AM

    Chad,

    I am talking about PayPal's site.  Under the merchant profile you have to turn on IPN.  I'll continue to look through your forum, but my question has to do with the quote from PayPal below.  I have everything set up on my side just fine.

     

    Instant Payment Notification integrates PayPal payment notification and authentication with your website's back-end operations. Check this box to activate Instant Payment Notification, and enter the URL at which you will receive the payment notifications below.

    Chad NashUser is Offline
    Posts:5260
    Avatar

    --
    08-25-2008 01:03 PM
    Hi. This is probably something where you can specify a seperate PayPal IPN (notification) seperate from Dynamic Forms. When you enable it within Dynamic Forms I don't believe you have to go and enable it there. This might be for example if you wanted to send someone a PayPal Purchase link via Email or something that is seperate from Dynamic Forms. You might want the notification to still be sent out to that other page.

    Here is an example of something similar... In Snowcovered (for vendors) there is a similar area and we specify a URL on www.datasprings.com. This way whenever a purpose goes through it can post and save some additional data into our database. If we were using PayPAl (and not with Dynamic Forms, just standard PayPal) we might want a similar post to occur.


    When you use Dynamic Forms though and the feature is enabled it automatically turns the IPN notification on as it passes the URL for it to notify the page on.

    I would start with setting up a Sandbox account as this makes it much easier to test your implementations. I would also check out the test pages on Beta Springs as many of them outline specifically implementations for Purchases, Subscriptions, or even turning the Payment gateway on and off based on user input etc...


    -Chad
    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