schuhtl
river guide Posts:82
|
08-04-2008 05:08 AM |
|
When PayPal is enabled (under payment gateway) my form completion event is not working. The event is not complicated...it is just inserting the form data into a table. Anyway, when I enable PayPal and submit the form I can make the purchase sucessfully but the event does not get executed. I have read almost every post in the forums and I keep thinking that I have things set correctly but still no luck. Is there anything special I need to do on the PayPal side other than have my account enabled? Any help would be appreciated!
Here are my settings:
ALL USERS can view the form....
Enable Payement Gateway = Yes
Payment Gateway = PayPal
Test Mode = Not checked
PayPal Login = my test account email
PayPal Purchase Type = Purchase
PayPal URL = sandbox.PayPal.com(test)
Additional Parameters =
&item_name=$(TesttId)&amount=$(TestFee)¤cy_code=USD&quantity=1&no_shipping=1
Form Completion Events = EvtInsertFormTestData
PayPal Payment Status = Pending
|
|
|
|
|
Candace 616
river guide Posts:105
|
08-04-2008 07:42 AM |
|
Hi Troy,
Thanks for providing details here. The main thing that caught my eye was the PayPal Payment Status being Pending. Did you intentionally tie your completion event to occur when the status is pending? If not, and you want this completion event to fire when payment is completed, then I suggest you link the event to 'Completed (Standard).
A couple more things to check. Please make sure that you are logged into your Paypal Developer Acct and make sure your form is visible to all users so PayPal can 'talk' to it.
Try these and see if they fix it for you. Let us know if you have additional questions, ok?
Thanks,
Candace |
|
|
|
|
schuhtl
river guide Posts:82
|
08-04-2008 09:48 AM |
|
Candace,
Thank you for your quick response!
I have actually set each event one by one and tried to submit the form and I still do not get my completion event to fire.
I have verified that I am logged into the PayPal Developer account as well.
Still no luck!
Troy |
|
|
|
|
Candace 616
river guide Posts:105
|
08-04-2008 11:14 AM |
|
Troy,
I'd like to review this further. Can you open up a support ticket on snowcovered.com and give us temporary edit rights to your site? Please provide username/password (preferably as host).
Thanks,
Candace
|
|
|
|
|
Chad Nash Posts:5260
|
08-04-2008 11:46 AM |
|
Troy, Hi. A few things to go along with this.... 1. Please go to Page Settings and double check that the page (and then the module) on the page is set to be viewable to 'All Users'. If you send everything to PayPal and the page that the user is supposed to go back to is not viewable to all users, then PayPal cannot talk to your form to process PayPal IPN codes. 2. Is 'EvtInsertFormTestData' a SQL statement/event? If so temporarily change it to be an email event, this way you will be notified when the IPN event fires and you don't have to wonder if the SQL is executing. Once you can verify its linked up to the PayPal IPN properly, you can change it back to the the SQL statement you are wanting to use. 3. If you turn off PayPal does that SQL event fire properly? 4. Ummm... If you add &Debug=True to the querystring (when signed in as admin) it should spit out the specific information that is sent to PayPAl. So if your form is on the page as www.yoursite.com/TabID/54/default.aspx, you should load the page as www.yoursite.com/tabID/54/default.aspx?Debug=True This will spit out the exact information send to paypal. Specifically check the URL to the &NotifyURL= is set to 5. Each IPN notification is processed as a 'DEBUG' info, if you go to Admin, Event Viewer, then within the menu add the option to enable 'ALL' for the 'DEBUG INFO' type you should see each IPN notification that comes back from PayPal. -Chad |
|
|
|
|
schuhtl
river guide Posts:82
|
08-04-2008 06:00 PM |
|
Chad,
Here are my responses in the order above:
1. I verified that the page is viewable to all users (the module is set to inherit permissions from the page).
2. I changed EvtInsertFormTestData to a email event and I guess the IPN event did not fire because I did not receive the email.
3. If I do turn off PayPal the SQL event does fire.
4. I don't see anything when I add debug= true....I just see the paypal screen asking me to login but all of my form info is populated within paypal so I think that part is working.
5. I don't see any Debug Info events under Admin>Event Viewer.
Thanks,
Troy
|
|
|
|
|
schuhtl
river guide Posts:82
|
08-06-2008 08:39 AM |
|
Everything is working perfectly now thanks to Candace and Chad! FYI...verify that you have friendly url's enabled if you feel you have tried everything and your completion events are not working! Host>Host Settings>Advanced Settings>Friendly URL Settings....make sure that the "Use Friendly Url's" checkbox is checked! Here are my current settings: Enable Payement Gateway = Yes Payment Gateway = PayPal Test Mode = Not checked PayPal Login = my test account email PayPal Purchase Type = Purchase PayPal URL = sandbox.PayPal.com(test) Additional Parameters = &item_name=$(TesttId)&amount=$(TestFee)¤cy_code=USD&quantity=1&no_shipping=1 Form Completion Events = EvtInsertFormTestData PayPal Payment Status = Completed (Standard) |
|
|
|
|
Fanny Lie
new to the springs Posts:1
|
11-18-2008 06:56 PM |
|
Hi Troy, I've tried to follow your steps but completion event still not working. 'Use Friendly Url's' is checked as well like you mentioned. Any suggestion? |
|
|
|
|
Candace
river guide Posts:2431
|
11-25-2008 02:16 PM |
|
Fanny, Did you get this working or do you still need help? I understand from the email you sent that you were on a local host. Has this changed yet? Candace |
|
|
|
|
jerops
river guide Posts:99
|
09-09-2009 06:41 AM |
|
Hi,
I'm having an issue with this on a DNN 495 portal using DF 03.00.31.
I've done what's been suggested here and can't get my completion event to add a role to the user. However, my completion event for page redirection works.
My settings are:
a) The Dynamic Forms page is set to be visible to all users.
b) In Payment Gateway settings are:
Enable Payment Gateway = Yes
Payment Gateway = PayPal
Test Mode = checked - (I've also tried unchecked)
c) In PayPal Gateway settings are:
- PayPal URL = Sandbox (Test)
- PayPal Last Status = Transaction Status (a hidden field in the Dynamic Form)
The form is sending the correct info to the paypal sandbox and in the event viewer I show the following:
Any ideas on why this isn't working? The following is the parameters I'm sending to the sandbox:
&item_name=ItemName¤cy_code=USD&amount=30.00&image_url=http://www.mysite.com/portals/0/PayPalGRFX.jpg&item_number=MBR2_2010&no_shipping=1&handling=1.50&on0=TimeFrame&os0=Aug1_Feb29_2010&first_name=[User:firstname]&last_name=[User:lastname]&email=[User:email]
Is it that I'm using the DNN Tokens for the FirstName, LastName and Email, that's preventing from working?
Thanks for your assistance.
Jerry |
|
|
|
|
David To
river guide Posts:2719
|
09-09-2009 07:21 AM |
|
Hi, you are passing tokens for Firstname,Lastname and Email incorrectly. It should be: &first_name=$(FirstName)&last_name=$(LastName)&email=$(Email) Make sure you have these shortnames on your DF page as "shown fields" or "Hidden fields" so they can be processed and passed to Paypal. -- David |
|
|
|
|
jerops
river guide Posts:99
|
09-09-2009 09:22 AM |
|
Hi, Actually I've narrowed downt he issue...I had the DF module in test mode and my PayPal Sandbox Buyer account in test mode...Once I Unchecked the Test Mode on the DF module and Disabled Test Mode on the buyer account, the IPN message came through correctly and ran my completion events. I did add hidden fields for FirstName(SN=FName), LastName(SN=LName), and Email has (EMail) and linked to their respective profile property. PayPal also recorded that as well. Now my issue is the completion event is not setting the role expiration date correctly. I have set an end date as 02/29/2010 but the user gets the role with no expiration date. Any ideas on how to get that to work? Thanks Jerry |
|
|
|
|
jerops
river guide Posts:99
|
09-09-2009 07:01 PM |
|
Hi,
I have not been able to get it work. I'm using DF 03.00.31 on a DNN 495 portal.
I can't seem to get the Role Expiration date to work. I've used a completion event to add a role with a expiration date of 02/29/2010. It will add the role but not the expiration date...
I've also tried setting up a SQL Event to add the expiration date to the user with the role, but that doesn't work either...
Do you have any suggestions on how I can get this to work?
Thanks
Jerry |
|
|
|
|
Candace
river guide Posts:2431
|
09-10-2009 08:17 AM |
|
Hi Jerry,
I got your email and this should be working on DF 3.00.31. Can you please try to duplicate this over at our test site? Go to www.betasprings.com, log in with host / dnnhost and set up your page under Dynamic Forms. Then, please give us your page URL and your test results so we can further review it. Thanks!
Candace |
|
|
|
|
jerops
river guide Posts:99
|
09-10-2009 11:20 AM |
|
Hi Candace,
I've setup a test page like you requested and emailed you the details on how I have the module setup.
Thanks again for you help.
Jerry |
|
|
|
|