PayPal donation button
BlitzMax Forums/BlitzMax Programming/PayPal donation button
| ||
Has someone a solution to use an PayPal donate button in an application under MacOS X? |
| ||
Sure. Have your button strike an even that calls this: OpenURL(). The url it leads to, of course, will be your pay-pal donation code. |
| ||
Sure. Have your button strike an even that calls this: OpenURL(). You probably should call Driver.OpenURL(). Simply calling OpenURL() does some http prefix checks and I'm pretty sure it won't work with webpages on secure servers (which I assume a paypal payment page will be). Driver.OpenURL() will bypass that and just try to open whatever URL you feed to it. |
| ||
I agree; I looked at the source, it is different than directly calling Driver.OpenURL(), but I don't see any particular part that would break the url you sent (if the url starts with "https", for secure pages, it bypasses the parsing anyway). So it's worth noting that if calling OpenURL() doesn't work for someone, they might have better luck using Driver.OpenURL() directly. |
| ||
I haven't looked for ages but it didn't used to work with secure servers. They may well have changed it at some point. |