Paypal buton and construct2 app

Get help using Construct 2

Post » Wed Jan 01, 2014 9:01 pm

no it dont work construct 2 dont reconise the url that keep telling me errors for each ";" or space etc in the url...
B
34
S
13
G
6
Posts: 1,643
Reputation: 8,761

Post » Wed Jan 01, 2014 9:05 pm

That shouldnt be in the url ...

I have a donate link somewhere, like this

It even should add the dedicated page for it ... in my link are no ";" it shouldnt be in there.

I manually wen to the donate page, and copy the new uRL from teh addres bar on the page I landed after clicking the button.
Who dares wins
B
57
S
17
G
21
Posts: 1,878
Reputation: 19,552

Post » Wed Jan 01, 2014 9:06 pm

the html page i made and the paypal "donate" buton works, that send me to a donation page from paypal BUT when i try to send the user from my app made in construct 2 to the donation page.................tha dont work .

and the div plugin, the iframe plugin from pode, dont works, that make construct2 crash, and also that give me huge errors when i test the frame
B
34
S
13
G
6
Posts: 1,643
Reputation: 8,761

Post » Wed Jan 01, 2014 9:13 pm

Who dares wins
B
57
S
17
G
21
Posts: 1,878
Reputation: 19,552

Post » Wed Jan 01, 2014 9:15 pm

You're trying too hard. All you have to do is go to paypal, get the ID for your button, then in construct add the browser object with on button click go to "https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YOURIDHERE"
B
60
S
20
G
56
Posts: 1,077
Reputation: 35,941

Post » Wed Jan 01, 2014 9:17 pm

lennaert you ninja'd me!
B
60
S
20
G
56
Posts: 1,077
Reputation: 35,941

Post » Wed Jan 01, 2014 9:23 pm

ok here its the paypal code i put in a HTML page.

<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="QJWR4EBBDKEAC">
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
</form>
B
34
S
13
G
6
Posts: 1,643
Reputation: 8,761

Post » Wed Jan 01, 2014 9:25 pm

Use this URL: https://www.paypal.com/us/cgi-bin/webscr?cmd=_flow&SESSION=g3J1DoyrSlQGVGQiaPq_LJ_gKrzWsr5gMEjC9dKZAwUR3ctJfQa1tiXIZo8&dispatch=5885d80a13c0db1f8e263663d3faee8def8934b92a630e40b7fef61ab7e9fe63


That one is more short, but should work the same.

https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=QJWR4EBBDKEAClennaert2014-01-01 21:27:13
Who dares wins
B
57
S
17
G
21
Posts: 1,878
Reputation: 19,552

Previous

Return to How do I....?

Who is online

Users browsing this forum: Darth Crusher, zsoldiers and 6 guests