Michael Posts:26
 going with the flow
 |
| 05/27/2008 4: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 Posts:9
 |
| 05/27/2008 9: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 extenstion 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 senerios and the problem is consistent. I know my e-mail account works because I tested that multiple times too.
Any ideas???
Thanks |
|
|
|
|
Chad Posts:2264
 river guide
 |
| 05/28/2008 9: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 Posts:9
 |
| 05/28/2008 10: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 Posts:2264
 river guide
 |
| 05/28/2008 10:42 AM |
|
| What version of Dynamic Forms and what version of DNN? |
|
|
|
|
Heitha Posts:9
 |
| 05/28/2008 10:48 AM |
|
DotNetNuke Version: 04.08.02 Dynamic Forms: 02.60.30 |
|
|
|
|
Michael Posts:26
 going with the flow
 |
| 05/28/2008 2: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 Posts:24
 going with the flow
 |
| 05/29/2008 2: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 Posts:2264
 river guide
 |
| 05/29/2008 4: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/DynamicFormsPayPalTesting/tabid/237/Default.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 Posts:9
 |
| 05/29/2008 5: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 Posts:26
 going with the flow
 |
| 05/29/2008 6: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 Posts:2264
 river guide
 |
| 05/30/2008 10: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 Posts:2264
 river guide
 |
| 05/30/2008 10: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 Posts:26
 going with the flow
 |
| 05/30/2008 11: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 Posts:2264
 river guide
 |
|
Heather Posts:15
 wading in the water
 |
| 07/08/2008 7: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 Posts:26
 going with the flow
 |
| 07/08/2008 7: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 |
|
|
|
|
Heather Posts:15
 wading in the water
 |
| 07/09/2008 6: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 Posts:2264
 river guide
 |
| 07/10/2008 9: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 |
|
|
|
|
Heather Posts:15
 wading in the water
 |
| 07/10/2008 12:33 PM |
|
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 |
|
|
|
|