drupal lm_paypal sudden stop work
My lm_paypal subscription installation was working like a charm and then all of sudden it stopped working. I had a nightmare of a life for the next 2 days as I had a deadline at work (click here to view the project). Like I am trying to search for the bug 24 hours day and night for those 2 days and finally i found out that in the lm_paypal_subscriptions.module file approx line 555 should be:
$form = “\n<form action=\”https://$_lm_paypal_host/cgi-bin/webscr\” method=\”post\” $onsub>\n”;
instead of
$form = “\n<form action=\”http://$_lm_paypal_host/cgi-bin/webscr\” method=\”post\” $onsub>\n”;
I mean can you believe such a small mistake … well this is what programming is all about!
You ask me why the code which was working before was not working afterwards, I think the reason could be paypal upgrades.
But don’t worry the latest versions of lm_paypal have corrected this mistake it is only for users you are using the older version of lm_paypal.