Matt Doak
going with the flow Posts:47
|
12-24-2009 10:42 AM |
|
Hi,
I have a role being assigned (Super Affiliate) on the completion of this form. The form has no fields, it's just a submit button that fires that event on a successful return from paypal.
- The event is set to fire on Any Response
- The event is set in the PayPal Gateway on Completed (Standard).
- The page that the form is on is visible to All Users
In the Event Viewer these are the events I'm getting:
Any ideas of why the role isn't actually being assigned?
Edit: I Also noticed this event appearing at the same time as the other ones... Not sure if that helps, but it seems to be relevant to assigning roles. (Sorry for the bad formatting, it kept taking the tags as literal html rather than displaying them as is.)
|
12/24/2009 2:18:43 PM User Role Created One World United logdetail: ... |
logdetail: < userroleinfo>< role>< rolename>< /rolename>< description>< /description>< billingfrequency>N< /billingfrequency>< billingperiod>0< /billingperiod>< servicefee>0< /servicefee> < trialfrequency> N < /trialfrequency> < trialperiod> 0 < /trialperiod> < trialfee> 0 < /trialfee> < ispublic>false< /ispublic>< autoassignment>false< /autoassignment>< rsvpcode>< /rsvpcode>< iconfile>< /iconfile>< roletype>none< /roletype>< /userroleinfo>
Server Name: J66R59 |
|
Thanks,
Matt |
|
|
|
|
David To
river guide Posts:2719
|
12-24-2009 10:57 AM |
|
HI, I don't know why you would have this on a separate DF form. On your DF form where the user fills out information and make payment, you should create a Role Completion Event and tie it to Paypal Complete (Standard) under Module Configuration / Payment gateway. Try this out and see if it works for you. It's not wise to separate the events on separate DF forms. Note that a single DF form can have multiple completion events tied to different Paypal status. -- David |
|
|
|
|
Matt Doak
going with the flow Posts:47
|
12-24-2009 01:19 PM |
|
What do you mean why would i have this on a separate DF form? This is the Super Affiliate Signup form. At this point, the user has already registered with our site in the past and we have all the information we need from them. We simply need to get the money and assign the role, if they choose to become a Super Affiliate that is (This is an optional form that they may never process if they choose not to). Having the role will give them access to the Super Affiliate stuff.
In this form the user clicks the submit button, makes the payment through Paypal, and then the role gets assigned. There is already a Role Completion Event tied to Paypal Complete (Standard) under Module Configuration / Payment Gateway.
All of these event logs happened because of the submission of that one form.
I'm just not sure why the form would seem to process properly, and those events got fired off, but the role never got assigned...
Matt |
|
|
|
|
Candace
river guide Posts:2431
|
12-28-2009 08:23 AM |
|
Hi Matt,
Sounds like you've got the basics covered but let me ask you a few more questions:
1. Is this in production, or are you using a PayPal Sandbox account?
2. Is the user logged in when filling out this form? When testing, are you logged in as host?
3. If you disable the PayPal gateway for a moment, does the role event fire at all?
I'll wait for your response. Thanks!
Candace
|
|
|
|
|
Matt Doak
going with the flow Posts:47
|
12-28-2009 08:51 AM |
|
1. I'm using a PayPal Sandbox account 2. Yes they are. No it was a different user, non-admin. 3. Yes, it does get assigned when the PayPal gateway is off. Matt |
|
|
|
|
Candace
river guide Posts:2431
|
12-28-2009 09:27 AM |
|
Thanks for checking, Matt. Can you give us temporary edit rights (preferably host) so we can check it for you? Please use the Contact Us form and give us the following:
1) the site URL 2) host login 3) your Sandbox main login 4) the passwords to your personal and business accounts in the Sandbox and 5) this thread's URL for reference.
Thanks!
Candace |
|
|
|
|
Chad Nash Posts:5260
|
12-28-2009 09:46 AM |
|
Yes... We might need rights and also the specific version # you are running on. If you go to host/module definitions it should show you there (such as 2.7.5 or 3.1.2 etc...) From the screenshot you sent (thanks for the specific details) the issue is related to the 'Processing UserID'. If you notice this is always 0 and it should be the actual UserID of the user signed in. This could be a specific bug with your version/DNN version it could be something else but that is why the role isn't getting added. -Chad |
|
|
|
|
Matt Doak
going with the flow Posts:47
|
12-28-2009 10:14 AM |
|
I sent the information Candace requested through the Contact Us form. We're running on DNN 5.2. The Dynamic Forms version is 3.1.3 as sent by Candace last week. Matt |
|
|
|
|
Candace
river guide Posts:2431
|
12-29-2009 02:26 PM |
|
Hi. Just wanted to share how this was resolved. Looks like the role completion event wouldn't fire properly if there are no fields on the form, in this case just a submit button. It worked when we added the First Name and Last Name fields & tied them to core properties. Finally, we set these fields to hidden field types instead of textboxes and it's working now. Thanks!
Candace |
|
|
|
|
t-bone
river guide Posts:77
|
06-18-2010 10:26 AM |
|
I'm having the same problem... only difference is i have a bunch of fields... paypal status (that works correctly and fires other completion events).. but not the role completion event. I'm I missing something else? |
|
|
|
|
Candace
river guide Posts:2431
|
06-18-2010 10:35 AM |
|
Hi t-bone,
A couple of questions for you:
1. Is the Role event tied to a 'completed' payment status in your PayPal gateway?
2. Is the event set to fire for 'any field response' or a specific user response? Please verify that this was not left at 'select dynamic field.'
3. Also, did you choose 'ADD / REMOVE ROLE?' Does it work if you select the 'Add Role' in the Role Action Type?
Let us know what happens. Thanks!
Candace
|
|
|
|
|
t-bone
river guide Posts:77
|
06-21-2010 03:51 AM |
|
1. Is the Role event tied to a 'completed' payment status in your PayPal gateway?
YES..
2. Is the event set to fire for 'any field response' or a specific user response? Please verify that this was not left at 'select dynamic field.'
Any field response...
3. Also, did you choose 'ADD / REMOVE ROLE?' Does it work if you select the 'Add Role' in the Role Action Type?
Didn't try add/remove role (why would i want to remove a role?).. doesn't work when using "add role".
|
|
|
|
|
Candace
river guide Posts:2431
|
06-21-2010 11:01 AM |
|
Thanks for your replies, t-bone. Can you confirm that other events are working (like email) except for the role event? Are you testing this while logged in as host or admin, or as a regular user?
When you go to Admin, Event Viewer, do you see the events firing in Debug Info? Please make a test and post a screen shot of your Event Viewer, items expanded so I can review. Thanks!
Candace |
|
|
|
|
t-bone
river guide Posts:77
|
06-21-2010 12:07 PM |
|
I should've looked harder.. the site was recently launched.. but we forgot to switch the customer's IPN status (on their Paypal account) to enabled and point it at the new URL.. so even though the form completion events were waiting for the status.. they never got them.. aiye aiye aiye.. My sandbox Paypal account fired everything perfectly. Sorry!! |
|
|
|
|
Candace
river guide Posts:2431
|
06-21-2010 02:49 PM |
|
Whew! I'm glad you figured it out. Thanks for letting us know!
Candace |
|
|
|
|