Sign up Calendar Latest Topics
 
 
 


Reply
  Author   Comment  
James

Junior Member
Registered:
Posts: 29
Reply with quote  #1 

Hey Guys

I have a donate button in my game and i want when the player click on the donate button paypal will appear (ingame/browser) and leads to my account automatically.
(for example like this plugin: https://www.assetstore.unity3d.com/#!/content/15659 only its 50 dollars.)

Now i know martin that you did it before in your games so it will be great if you let me know how

 
Thanks


James

0
Martin

Avatar / Picture

Administrator
Registered:
Posts: 2,230
Reply with quote  #2 
Hey James, how are you this week. Hope you're doing well.

I'd like to know the same thing too. I didn't integrate a paypal button in to our games, I just added one on the youtube channel. Have you taken a look at the docs in paypal? I think you should just be able to open a paypal link in a browser on your device which leads to your paypal donation page. So paypal provides you with the donate link, and then you can just call:

Application.OpenURL("your paypal donate link");


Let me know if this works ok

Martin [smile]
0
James

Junior Member
Registered:
Posts: 29
Reply with quote  #3 
Quote:
Originally Posted by Martin
Hey James, how are you this week. Hope you're doing well.

I'd like to know the same thing too. I didn't integrate a paypal button in to our games, I just added one on the youtube channel. Have you taken a look at the docs in paypal? I think you should just be able to open a paypal link in a browser on your device which leads to your paypal donation page. So paypal provides you with the donate link, and then you can just call:

Application.OpenURL("your paypal donate link");


Let me know if this works ok

Martin [smile]


Hey Maritn

Well i tried a few things stiil cant figure it out
to create a donate button for a website all you need to do is to create from paypal site the html code.
and its creates automatically a donate button that get you direct to your paypal account.
you cant put html in unity (fix me if i am worng)..
If any body have any solution let me know it will be great

James
0
NickPeelman

Senior Member
Registered:
Posts: 136
Reply with quote  #4 
Hello there


I took a look in the "create donation button" menu at the paypal site, and you can generate a link! When you finished creating the button, paypal lets you chose between HTML or e-mail. When you click e-mail, an URL will show up. For me it's:

https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=9GRMZBQB8JHUG

So use this method with Martin's line of code and you're good to go [smile]

__________________
My latest game: Space Escape for Android! Feel free to check it out! 
0
James

Junior Member
Registered:
Posts: 29
Reply with quote  #5 
Quote:
Originally Posted by NickPeelman
Hello there


I took a look in the "create donation button" menu at the paypal site, and you can generate a link! When you finished creating the button, paypal lets you chose between HTML or e-mail. When you click e-mail, an URL will show up. For me it's:

https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=9GRMZBQB8JHUG

So use this method with Martin's line of code and you're good to go [smile]

it works![smile]
Thank you so much for the help!
James


0
Previous Topic | Next Topic
Print
Reply

Quick Navigation:

Easily create a Forum Website with Website Toolbox.