FundRaiser Pro

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
3/24/2015 5:05:01 PM
Gravatar
Total Posts 16

FundRaiser Pro

Originally, I had FundRaiser Pro configured using PayPal Express.  The client wanted it switched to PayPal Standard so that customers can use PayPal without an account.

I followed the instruction in the PayPal setup for PayPal Pro.  I created a button on the home page which properly posts payments.  when used with FundRaiser Pro, it creates the correct receipt, which lists the information from the FundRaiser, but then it does not return the information back into FundRaiser Pro so the donation is not recorded.

Any ideas?

Michele

 

 

 

 

3/25/2015 8:00:08 AM
Gravatar
Total Posts 18439

Re: FundRaiser Pro

If you are copying and pasting html for buttons from paypal, that is never going to work correctly.

All of our ecommerce features including Fund Raiser Pro support PalPal Standard, and if configured correctly will surface their own buttons without you adding any html.

With PayPal Standard you need to configure settings in your paypal account on the paypal site for the PDT (Payment Data Transfer) and IPN (Instant Payment Notification) urls that paypal will use to notify your site of the transaction. PDT is not guaranteed, it only happens if the user clicks the link to go back to your site. IPN is the reliable way because it happens even if the customer does not come back to your site paypal makes a server to server post of the transaction. Typically you should configure both, sometimes pdt will happen first in which case the ipn post is redundant but does not hurt anything.

paypal has recently revamped their site so the settings may not be in the exact same place they used to be, you may have to look around for them but they should be there.

3/25/2015 8:35:37 AM
Gravatar
Total Posts 16

Re: FundRaiser Pro

Sorry about the confusion.  The html button for PayPal is on the home page and is not connected to FundRaiser Pro at all.  Just a donate button, and doesn't tie into FundRaiser.

I am not pasting any code into the FundRaiser system at all.  Just using what was there already.  There is a PayPal button, then you go to PayPal, but you don't return to the Pay Now button.

Here is an error I found in the system log file:

 

2015-03-24 11:15:29,961 INFO 192.168.1.10 - en-US - /mojoportal/Services/PayPalPDTHandler.aspx?tx=91P27292H75655257&st=Completed&amt=1%2e00&cc=USD&cm=cd98fbe8%2d3472%2d4c1b%2db4d4%2d894d0387e183&item_number= - mojoPortal.Web.Services.PayPalPDTHandler - invalid ptd request no valid provider found http://localhost/mojoportal/Services/PayPalPDTHandler.aspx?tx=91P27292H75655257&st=Completed&amt=1.00&cc=USD&cm=cd98fbe8-3472-4c1b-b4d4-894d0387e183&item_number=
 

3/25/2015 8:36:56 AM
Gravatar
Total Posts 16

Re: FundRaiser Pro

Note:  This error came from my local version, but I have similar errors in the live website.

 

3/25/2015 8:50:33 AM
Gravatar
Total Posts 18439

Re: FundRaiser Pro

the donate button on your home page is not going to integrate with Fund Raiser Pro. If paypal posts an ipn or pdt from a transaction from that button it would be expected to log an error.

when the built in button in Fund Raiser posts to paypal it includes data that paypal will send back, a guid that corresponds to RowGuid in mp_PayPalLog

the PayPalPDTHandler.aspx and the ipn handler page lookup the row in the log to determine which provider handles processing, then invokes the handler provider to process it. if it can't find a matching provider it logs this error. this is how these urls are used for all ecommerce features and delegate the processing to the correct feature

so either the post did not correspond to a row in the paypal log and could not be processed, ie from some other unrelated paypal button like the one on your home page

or the provider is not plugged in. fund raiser includes its own files in the folders /Setup/ProviderConfig/paypalpdthandler and /Setup/ProviderConfig/paypalipnhandlers that plug in its handlers as providers. if the files were missing then it would also result in the same error, no matching provider found

3/25/2015 9:12:03 PM
Gravatar
Total Posts 16

Re: FundRaiser Pro

I think I may have found an issue.  In the fundraiser pro config file for pdt handler (sts-fundraiser-paypalpdthandler.config), it's name is FundRasierPayPalPDTHandler:

<?xml version="1.0" encoding="utf-8" ?>
<PayPalPDTHandlerProviders>
 <providers>

  <add name="FundRaiserPayPalPDTHandler"
    type="sts.FundRaiser.Web.UI.PayPalPdtHandler, sts.FundRaiser.Web.UI"
    description="FundRaiserPayPalPDTHandler" />

  
 </providers>
</PayPalPDTHandlerProviders>

In the PayPal log, it's looking for FundRaiserPayPalPDTHandler.

PDTProviderName: FundRaiserPayPalPDTHandlerProvider

Could this be causing the problem?

 

 

3/26/2015 7:12:10 AM
Gravatar
Total Posts 18439

Re: FundRaiser Pro

the name in the mp_PayPalLog data should match the name attribute in the xml config file, if it does not that would definitely be a bug. In that case you could fix it by editing the config file to make it match the db. If you confirm this bug I will fix it in the master copy.

3/26/2015 10:34:24 AM
Gravatar
Total Posts 16

Re: FundRaiser Pro

Joe,

Payments are now working to PayPal standard.  I changed the three FundRaiser Pro PayPal config file to include the word provider like this example:

<add name="FundRaiserPayPalIPNHandlerProvider"

Now payments are merrily posting away to the correct FundRaiser module.

Thanks for the help figuring this out.

Michele

 

 

 

 

 

3/26/2015 11:15:26 AM
Gravatar
Total Posts 18439

Re: FundRaiser Pro

Hi Michele,

Glad it is working now.

Unfortunately I've only sold a few licenses for Fund Raiser Pro so you are probably the one using it most and the one finding the bugs.

Thanks for reporting this, I have corrected it in the download and in the master copy.

Note however that no change was needed in paypalreturnhandler, that one was correct and is used with PayPalExpress so it was working correctly before.

Thanks,

Joe

3/26/2015 11:23:21 AM
Gravatar
Total Posts 16

Re: FundRaiser Pro

No problem.  Glad I can help debug.

If you want to see FundRaiser Pro used in all it's glory, go to https://www.myinventionconvention.org/ohio-choice-inventors-award and select the letter menus on the left.  You will see we are using it to raise funds for the Invention Convention.  People can log in and vote for their favorite invention.  $1 = 1 Vote.

Thanks again,

Michele

 

 

 

3/26/2015 11:28:58 AM
Gravatar
Total Posts 18439

Re: FundRaiser Pro

That looks great! It is certainly a usage scenario outside of what I originally envisioned people would use it for, which makes it even more interesting.

You must sign in to post in the forums. This thread is closed to new posts.