• Hey there,

    First off, from the looks of it, this plugin is perfect for our needs. So thank you!

    That said, I’m having a couple issues that seem to be keeping it from working. I’ve installed it and set it up using input all transaction keys, etc. as asked. I then put in the short code on our Donate page. When I fill out the form and click “Next” the browser hangs for a bit and then attempts to leave me at the non-existant /donate-now/ page.

    The form can be seen at readasia.org/donate/

    Additionally, when viewing PHP logs, I found this:

    PHP Fatal error: Call to undefined function authorizepayment() in /srv/ftp/wordpress/public_html/wp-content/plugins/wp-donate/includes/donate-display.php on line 57, referer: http://staging.readasia.org/donate/

    Any thoughts on what may be not working quite right? Thanks for any help you can offer!

    http://wordpress.org/plugins/wp-donate/

Viewing 15 replies - 1 through 15 (of 15 total)
  • Thread Starter Firefly Imageworks

    (@firefly-imageworks)

    To follow up, I’ve updated the URL to take it from the “staging” subdomain shown in the error (in hopes that not making the site live at it’s actual URL would solve the issue). I’ve also updated WordPress URL and then uninstalled and reinstalled the plugin. Same issues arise however. :-/

    Thread Starter Firefly Imageworks

    (@firefly-imageworks)

    Oh, and now it causes the database to go down when the form is “sent”. Been having to restart it whenever that happens.

    Plugin Author ketanajani

    (@ketanajani)

    Hello Firefly,

    Thanks for downloading and using this plugin.

    First of all, can you please update your plugin and install according to instructions given in installation section.

    The implementation you shown at given link Here is totally different than what this plugin offers. This plugin provides donate form and payment options on the same site where you installed plugin. You just need to insert Authorize.net credentials there and it will work.

    It looks like you have modified plugin to work according to your requirements. When I visited your site it just asking to select donation amount and redirecting to https://secure.authorize.net/gateway/transact.dll for payment.

    I tested this plugin twice to reproduce the same error you shown on “donate-display.php” on line 57, but it worked for me without any error. So I think you may have modified the code and errors occurred due to it.

    Thanks,
    Ketan

    Thread Starter Firefly Imageworks

    (@firefly-imageworks)

    What actually happened was the folks I was collaborating with got impatient and I was forced to find another, presumably less ideal solution. That’s why it looks different. Sorry about that.

    That said, if your plugin does what I think it does, it would still be preferred, so I’ve set it up at a different page: http://readasia.org/donate-temp/

    Take a look at that and let me know your thoughts. It still hangs and looks for a nonexistent “donate-now” page on the site. All the same symptoms listed above. Thoughts?

    The only thing I’m pretty certain is not a result of the plugin is the database going down. I think that’s a problem with the client’s hosting service. Sorry about that, and thanks so much for the help!

    Plugin Author ketanajani

    (@ketanajani)

    Hello Firefly,

    It is redirecting because your URL is different from what it should. The default behaviour of plugin is that once you install and execute it’s URL is like “http://…/donate-now/”. But in your case it is “donate-temp”.

    This plugin always redirect after payment process to “donate-now” page, so if you need to modify the redirection process you can change URL at line number 63,68 in “trunk/includes/donate-display.php” according to your need. Like

    From:
    header("Location:".site_url().'/donate-now/');

    To:
    header("Location:".site_url().'/donate-temp/');

    and then it will look for donate-temp page instead of donate-now page.

    Thanks,
    Ketan

    Thread Starter Firefly Imageworks

    (@firefly-imageworks)

    I actually had tried that initially, not changing the code, but instead changing the donate page’s permalink to donate-now to see if that solved it. Still didn’t, and changing the line of code still doesn’t.

    That said, as you instructed, i’ve left that line of code to donate-temp now as instructed. Give it a try. Still hangs for me, unfortunately. :-/

    I am also facing the same problem, I have installed the plugin and added the shortcode [Display Donate] to the page.

    When I fill in the details& click on Next button the page redirects to /donate-now/ and hangs unfortunately.

    Thread Starter Firefly Imageworks

    (@firefly-imageworks)

    Ishaq,

    What ketanajani told me above was, basically, that the [Display Donate] shortcode should be placed on a page that has the permalink “/donate-now/”. If your General permalink settings are set to “Post Name” and your page is titled “Donate Now” this should happen automatically, but if not, it’ll take either renaming the page, editing the page’s permalink manually, or editing the php code within the plugin as he outlined above.

    Give that a try. It didn’t work for me, so my problem seems a little more serious, but I’m curious to see if it works for you.

    Hi Firefly

    Thanks for the help. I tried changing the permalink to “/donate-now/” and kept the page title as “Donate Now”. After filling in the details I get redirected to this url http://simrahgardens.3mwdev.com/wordpress/donate-now/ and it hangs showing a blank page.

    Could you guide me how you were able to redirect this page
    http://staging.readasia.org/donate/
    to https://secure.authorize.net/gateway/transact.dll

    and whether this page is functional(accepting donations) when credit card details are entered.

    Regards
    Ishaq

    Thread Starter Firefly Imageworks

    (@firefly-imageworks)

    Ishaq,

    Oh! Yea, I recommend reading through this whole thread to see what’s going on there, but basically, I had to dump the wp-donate plugin temporarily and find another, less ideal solution in the meantime (that’s the https://secure.authorize.net/gateway/transact.dll forwarded solution you see). It’s a modification of some code I found here: https://groups.drupal.org/node/20334

    Seems like you’re having the identical issue with wp-donate that I am. I’m still hoping to get it going as it seems to be a more ideal, integrated solution, but I’ll need more help from ketanajani in finding what’s wrong, and he’s not replied here with any possible solutions for a few days.

    ketanajani? Still out there?

    Thanks so much Firefly for sharing the link

    Regards
    Ishaq

    Hi ashish

    I have installed the updated plugin what changes do I have to make to REQUEST_URI expressions in if and else or should I leave the same way

    if
    header(“Location:”.site_url().$_SERVER[‘REQUEST_URI’]);

    else{ header(“Location:”.site_url().$_SERVER[‘REQUEST_URI’]);
    exit;}

    Regards
    Ishaq

    Thread Starter Firefly Imageworks

    (@firefly-imageworks)

    ketanajani,

    I just updated to the newest version of wp-donate, and it seems to have possibly resolved the hang/PHP error problem. Thanks for that.

    That said, a new issue’s arisen. I can’t process a donation, because it says the phone number is required despite having input a phone number. I’ve tried inputting my number with dashes as well as just numbers with no dashes, spaces, or parenthesis (just in case it’s a formatting issue). Nothing seems to make the error go away, however.

    Any thoughts on why it’s thinking there’s no phone number? It’s still located over at http://readasia.org/donate-temp/ if you want to kick the tires a bit more.

    Thanks!

    Hi Firefly

    The issue with the phone number has it been resolved by Ketan.
    Are you able to process a donation?

    Hey Ketan could tell us why this error is occurring.

    Thread Starter Firefly Imageworks

    (@firefly-imageworks)

    Ishaq,

    No resolution yet and no word from Ketan. I’m hoping I hear from him sometime as this seems like a pretty nit-picky last bug (hopefully). If so, I’m assuming he’ll post something here once he’s addressed it. I’d love for this forum to get that [resolved] tag sometime soon.

    Ketan,

    Still out there, my friend?

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘Hangs, Goes to non-existant page, PHP Error…’ is closed to new replies.