I do believe it now works - too many issues with IPN, but it seems to work just fine with PDT (DJMaze lent me a bit of code). Tested in the sandbox and also live
Still a few admin details - database queries is not terribly efficient, but since it's admin, it's not a show stopper - a rewrite would be nice, but I just don't have time.
Some basic documentation, and a bit of code tidying to do - even so, by Dragonfly standards, the code is extremely clumsy and inefficient.
Seems to be working pretty well. Of the 15 donations my site has received since yesterday, 13 of them were recorded properly. No idea why 2 were 'missed' though. No errors have been kicked up that I can find, I ended up manually through the database.
If/when time allows perhaps a way to manually add donations (for those that fail to work or those that donate through other means) in the admin area would be a good idea.
One issue I did come across is that the default amount choosen is being ignored. No matter what I choose it defaults to whatever amount is at the bottom of the list.
hmm, my stupid fault, I recoded that to get rid of a compliance error and forgot to make the variable exclusive. Attached index.php fixes it. I've also updated the full download with some other admin and block mods - no db changes, so simple file upload.
Attachment:
index.zip
Description
Filename
index.zip
Filesize
2.33 KiB
Downloaded
1 Time(s)
You are not allowed to view/download this attachment
I remembered another issue, and I checked it does still exist as I updated to the latest version ;), if in admin>config you change 'show date' to no it only removes the date from the module, in the block the date still shows. I did not check to see if the same thing happens with amounts though.
thanks - they are controlled separate to the module, in the upper section, however, there was a formatting problem when changed, so attached is an update block, plus the main download is updated
Attachment:
block-donat_o_meter.zip
Description
Filename
block-donat_o_meter.zip
Filesize
2.47 KiB
Downloaded
2 Time(s)
You are not allowed to view/download this attachment
admin updated to display last 5 transactions with edit/delete option plus ability to manually add a transaction - download updated - simple file update, no db changes.