Just like the title says, I was wondering how you would go at making the paypal donations automatic. Such as they donate for some cps, it automatically goes to the Prize NPC where they can claim it.
this is all php related. Basically you pass data TO the paypal transaction and then process the confirmation FROM paypal using php to add the correct rewards to the correct account in the database.
The source simply loads these rewards during login.
Yeah I understand that its PHP. When you set up a paypal donate button/shop sort of thing, you can set it to go to a certain page if its successful, and a certain page if it failed. I can figure out how to implement the npc and that whole part. The part I would have trouble with is how exactly does it know which option they chose. Say they choose 1kk cps instead of 10kk cps. I'm confused on how I would set that up.
You will not find better docs than from paypal themselves. What I did is that you bought donation points and with those points you bought items, it makes things a bit more simple for me. But all of that stuff is easy to do in php and easy to test within the paypal sandbox
As we've said. IPN notifies you with a structured response when a payment is made. Make sure that the transaction is linked to a specific account ID and it's VERY easy to add a new entry to db based on the payment information received.
EG:
Paypal sends IPN that uid 1000010 donated 10 usd. Your PHP script takes that data and adds say... 10 prize codes to the prizes table for that UID. The npc then reads from that table to control what options it displays and what prizes it gives out.
Again... it all boils down to the paypal API and has nothing really to do with programming (assuming you can write a basic php script and a basic npc script, you're fine)
As we've said. IPN notifies you with a structured response when a payment is made. Make sure that the transaction is linked to a specific account ID and it's VERY easy to add a new entry to db based on the payment information received.
EG:
Paypal sends IPN that uid 1000010 donated 10 usd. Your PHP script takes that data and adds say... 10 prize codes to the prizes table for that UID. The npc then reads from that table to control what options it displays and what prizes it gives out.
Again... it all boils down to the paypal API and has nothing really to do with programming (assuming you can write a basic php script and a basic npc script, you're fine)
Thank you xD believe it or not this did help a lot!
Automatic sale system of TQ Point Cards by krisswoj.com (PayPal) 05/18/2014 - Conquer Online 2 Trading - 170 Replies Automatic sale system working again!
http://krisswoj.com/style/krisswoj_logo.gif
Read it - Before you are going to buy somewhere that you don’t know!
---------------------------------
Hello dear players!
[Buying] WBB3 "PayPal Donations / Spenden" Plugin 10/29/2013 - Trading - 2 Replies Guten Tag,
ich bräuchte folgendes WBB3 Plugin: WoltLab® - Plugin-Store - Paypal Spenden / Paypal Donation
Da ich momentan kein PayPal besitze, wäre es nett wenn mir jemand jenes Plugin kaufen bzw. geben könnte. ;)
Bezahlen kann ich mit e*gold, Nitrado oder auch Paysafecard.
Dankeschön im Vorraus,
onomato
paypal automatic 12/23/2012 - Off Topic - 1 Replies Hai epvpers'
Iam looking for an way to make payments with paypal go automatic.
I have checked several paypal api's but iam unable to set it up correctly.
Atm if an player wants to pay for something they pay with the pre comiled button from paypal. Iam having the trouble to understanding how to imtergrate the paypal api into the website. And i mean the comtole script not the main page.
If anyone has. An sample for it i will be thankfull.
With kind regards
Raventh
[Help] How do I make a automatic voting system + reward? 08/06/2012 - Shaiya Private Server - 1 Replies Hi,
I've been looking for a while now for a automatic voting system + reward. to like type /vote 1 or something ingame and you vote.
Anyone knows how to do this? Please send a private message or post me back (a)
Appreciate it
Dreams <3
Help me make a Private CO Server! No paypaling or "Donations"! 07/26/2009 - CO2 Programming - 3 Replies I want to make a CO server that has a lot of features from 1.0 with only the features from 2.0 that are actually good. No paypaling garbage, no "donate xxx amount and get full +12 -7". This is lame to me. I want a server where it's totally legit. Everyone levels up and works hard to get ahead and it's even. I'm looking for programmers that have some experience on CO and want to have a good server again finally! I will admit I'm not the master, but I learn very quickly and I'm sure with the...