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!

PayPal and Completion Events
Last Post 10-05-2009 12:38 PM by jerops. 10 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
jeropsUser is Offline
river guide
river guide
Posts:99
Avatar

--
10-04-2009 08:24 PM

    Hi,

    I'm using DF 03.00.31 on a DNN 495 portal and I've setup a form to use PayPal.  I've finally completed my form setup and fully tested my question events and completion events successfully with PayPal in sandbox mode...

    My issue is now that I've switched to Production mode,  My completion events where I put a user in a role upon successful transaction is not running.  I know that the module is getting the right code, because I have another completion event that re-directs the URL upon successful completion.

    Does anyone have any ideas on why this is not working in production mode?

    Thanks
    Jerry

    David ToUser is Offline
    river guide
    river guide
    Posts:2719
    Avatar

    --
    10-05-2009 06:41 AM
    HI, can you look at Admin / Event Viewer and trace the progress of your completion events and see if there's any error when trying to add a user role? IS production mode on the same website / server / Dynamic Forms module? -- David
    jeropsUser is Offline
    river guide
    river guide
    Posts:99
    Avatar

    --
    10-05-2009 07:06 AM

    Hi,

    Looking at the event viewer I see I get the following code from the PayPal sandbox upon successfull payment: Txn_type: web_accept
    and TXN_TYPE - PaymentSuccessful.

    Production mode is on the same website/server/and DF module.  I simply changed the settings from sandbox to production and changed the PayPal email address.

    Under the PayPal settings I have both Redirect Successfully and Completed (Standarded) checked to run my completion events...should I have just one checked?

    Also my email completion events are not going out as well, I get the following error:

    ssemblyVersion: 04.09.05
    PortalID: 0
    PortalName: Omaha Sports Club - Adult coed leagues for Volleyball, Golf, Darts, Pool, Bowling, parties, social activite,sports leagues
    UserID: -1
    UserName:
    ActiveTabID: 155
    ActiveTabName: OSC Cart
    RawURL: /OSCCart/tabid/155/PayPalReturn/True/Notify/IPN/UniqueCompletionID/6aec2e78-9ad4-4603-bcfd-464aed91a054/FormModuleID/664/Default.aspx
    AbsoluteURL: /Default.aspx
    AbsoluteURLReferrer:
    UserAgent:
    DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
    ExceptionGUID: 1b3a1c1a-6f32-43a4-b873-fcb7cc060b01
    InnerException: The specified string is not in the form required for an e-mail address.
    FileName:
    FileLineNumber: 0
    FileColumnNumber: 0
    Method: System.Net.Mime.MailBnfHelper.ReadMailAddress
    StackTrace:
    Message: System.FormatException: The specified string is not in the form required for an e-mail address. at System.Net.Mime.MailBnfHelper.ReadMailAddress(String data, Int32& offset, String& displayName) at System.Net.Mime.MailBnfHelper.ReadMailAddress(String data, Int32& offset) at System.Net.Mail.MailAddressCollection.ParseValue(String addresses) at System.Net.Mail.MailAddressCollection.Add(String addresses) at System.Net.Mail.Message..ctor(String from, String to) at System.Net.Mail.MailMessage..ctor(String from, String to) at DotNetNuke.Services.Mail.Mail.SendMail(String MailFrom, String MailTo, String Cc, String Bcc, String ReplyTo, MailPriority Priority, String Subject, MailFormat BodyFormat, Encoding BodyEncoding, String Body, String[] Attachment, String SMTPServer, String SMTPAuthentication, String SMTPUsername, String SMTPPassword, Boolean SMTPEnableSSL)
    Source:
    Server Name: GENERIC57


    Thanks for your help!
    Jerry

     

    David ToUser is Offline
    river guide
    river guide
    Posts:2719
    Avatar

    --
    10-05-2009 07:33 AM
    HI, it doesn't seem to like your email address that you changed under Paypal email address. Can you verify / recheck and see if this email is valid? Can you send an email to this address without getting bounce back using your regular email account?

    As for completion events, yes you can have than one completion event tied to Paypal success payment. Is your Completed (Standarded) event the one that fire the "Add User Role"? -- David
    jeropsUser is Offline
    river guide
    river guide
    Posts:99
    Avatar

    --
    10-05-2009 09:08 AM
    Hi,

    The email address is valid...have re-checked and no bounce back....

    Regarding the completion events I have both Redirect Successfully and Completed (Standard) Tied to the completion event where it adds the role.

    I wonder if in the email completion event if it doesn't like the $Email token in the send to box? Should it be '$Email' versus just $Email?

    Jerry
    David ToUser is Offline
    river guide
    river guide
    Posts:2719
    Avatar

    --
    10-05-2009 12:01 PM
    Hi, try $(Email) instead. -- David
    jeropsUser is Offline
    river guide
    river guide
    Posts:99
    Avatar

    --
    10-05-2009 12:09 PM
    I will try that with the email...thanks.

    However, I guess I'm confused about the Completion Event...For example I have Role Completion event and then I select the completion event I tick both Redirect Succesfully and Completed(standard)...do I need to have only one option checked at a time? And create a completion event for each IPN Event...1 for Redirect Successfuly and one for Completed(standard)?

    Jerry
    David ToUser is Offline
    river guide
    river guide
    Posts:2719
    Avatar

    --
    10-05-2009 12:16 PM
    Yes, I believe you need to tie your DF role completion event to only one Paypal event and not two. In your case, tie your role completion event to Paypal's Completed (standard). Another words, you can tie a single Paypal event to multiple Form completion events but you should only have one Form completion event tied to one Paypal event.

    Also, make sure your Dynamic Forms completion event is set to trigger on any response. -- David
    jeropsUser is Offline
    river guide
    river guide
    Posts:99
    Avatar

    --
    10-05-2009 12:27 PM
    Thanks...I will test that...On my form, I do have the ability to select different items...and based on the item you select it will put you in a specific role...
    For example
    ITem 1 = role 1
    Item 2 = role 2...etc...

    I have a role completion event tied to the questions that determines the item you choose. So in this case I have two possible role completions events and based on the choice, it will put you in a role. Then on the PayPal IPN success I run both of these completion events....will this work? Or for the PayPal completion event to work, it has to be set to trigger on any response?

    Jerry
    David ToUser is Offline
    river guide
    river guide
    Posts:2719
    Avatar

    --
    10-05-2009 12:33 PM
    I believe for Paypal completion to work, it would have to be set to trigger on any response. Maybe that's why your role completion isn't being triggered. -- David
    jeropsUser is Offline
    river guide
    river guide
    Posts:99
    Avatar

    --
    10-05-2009 12:38 PM
    What's weird is when I was testing against the PayPal sandbox, my role completion events worked, but when I switched to production they stopped working...that might be the case for the PayPal production setting....I will test and let you know.

    Thanks for your help!
    Jerry
    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