How to process payment through paypal?

For discussions about game development that does not fit in any of the other topics.
Post Reply
zolacat999
Posts: 62
Joined: Tue Nov 24, 2009 11:09 pm

How to process payment through paypal?

Post by zolacat999 »

Basically if someone wants to buy say 1000 gold or whatever the currency is for say £3.99 or $5.99 currency shouldn't make any difference, so they buy it and pay through paypal. My question is how do you get your system to acknowledge that the payment has gone in and then automatically add the 1000 gold to their inventory.
User avatar
SpiritWebb
Posts: 3107
Joined: Sun Jul 12, 2009 11:25 pm

Re: How to process payment through paypal?

Post by SpiritWebb »

I am wondering the same thing...will need this type of setup for OuterNet
Image

Image
zolacat999
Posts: 62
Joined: Tue Nov 24, 2009 11:09 pm

Re: How to process payment through paypal?

Post by zolacat999 »

its strange isn't it, im just trying to think but surely somehow, paypal has got to let you read the account balance to check that it has been paid, but i cannot see paypal allowing this. The only thing I can think of is that once you complete a payment you get redirected to a page that can only be accessed by coming from paypal then by accessing that page a certain amount of gold is added to your account, if that makes any sense.
User avatar
SpiritWebb
Posts: 3107
Joined: Sun Jul 12, 2009 11:25 pm

Re: How to process payment through paypal?

Post by SpiritWebb »

I can see that if it was a pre-set amount, but what if you gave the option of multiple amounts? Paypal only gives one successful page to redirect to after payment.

That in turn could be a php that adds the set amount. Sure...not multiple though...
Image

Image
zolacat999
Posts: 62
Joined: Tue Nov 24, 2009 11:09 pm

Re: How to process payment through paypal?

Post by zolacat999 »

hmm yea true, i didn't realize you were limited to one page redirect. Thing is other bbg's do it so it must be possible some how, but i fear it maybe something that needs contact and organization with paypal.
User avatar
SpiritWebb
Posts: 3107
Joined: Sun Jul 12, 2009 11:25 pm

Re: How to process payment through paypal?

Post by SpiritWebb »

This is true...calling customer support might work...

OR

You choose the option where you do it all, they just give you the code...that might be another option, if you feel your stuff is secure...I remember seeing that option there too
Image

Image
User avatar
Neophyte
Posts: 22
Joined: Wed Jul 06, 2011 2:19 pm

Re: How to process payment through paypal?

Post by Neophyte »

You might also check http://www.playspan.com/.
I saw it on few gaming sites and as far as i understand they are middleman between you and Paypal, Moneybookers and more than 70 other services.
It seems easier to contact just them and not tens of services separately.

But i must say that i just used their services as consumer so i don't know everything in details.
Xaleph
Posts: 897
Joined: Mon Feb 07, 2011 2:55 am

Re: How to process payment through paypal?

Post by Xaleph »

I`m sure it`s documented somewhere in the API. All I know is that their API is huge, it`s bound to be there. I had to do similiar requests for iDeal ( which is Dutch only I guess ) but it works with PayPal too. You get a new response header which tells you whether the payment was successfull or not. This data can be text/html or POST or GET, it depends, anyway, that information can be used to ensure your payment is in. All PayPal does, is telling you it is.
User avatar
vitinho444
Posts: 2819
Joined: Mon Mar 21, 2011 4:54 pm

Re: How to process payment through paypal?

Post by vitinho444 »

I think you can make vouchers randomly generated then just use a middleman like Neophyte said and after the middlemen approved the payment he sends to the player the voucher.
My Company Website: http://www.oryzhon.com

Skype: vpegas1234
Kevin1230
Posts: 62
Joined: Mon Jul 18, 2011 3:32 pm

Re: How to process payment through paypal?

Post by Kevin1230 »

I think I know what you guys are looking for:

http://www.youtube.com/watch?v=y6oHFaoZ ... r_embedded
Post Reply

Return to “General Development”