as3 paypal support
A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: as3 paypal support

  1. #1
    Senior Member
    Join Date
    Apr 2011
    Posts
    766

    as3 paypal support

    Hi I have a script here that acts like a macro to login you in to paypal and retrieve your account balance if anyone is interested, you just put your paypal email and password on the first 2 variables and it will log you in and alert your balance, as long as you don't get captcha'd:

    PHP Code:
    var paypal_email="your@email";
    var 
    paypal_password="your@password";
    var 
    webView:StageWebView = new StageWebView();
    webView.stage this.stage;
    webView.viewPort = new Rectangle00480720 );
    webView.loadURL("https://www.paypal.com/signin?country.x=US&locale.x=en_US");
    webView.addEventListener(Event.COMPLETE,handleLoad);
    var 
    count=0;
    function 
    handleLoad(e:Event){
    if(
    count==0){
    setTimeout(jsFunctions,2000);
    count++;
    }
    }
    function 
    jsFunctions(){
    webView.loadURL("javascript:start = function() {document.getElementById('email').value='"+paypal_email+"';};start();");
    webView.loadURL("javascript:start = function() {document.getElementById('password').value='"+paypal_password+"'};start();");
    webView.loadURL("javascript:start = function() {document.getElementById('btnLogin').click();};start();");
    setTimeout(getBalance,9000);
    }

    function 
    getBalance(){
    webView.loadURL("javascript:start = function() {alert(document.getElementById('totalAvailableAmount').innerHTML.split('$')[1].split('.')[0])};start();");

    Last edited by Alloy Bacon; 02-15-2017 at 12:36 AM.
    a* on an ic!

  2. #2
    Senior Member realMakc's Avatar
    Join Date
    Oct 2002
    Posts
    883
    why the hell would anyone want to put their paypal credentials in the app
    who is this? a word of friendly advice: FFS stop using AS2

  3. #3
    Senior Member
    Join Date
    Apr 2011
    Posts
    766
    because its less work to login
    a* on an ic!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center

Poll by Flashkit.com