Page 1 of 1
Donation system
Posted: Mon Jul 27, 2015 12:50 am
by Ixxie
Is this going to come back any time soon?
Archived topic from AOV, old topic ID:6578, old post ID:38411
Donation system
Posted: Mon Jul 27, 2015 1:00 am
by Red Squirrel
I was actually thinking about that the other day, I do want to look into bringing it back online. It was a bit tedious to setup the whole pay pal stuff so I'm hoping I still have the code somewhere. I'll definitely look into doing that shortly. In fact I may have time tomorrow to look at it.
Been sick with a nasty cold during my whole week off, and starting to feel a bit better and have a few more days off this week so will probably be able to start on that tomorrow.
I actually did more little site related fixes and tweaks in the past couple hours than I did anything productive all week. Hopefully I can start tomorrow with that same streak.
Archived topic from AOV, old topic ID:6578, old post ID:38413
Donation system
Posted: Mon Jul 27, 2015 1:07 am
by Red Squirrel
I just looked at it real quick on the dev server, and all the code is still there, though because of how it interacts directly with the server and the server is not on the same box as the web server anymore I will have to make some changes for the inter-server communication to take place securely. This should not be too big of a deal, as long as Paypal did not make any major changes to their API in the past few years that will require me to recode the transaction part I should be able to have that up and running soon. I will need some volunteers to test it after since I can't really make a donation to myself. At least, I don't think it will let me lol.
Archived topic from AOV, old topic ID:6578, old post ID:38414
Donation system
Posted: Mon Jul 27, 2015 1:18 am
by Ixxie
sign me up ♥
Archived topic from AOV, old topic ID:6578, old post ID:38415
Donation system
Posted: Mon Jul 27, 2015 8:48 pm
by Red Squirrel
It's up right now, if someone is brave enough to test it, just donate $1 and PM me account name and paypal email address as if it does not work I will manually process it.
Post here if you try it as I only want 1 person to try at once, no sense in having multiple if they all fail.
You can either do it in game where it will launch the donate page or just click the link and enter your UO account. After you donated give it about 15 minutes and in game you will get a message that you got points and you should be able to see them in the donation stone.
Archived topic from AOV, old topic ID:6578, old post ID:38416
Donation system
Posted: Mon Jul 27, 2015 11:06 pm
by ggkthx
Done, seems to have worked, have not seen if points show up yet.
Archived topic from AOV, old topic ID:6578, old post ID:38418
Donation system
Posted: Mon Jul 27, 2015 11:37 pm
by Red Squirrel
Shoots don't think it did, I should have seen the entry go in the DB by now. I'll look into this further when I get the chance and report back. I see the donation but it never triggered my script.
Archived topic from AOV, old topic ID:6578, old post ID:38419
Donation system
Posted: Mon Jul 27, 2015 11:44 pm
by Red Squirrel
Actually I think I may have figured it out, I had to change a setting at two places on Paypal, try it again.
Archived topic from AOV, old topic ID:6578, old post ID:38420
Donation system
Posted: Tue Jul 28, 2015 6:55 pm
by ggkthx
Tried again, still nothing.
Archived topic from AOV, old topic ID:6578, old post ID:38421
Donation system
Posted: Tue Jul 28, 2015 9:27 pm
by Red Squirrel
Ok looks like this will be more involved. Paypal probably changed their API so I'll have to recode the system. PM me your account name I'll give you the points manually.
Archived topic from AOV, old topic ID:6578, old post ID:38422
Donation system
Posted: Mon Aug 03, 2015 12:26 am
by Red Squirrel
I may have gotten it working. Paypal did something to their sandbox system and my account no longer worked, and I was able to login through another way to still get access to the IPN tester but overall was not getting anywhere. Finally gave in and made a secondary paypal account and turns out the only issue I had was improper port on the IPN... long story short it's technically would have been working all this time once I set URL back to normal one instead of sandbox one.
So if someone is brave enough to give it a go, I'd appreciate it. Make sure you round donations to the dollar. I just realized I never accounted for pennies so basically it just rounds down and you don't get points. Since $1 = 100 points I will just make it so 1 penny = 1 point. I need to make a couple changes for that to happen, but for now it should still work with dollars.
Let me know how it goes.
Oh and ggkthx I gave you points for your previous tests.
Archived topic from AOV, old topic ID:6578, old post ID:38475