A Flash Developer Resource Site

Results 1 to 9 of 9

Thread: PayPal button "out of date" ??

  1. #1
    Junior Member
    Join Date
    Nov 2009
    Location
    UK
    Posts
    22

    PayPal button "out of date" ??

    Hi all,

    I've been using a paypal button on my site for a couople of years with no problems. Suddenly I get an email from a potential customer saying that as she clicked the "buy now" she got this message from paypal:

    "You have requested an outdated version of PayPal. This error often results from the use of bookmarks."

    Very strange...

    So by button code looks like this (anyone know what needs to be "updated") ?

    on (release) {
    var paypal = new LoadVars();
    paypal.cmd = '_xclick';
    paypal.upload = '1';
    paypal.business = '[email protected]';
    paypal.currency_code = 'GBP';
    paypal.amount = price;
    paypal.no_shipping = '1';
    paypal.shipping = '0';
    paypal.tax = '0';
    paypal.lc = 'GB';
    paypal.item_name = [style+", "+type];
    paypal.send('https://www.paypal.com/cgi-bin/webscr', 'POST');
    }

    Best wishes
    Monty

  2. #2
    Senior Member whispers's Avatar
    Join Date
    Mar 2001
    Location
    CFA2h (respect the HEX)
    Posts
    12,755
    have you tried it yourself??

    can you repeat the error?

    have you gotten any 'facts' about the users experience or machine/specs?

  3. #3
    Junior Member
    Join Date
    Nov 2009
    Location
    UK
    Posts
    22
    Tried it - yes
    Repeated the error - yes
    Same on three browsers, Mac and PC - yes

    Same thing seems to be true for this guy who is selling Flash buttons !
    Try either button on his site to see the exact same error:
    http://activeden.net/item/flash-paypal-button/33157

    Any help on this would be very much appreciated !
    Does anyone have AS2 for PayPal that still works for them ?

    Best wishes
    Monty

  4. #4
    Senior Member whispers's Avatar
    Join Date
    Mar 2001
    Location
    CFA2h (respect the HEX)
    Posts
    12,755
    I just checked a PayPal button in a site I made a a bit ago..AS2..

    works fine.

    I didnt get any errors once I was brought to the PayPal checkout page..

  5. #5
    Junior Member
    Join Date
    Nov 2009
    Location
    UK
    Posts
    22
    Could you post your code please ?
    Is it very different to mine ?

  6. #6
    Junior Member
    Join Date
    Dec 2009
    Posts
    3
    I have exactly the same problem. Client emailed me the button is not working any more.

    I also use swfAddress with the site.

    Any help would be greatly appreciated.

  7. #7
    Junior Member
    Join Date
    Sep 2008
    Posts
    3

    This just started happening to my site as well.

    Everything was working fine 2 weeks ago. Now this error shows up. Frustrating indeed. Looking for answers everywhere, but coming up with nothing.

    Actionscript Code:
    var addToCartURL:String = 'https://www.paypal.com/cgi-bin/webscr';
        var request:URLRequest = new URLRequest(addToCartURL);
        var paypal:URLVariables = new URLVariables();
        paypal.cmd='_xclick';
        paypal.upload='1';
        paypal.business='[email protected]';
        paypal.currency_code='USD';
        paypal.amount='50';
        paypal.no_shipping = '0';
        paypal.shipping = '';
        paypal.tax = '';
        paypal.lc = 'US';
        paypal.item_name='"MyItemDEscriptionWasHere';
        paypal.item_number='RYFAWAEUZC645';
        paypal.weight='2';
        paypal.weight_unit='lbs';
        paypal.instanceName='paypalBtn_mc';
        request.data = paypal;
        request.method = URLRequestMethod.POST;
        navigateToURL(request, '_blank');

    I used Paypal's updated html Buy Now button creator and the only difference I could find was changing this:

    paypal.cmd='_xclick';

    to this:

    paypal.cmd='_s-xclick';

    But all this does is take the user to a different error page.

  8. #8
    Junior Member
    Join Date
    Sep 2008
    Posts
    3

  9. #9
    Junior Member
    Join Date
    Dec 2009
    Posts
    3
    Apparently GET still works. I changed my code to getURL(), but I don't consider this a good solution.

    The 'new' _s-xclick is generated useing paypal forms and it includes a code for hosted button or something and no other info is passed (no email / no price / no item name). This might improve security but I'll have to ask the client to generate the html code for all products.

    Also I don't think it's a flash problem.

Tags for this Thread

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