Search
 

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!

Email Completion Event not fired for PayPal
Last Post 01-31-2012 08:01 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
Thomas ForsterUser is Offline
Posts:15
Avatar

--
09-26-2010 03:25 PM
    I am using Ver:3.40.1.0 / 5.5.1 and try to use the PayPal gateway.

    With the payment Process I have 2 Problems:

    1. The PayPal completion events do fire the redirection events but no Email events.
    Neither the email event together with redirection or alone does work.
    However for a simple form without PayPal the Email Completion event works perfectly. Just for the PayPal no Email gets sent for all PayPal Payment Status Codes. Whats wrong? What can I test?

    2. I was never been able to receive a "completed (standard) status from PayPal. Only "Redirect Successfully" and "Redirect after Cancel".
    I am using the PayPal sandbox system and the payment process looks OK. However PayPal requires a "Return URL". maybe the "completed" status does not happen because PayPal is missing this return URL? To configure som of the PayPal features (such as auto accept payment) you need this return url.
    I am not shure what I have to enter as the return url. What should it be in order to allow PayPal to post to the DF module ???

    Thanks for your inputs

    Thomas
    CandaceUser is Offline
    river guide
    river guide
    Posts:2214
    Avatar

    --
    09-27-2010 10:59 AM
    Hi Thomas,

    Thanks for testing it without PayPal as that helps knock down some possibilities.  Please see this blog on PayPal and Completion Events and check your settings against the tips listed here.  The most common cause of this problem is when then page/module is not set to be visible to all users.  Let me know what happens.  Thanks!

    Candace
    Thomas ForsterUser is Offline
    Posts:15
    Avatar

    --
    09-27-2010 03:18 PM
    OK I checked the 5 points in the blog:
    1. yes the page and the module are set to "all users"

    2.I am using EnablePGateway to offer sending an invoice per email. I have used your demo 17 as a guidline to set things up. So yes, the fiels I am using is EnablePGateway.

    3. OK, I notice the statement "Remember, only a redirection event can be linked to “Redirect Successfully.” This explains why an email event bound to "Redirected Successfully" is not sent. But why do I never receive a completed event?

    4. PayPal "Payment Review" is set to disabled for both the buyer an the seller. The transactions completes normally on the sanbox accounts: the buyer get charged the creit card and the seller gets the mony indicated by a status line like this"27. Sep 2010 Zahlung von Test User Abgeschlossen Details".

    5. Because the sandbox indicates that the transfer is completed this is not an issue

    The events for the completed paypal state (email, role and redirect) fire, if paypal is disabled.
    I double checked that the events are wired to the "completed" state.

    I have defined a hidden field PayPalState and selected it in the PayPal section for "PayPal Last Status" (although I don'r now whether this is needed).
    I some posts I read that the form started working when changing from sandbox to production. Is sandbox not supposed to work correctly?

    I am a little bit clueless now...
    Regards
    Thomas
    Thomas ForsterUser is Offline
    Posts:15
    Avatar

    --
    09-27-2010 03:35 PM
    .
    CandaceUser is Offline
    river guide
    river guide
    Posts:2214
    Avatar

    --
    09-27-2010 03:39 PM
    Thanks for checking, Thomas.  There are a number of little pieces to check so it may seem confusing.

    So, when you linked your email event to a Completed payment status, you still don't receive the email, is that correct?

    Please go to Admin, Event Viewer.  Do you see any events related to your PayPal transactions?  Do you see any errors?  Can you copy and paste what you see there?

    Thanks!
    Candace
     

    Thomas ForsterUser is Offline
    Posts:15
    Avatar

    --
    09-27-2010 03:55 PM
    yes, thats correct. the email goes out if paypal is disabled, but does not work when wired to completed.
    Since I have defined a field to hold the last paypal status I have seen the folling in the results list:

    Accept : Ja
    Zahlungsweise : True
    Fname : SuperUser
    Lname : Account
    Road :
    Plz :
    Ort :
    Email : support@schuetzengarten-fanclub.ch
    PayPalState : Completed / web_accept(INVALID)

    So a stat of completed / web-accept(INVALID) does not sound optimistic.
    Could we have a problem with language (the paypal account is in german)?
    Any Idea?
    Regards
    Thomas
    Thomas ForsterUser is Offline
    Posts:15
    Avatar

    --
    09-27-2010 03:57 PM
    Ohh, I forgot:
    the event log does not show anything. was empty before the transaction and is still empty after the transaction.
    CandaceUser is Offline
    river guide
    river guide
    Posts:2214
    Avatar

    --
    09-27-2010 04:20 PM
    Can you please give me temporary edit rights so I can look in there for you?

    Please use the Contact Us Support Form and give me the following:

    1.  the URL to your Dynamic Forms page
    2.  a host login
    3.  your invoice ID
    4.  your PayPal Sandbox login
    5.  the Sandbox buyer account login
    6.  the Sandbox seller account login  and
    7.  the URL to this thread for reference.

    Thanks!
    Candace
    Chad NashUser is Offline
    river guide
    river guide
    Posts:4843
    Avatar

    --
    09-28-2010 03:54 PM
    Just a follow up on this, this is something that PayPal is returning directly as we don't really control that. Not sure why though, I do know that the system tries to go out and 'check' or 'post' back to PayPal so that we know the post is actually coming from PayPal (a valid post as this is a security issue if someone posted invalid credentials).

    So I am wondering if your site is hosted anywhere that for some reason wouldn't be able to ping something back to PayPal (like a FireWall?). Not sure, I just saw a couple threads on this too:

    https://www.x.com/thread/39059

    http://paypaldev.org/yaf_postsm4017...ccept.aspx

    I do see this listed here:
    https://www.paypalobjects.com/html/wa_manual.pdf

    PayPal will respond to the post with a single word, "VERIFIED" or "INVALID", in the body of the response. When you receive a VERIFIED response, you need to check that the "payment_status" is "completed"

    If you receive an "INVALID" notification, it should be treated as suspicious and investigated.

    Whatever that means

    Candace - It might be better if you tested with our Sandbox at some point that way we can determine if its the form setup or if its the Sandbox / PayPAl account.

    -Chad
    Thomas ForsterUser is Offline
    Posts:15
    Avatar

    --
    10-04-2010 03:53 AM
    It works perfectly. One just need to setup things correctly....
    Ryan BakerinkUser is Offline
    river guide
    river guide
    Posts:1178
    Avatar

    --
    10-07-2010 02:02 PM
    Hello Thomas,

    We're glad to hear everything is working great for you now.

    If you have any questions please let us know.

    Thanks,

    Ryan
    Silvio BoeschUser is Offline
    skipping stones
    skipping stones
    Posts:13
    Avatar

    --
    01-25-2012 04:38 AM
    Posted By Silvio Boesch on 01-25-2012 05:38 AM
    Posted By Silvio Boesch on 01-25-2012 05:38 AM
    Posted By Silvio Boesch on 01-25-2012 05:38 AM
    Hi,

    I know that this thread is older but it seems that I have exactly the same problem: e-mail events are not fired after paypal payment is complete. Could you tell me what did you have to change to make it work?

    DotNetNuke: 05.06.02
    Dynamic Forms: 03.40.50

    I have this message in event log after payment is complete:

    Dynamic Forms PayPal Web Response Status: 200
    PayPal Response: INVALID
    Payment Status: : Completed
    Txn_type: web_accept


    Why is PayPal Response INVALID? I tried PayPal in sandbox and normal mode. Same error on both.

    Thanks for you support!
    Silvio
    Silvio BoeschUser is Offline
    skipping stones
    skipping stones
    Posts:13
    Avatar

    --
    01-25-2012 05:55 AM

    Sorry for double-post but comments can only be edited within 35minutes.  Here is my configuration:


    Configuration:
    - Page & Module is visible to all users (and PayPal)
    - All events should be fired on "any field response"
    - EnablePGateway is in use, because the visitor can choose payment type. All events are fired without PayPal.

    Event / IPN Bindings:
    - "Redirect to Thank You Page" :  "Completed (Standard)"
    - "Send Mail to Admin" : "Completed (Standard)"
    - "Send Mail to Customer" : "Completed (Standard)"


    CandaceUser is Offline
    river guide
    river guide
    Posts:2214
    Avatar

    --
    01-25-2012 08:11 AM
    Hi Silvio,

    Typically, when you get an INVALID, it's either because you are not sending it to the correct URL or there is something wrong with the string you're passing to PayPal. For example, you might have tried to make the transaction using a sandbox buyer account after you switched to normal (production) mode or you might not have switched the PayPal email address in the PayPal Gateway. It could also mean that you have it on subscription instead of purchase (or vice versa).

    I would suggest that you run another test but make sure that 1) you are on production, 2) you have the correct, email address, and 3) you use a live paypal account to make the purchase.

    If the problem continues, please enable debug info at the top of the form and fill it out then hit submit. Then send us the resulting PayPal post that you get. Thanks!

    Candace
    Silvio BoeschUser is Offline
    skipping stones
    skipping stones
    Posts:13
    Avatar

    --
    01-26-2012 12:25 AM

    Hi Candace,

    thanks for your help.

    I ensured that I use the live paypal environment with a valid e-mail address. The transaction actually works (I receive a confirmation by paypal), but still get an INVALID PayPal response in event viewer and the DynamicForm Events are not firing (neither redirects nor emails)


    Here is what I get with enabled debug mode:

    Debug Mode, PayPal URL:https://www.paypal.com/cgi-bin/webscr/cgi-bin/webscr?cmd=_xclick&business=licenses@domain.com&cancel_return=http://domain.com/HelfenSieuns/Patenschaft/OnlineAnmeldeformularPatenschaft/tabid/295/PayPalReturn/True/Payment/Cancelled/UniqueCompletionID/2e6dae49-3f82-4c83-b79a-d5f9ae3c4376/FormModuleID/919/language/de-DE/Default.aspx¬ify_url=http://domain.com/HelfenSieuns/Patenschaft/OnlineAnmeldeformularPatenschaft/tabid/295/PayPalReturn/True/Notify/IPN/UniqueCompletionID/2e6dae49-3f82-4c83-b79a-d5f9ae3c4376/FormModuleID/919/language/de-DE/Default.aspx&return=http://domain.com/HelfenSieuns/Patenschaft/OnlineAnmeldeformularPatenschaft/tabid/295/PayPalReturn/True/Payment/Sucess/UniqueCompletionID/2e6dae49-3f82-4c83-b79a-d5f9ae3c4376/FormModuleID/919/language/de-DE/Default.aspx&item_name=TurtleFoundation¤cy_code=CHF&amount=120&no_shipping=1&first_name=test&last_name=test&email=user@domain.com&address1=test&zip=9470&city=test

    (I changed the domain because the website should not get indexed by search engines yet)

    Take a look at the last row and the currency parameter. The ampersand (&) changed to this symbol ¤ because "& curren" (without spacing) is the  html value of this. It probably will only be rendered like this in the html result of debug mode, right? I also tried to change this parameter to & currency in gateway settings, but still receive a INVALID PayPal response. I used real and valid values in the form.


    The parameters should be correct:

    &item_name=TurtleFoundation&currency_code=$(Currency_Text)&amount=$(TotalAmount)&no_shipping=1 &first_name=$(Vorname)&last_name=$(Nachname) &email=$(E-Mail)&address1=$(Adresse)&zip=$(PLZ)&city=$(Ort)


    Any idea?



    Thanks, Silvio

    CandaceUser is Offline
    river guide
    river guide
    Posts:2214
    Avatar

    --
    01-26-2012 08:26 AM
    Yes, we see this (& changing to ¤) but only in debug mode and it doesn't seem to affect the PayPal function at all.

    I may need to do some tests myself. Is this happening on the Sandbox account, too? If it is, please switch it to the sandbox account and use the Contact form to give me the following:

    1. the main sandbox login (useername and password)
    2. the test buyer and seller login
    3. the URL to your Dynamic Forms page
    4. a host login

    Thanks!
    Candace
    Silvio BoeschUser is Offline
    skipping stones
    skipping stones
    Posts:13
    Avatar

    --
    01-31-2012 12:39 AM
    Just FYI: it is working now!

    The reason for INVALID PayPal response was that the account was not configured as a SELLER.
    I thought that everybody with a PayPal account can receive money. Actually, the transaction worked, but it seems that you need a seller account to get a VALID PayPal response and make the completion events assigned to IPN responses work.

    (This might be clear if you'd like to sell something with this module, but for example if you're using Dynamic Registration together with the PayPal gateway you probably don't have a seller account and you are wondering why the completion events are not working properly.)

    Thanks for support!

    CandaceUser is Offline
    river guide
    river guide
    Posts:2214
    Avatar

    --
    01-31-2012 08:01 AM
    Glad you got it working, Silvio, and thanks for sharing what you found!

    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.