Passing paypal amount to Joomla Poll Module
Posted 06 September 2009 - 02:00 PM
Anybody have an idea of how I could do this? I'm thinking if I just used the standard poll module, there is the ability of PayPal to add special code to send back upon completion... or it can forward you a specified page that would read the paid amount and update the poll?
Let me know if you have any ideas.
Posted 06 September 2009 - 02:02 PM
$query = 'UPDATE #__poll_data' . ' SET hits = hits + 1' . ' WHERE pollid = ' . (int) $poll_id . ' AND id = ' . (int) $option_id ;
SET hits = hits + 1
I'd like to make it so that upon completion of a donation from paypal, it will advance the number of hits by whole numbers according to how much they donated.
AND id = ' . (int) $option_id ;I'd like to hardcode which option it sets the votes to as each vote option will have it's own PayPal donate/vote button for each option.
Now, anyone familiar with paypal enough to see how this could be done?
Posted 05 March 2010 - 12:11 AM
There is an IPN Script Generator at https://www.paypaltech.com/SG2/
That would be a good place to start.
Posted 16 August 2012 - 09:46 PM
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users