Paypal viewcart button help?!!? AS3!

viewcart_btn.addEventListener(MouseEvent.CLICK, cartClick);
function cartClick (event:MouseEvent):void
var url:String = 'https://www.paypal.com/cgi-bin/webscr';
var request:URLRequest = new URLRequest(url);
var paypal:URLVariables = new URLVariables();
paypal.cmd='_cart';
paypal.instanceName='viewcart_btn';
request.data = paypal;
request.method = URLRequestMethod.POST;
navigateToURL(request, '_blank');
I have this code and im trying to make it just view cart, but when i do a paypal window pops up saying
We have detected a problem with this shopping cart. If the problem persists, please contact the merchant.
any help?

Your problem may be with Safari. A lot of people are experiencing random crashes...
http://www.macfixit.com/article.php?story=20071221101855547
The latest security update - yesterday - is supposed to fix it....
http://www.macfixit.com/article.php?story=20071222105253236

Similar Messages

  • PayPal donation button not displaying correctly in FireFox

    I added a PayPal donation button, but it only displays correctly in Explorer - not in FireFox.  The site is:  www.washoe.k12.nv.us/mtrose
    <div id="content"><!-- InstanceBeginEditable name="content" -->
            <form action="https://www.paypal.com/cgi-bin/webscr" method="post">
    <input type="hidden" name="cmd" value="_donations">
    <input type="hidden" name="business" value="[email protected]">
    <input type="hidden" name="lc" value="US">
    <input type="hidden" name="item_name" value="Mount Rose Elementary School">
    <input type="hidden" name="no_note" value="0">
    <input type="hidden" name="currency_code" value="USD">
    <input type="hidden" name="bn" value="PP-DonationsBF:btn_donateCC_LG.gif:NonHostedGuest">
    <input type="image" src="https://www.paypalobjects.com/WEBSCR-640-20110401-1/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/WEBSCR-640-20110401-1/en_US/i/scr/pixel.gif" width="1" height="1">
    </form>
            <h1>Two-Way Immersion</h1>
            <p>The goal of our program is to help young s tudents become fluent in Engish and Spanish by the end of <br>
            elementary school.        </p>
            <p>Our program began in 2008-2009 with one kindergarten class and will expand one grade each year as the students move through the grades for a total of seven classes.</p>
            <p>The program is voluntary and there is a waiting list.</p>
            <p>The initiation of the program is designed to serve the students already zoned for our school and does not involve busing students or change Mount Rose's current zoning.</p>
            <p>The program also does not involve the addition of portables to our school at this time.</p>
            <h2>Mount Rose Centennial Celebration!</h2>
            <p><a href="Mount_Rose_Centennial.pdf">Mt. Rose Centennial Celebration</a> - An Old Time Picnic and Reunion of Mt. Rose Elementary School Friends Past and Present. Join us on October 2, 2011 from Noon to 4 PM for A Celebration to Commemorate the Centennial of Mt. Rose Elementary School One Hundred Years of Educating Reno's Downtown and Old Southwest Neighborhood Young!</p>
            <p>Commemorative T-shirts avialable $8 / For more information click <a href="centenial.pdf" target="_blank">HERE.</a></p>
            <p>For more information contact Jenny Brekhus 544-1694 or [email protected]</p>
            <p><img src="images/tshirt.jpg" width="403" height="253" alt="tshirt photo"></p>
            <h2> </h2>
        <!-- InstanceEndEditable --></div>
        <div id="rightside" class="brd-thin-white-top"><!-- InstanceBeginEditable name="right-top" -->
            <h2>Early Release Days!</h2>
            <p> Every Wednesday during the 2010-2011 school year, school will be released at 2:30 for teacher professional learning communities. This is a district wide change and will replace most early release days.</p>
            <p>Please remember to make arrangements for you child on Wednesdays!</p>
        <!-- InstanceEndEditable --><!-- InstanceBeginEditable name="right-bottom" -->
            <h2><a href="https://campus.washoe.k12.nv.us/campus/portal/washoe.jsp"><img src="images/infinite_campus.jpg" width="142" height="102" alt="infinite campus portal"></a></h2>
            <p><a href="http://www.washoe.k12.nv.us/district/departments/transportation/bus-rules"><img src="images/bus_rules.gif" width="120" height="90" alt="bus rules"></a></p>
            <p><a href="http://www.washoe.k12.nv.us/district/departments/transportation/elink"><img src="images/bus_schedules.gif" width="202" height="87" alt="bus schedules"></a></p>
            <p><a href="http://www.washoe.k12.nv.us/espanol"><img src="images/spanish.gif" width="200" height="70" alt="wcsd spanish site"></a></p>
            <p><img src="images/wcsd.jpg" width="99" height="143" alt="wcsd logo"></p>
            <!-- InstanceEndEditable --></div>
        <div id="footer" class="brd-thin-white-top">
            <p class="footer-text">&copy; 2010 |<a href="mailto:[email protected]" target="_blank">Webmaster</a></p>
        </div>
    </div>
    </body>
    <!-- InstanceEnd --></html>

    Appears OK in Firefox... is it not where you want it?

  • Google Checkout or PayPal BuyNow Button on Apex Pages

    Hi,
    I created a html region on a blank page, and copied and pasted HTML scripts for Google Checkout or PayPal BuyNow Buttons into the region. When I clicked the BuyNow button, I got "The requested URL /apex/wwv_flow.accept was not found on this server". The same pieces of HTML scripts worked fine when I put them in a simple html file.
    Any help will be appreciated.
    Thanks,
    Jay

    I think this page will help :
    http://www.oracle.com/technology/products/database/application_express/packaged_apps/integration.html
    Glen

  • Back button in AS3

    I did a search on this and didn't find a successful answer
    yet. I need to have a back button in AS3 that'll remember the last
    frame visited from any frame in the site. There are various buttons
    to get to various frames, and the one back button will always be
    showing.
    What's the script to make that happen from any frame
    utilizing AS3?

    OK, syntax was wrong and I fixed that (I knew it had to be
    some silly error like that).
    So now, if I go to one of the pages (frames), then go back to
    the home page (home frame), and click the back button it works to
    take you back to whatever subpage you were just on. However, it
    only works from the home page to go back to a subpage. You can't
    use the back button to go from one subpage to another you were just
    on, or back to the home page again. Why would that be? Is there a
    way to make the back button work from anywhere?
    Also, it only works if I don't assign the home page a
    backvalue (probably why you can't go "back" to the home page). But,
    since it works to go back from there to any other page you were
    just on, I think it must be close to working across the
    board… just curious what the problem could be…
    help??

  • Paypal and form help

    I designed a webpage for a nonprofit that uses Paypal to collect donations in varying amounts.
    I used Paypal's button widget to create a button and form for each specific donation. I then embeded these buttons/forms in the webpage -- I created 7 such buttons and forms. Each form sends the data the user enters to Paypal, where the user completes the payment transaction. Paypal then sends (some of) the data from the transaction to my client. Everything works great.
    Problem is my client wants to collect more data than the Paypal widget allows (or that Paypal typically returns to "sellers"). Ideally, my client would like me to include a number of required fields on my client's webpage and have that data sent to them at the same time the user clicks the "submit" button that takes them to Paypal to complete the payment transaction.
    Can this be done? And if so, how?
    Maybe this needs to be set up as separate pages: 1) the page where the user sees all the donation choices, 2) a second page where the user fills out and submits the information my client wants to collect, 3) a third page where the user enters Paypal specific info, and 4) the Paypal page where the user completes the payment?
    Any guidance is greatly appreciated.
    Thanks.

    Thanks Woody.
    I have talked to Paypal at least a half dozen times on this issue. Haven't found them overly helpful.
    I'll check this out and report back. Are you referring to the URL redirect? Or is this something in addition to the redirect?
    If it's the redirect URL, I currently use that for sending users back to the client's website once the Paypal stuff is complete. Hadn't thought of sending them to a page for more data input. Though, I have considered the reverse -- having them fill out a data form to collect what my client wants, and then have them click a link to go to the Paypal site to complete the payment transaction.
    Does the shopping cart allow you to add other (required) data fields, like one for a mailing address, another for a phone number, custom fields for user comments, etc?

  • Paypal recurring button issue

    i am using paypal recurring button into my website . after click on that button it redirect to paypal for payment . and after success fuly payment  it's return to my site without any  successfull payment response . i have PRINT_R  that response but it's show an empty array .

    Hello, My name is Suraj, and I am also facing the same issue. I have created a subscribtion button and placed it into one of my website.When I click on that button, it takes me to the paypal website and allow me to follow all the payment steps. And the payment gets done successfully.Even though after successful payment, I don't receive the Success message in response. Can someone please help me to solve the issue. Thank You,Suraj

  • Play Again button w/ AS3

    how would I code a play again button using AS3 since you
    cannot place the code on the button itself anymore. Would the code
    still be gotoAndPlay(1);?
    would I need to give the button an instance name and what
    would I need to change the code to?
    thanks in advance!

    DPSwebmaster,
    > I have given my button an instance name of 'PlayAgain'
    and
    > placed the AS code on frame 1 of my timeline.
    As long as that button (with the instance name PlayAgain)
    appears in
    frame 1 as well, you should be good.
    > PlayAgain.addEventListener(
    > MouseEvent.MOUSE_UP,
    > function(evt:MouseEvent):void {
    > gotoAndPlay(1);
    > }
    >
    There should be a closing parenthesis on that [... this one:
    which is basically the other half of the "sandwich" that
    begins with
    addEventListener( ...]. But other than that, your code looks
    fine. Be
    advised that you can also use a named function, if you like:
    PlayAgain.addEventListener(MouseEvent.MOUSE_UP,
    mouseHandler);
    function mouseHandler(evt:MouseEvent):void {
    gotoAndPlay(1);
    Do you see how those are effectively the same thing? The
    addEventListener() method accepts two parameters: a) an event
    to listen for
    and b) a function to perform. In the examples I've shown, one
    of them
    illustrates an anonymous function; the other illustrates a
    named function.
    In any event, to make sure your code is responding at all,
    it may help
    to use a trace() function. This is nothing more than a
    mechanism to print
    text to the Output panel, but it's great for debugging:
    PlayAgain.addEventListener(
    MouseEvent.MOUSE_UP,
    function(evt:MouseEvent):void {
    gotoAndPlay(1);
    trace("I've been clicked!");
    Try that revision (only one line has changed), and when you
    click on the
    button, you should see the message "I've been clicked!" in
    your Output
    panel. If you don't, we'll know that this event listener
    isn't getting
    assigned properly.
    David Stiller
    Co-author, ActionScript 3.0 Quick Reference Guide
    http://tinyurl.com/2s28a5
    "Luck is the residue of good design."

  • Overlapping buttons cs3/as3

    I've been able to avoid this issue by avoiding overlaps or breaking the top layer down to a bitmap but in this particular design I need to have overlapping buttons. 
    Previously if I had an MC overlap a button (cs3/as3) the button wouldn't work so in this design I made sure the hit areas weren't overlapping and the buttons do indeed work.
    Problem is when you click them, most of the time, there will be what looks like a single frame blink.  In recording the issue the blink is the exact size of the full button being pressed.
    http://villagegreenstudios.com/view5/
    All of the buttons do it, Home, Bio, Demo, Contact.  If it doesn't do it at first, keep clicking and they will.
    Can anyone help with this issue specifically and/or the issue at large?
    Thanks.

    Hey Ned.  Thanks.  Here's a screen grab:

  • Photo album - with a paypal buy button ?

    Hi
    I woul like to make use of the demo photo gallery, thats
    available at
    http://labs.adobe.com/technologies/spry/demos/gallery/
    But I can't find all the files for this demo, could someon
    point these out for me pls.
    Also, I would like to add a 'paypal buy' button under the
    larger image, is this possible ?
    Thanks

    This screenshot shows how to create a public or private photo stream:
    OT

  • Referencing buttons in AS3

    I am trying to figure out a way to reference a specific button out of a large group of buttons in AS3. I’ll explain. Let’s say, for instance, I have a lot of buttons on the stage (let’s say 100.) Each of these buttons causes something to happen. Instead of creating an event listener and a function for all 100 buttons, I want to do it more dynamically. I want to have some kind of variable which will equal the instance name of whatever button was pressed, and then an event listener that will check that variable’s value, and, depending on what it is equal to, it will issue a command. Any ideas on how to reference a button in that way? Thanks in advance.

    import fl.controls.Button;
    var buttons:Array = new Array();
    for(var i:uint = 0; i < 10; i++) {
    buttons[i] = new Button();
    buttons[i].move(0, i * 22);
    buttons[i].label = 'hi ' + i;
    buttons[i].addEventListener(MouseEvent.CLICK, onClick);
    addChild(buttons[i]);
    function onClick(event:MouseEvent):void {
    trace(event.target.label);

  • Play/Pause Button in AS3

    I have search the internet, but I cannot find a simple way to
    create a play/pause button in AS3. All the solutions I find are for
    older versions when buttons could have actionscript directly
    applied to them.
    I created a flash animation and exported it as a .swf to work
    with only one layer in a new .fla file. I have three layers
    created, button, video, and actionscript. What I need is a button
    that will look like a pause button when the animation is playing
    and to pause the animation when clicked. It would be nice if it
    could also switch to a play button when paused.

    I made a movieclip (ppBtn) with 2 frames. The first has the
    pause button and the frame label 'pause'. The second frame has the
    play button, 'play'. I placed your script into the action layer.
    When I preview the animation, the buttons just alternate really
    fast and have no fuction.

  • Right now, I'm stuck in the settings, when I press the sleep/wake button or the home button it doesnt let me. But is not frozen or any thing just the buttons. help me please!!!!!

    Right now, I'm stuck in the settings, when I press the sleep/wake button or the home button it doesnt let me. But is not frozen or any thing just the buttons. help me please!!!!!

    Try:                                               
    - iOS: Not responding or does not turn on
    - Also try DFU mode after try recovery mode
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - Try another cable       
    - Try on another computer                            
    - If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
      Apple Retail Store - Genius Bar

  • Help with buttons in AS3

    Hi Folks,
    I'm stuck with a simple flash movie I need to create in which two images fade in and fade out, and each of them must be clickable and hyperlink to a separate URL.
    I've got the fading going okay, but I cannot for the life of me get even a single button to work on it.
    If it's helpful I can send along what I've got so far.  Any assistance would be greatly appreciated.
    Regards,
    Andrew.

    Hi Ned,
    Thank you for the followup email.
    I think I was close - I was aware of the changes between AS2 and AS3, but I
    think I was putting the Action in the wrong place.
    Next question - if I have 2 buttons (say btn1 and btn2), how do I make btn1
    available for say frames 1-60, and btn2 available from frames 61-120?
    I am primarily a ColdFusion developer, and a complete newbie to flash, so
    sorry if this is a dumb question.
    Regards,
    Andrew.
    2009/5/15 Ned Murphy <[email protected]>
    In AS3, to make a button work with code, you need to add an event listener
    for it.  In the timeline that holds that button, in a separate actions layer
    that you create, in a frame numbered the same as where that button exists,
    you would add the event listener:
    >
    btn1.addEventListener(MouseEvent.CLICK, btn1Click);
    >
    Descriptively, that line of code contains the following:
    >
    buttonInstanceName . displayObjectMethod (eventClass . eventType,
    eventHandlerFunction);
    >
    The name of the function for processing the clicking of that button was
    already defined at the end of the event listener assignment, so now you just
    have to write that function out:
    >
    function btn1Click(evt:MouseEvent):void {
       var /String = "http://www.awebsite.com/awebpage.html";
       var req:URLRequest = new URLRequest(url);
       navigateToURL(req);
    >

  • NEED HELP WITH BUTTONS IN AS3!!

    Hello, I am stumped with an action scripting problem. I'm
    trying to create a really basic website in flash using buttons to
    jump from scene to scene. Let's say I want to do something as
    simple as make scene 1 jump to scene two right? I'll place in my
    scene 2 button on my first page:
    But instead of the scene changing to the next scene after I
    press the button, these errors come up!!
    1180: Call to a possibly undefined method on.
    1120: Access of undefined property release.
    1120: Access of undefined property _root.
    I've tried asking in so many different forums, I usually do
    pretty good with action scripting for buttons. But this is my first
    time doing it with cs3. I'm utterly confused, someone please help!!
    Thank you.
    The code on this page is the code I was using to try to
    change scenes...Oh! and whenever I try to put a code in the actual
    button, it won't let me. I just get a message that says something
    like "Can't have any actions applied to it".

    foxxpop,
    > But instead of the scene changing to the next scene
    > after I press the button, these errors come up!!
    >
    > 1180: Call to a possibly undefined method on.
    > 1120: Access of undefined property release.
    > 1120: Access of undefined property _root.
    You're using three terms that aren't supported in
    ActionScript 3.0: the
    on() function, the release parameter to that function, and
    _root. In
    ActionScript 3.0, you'll have to give your button an instance
    name and wire
    it up like this:
    http://www.quip.net/blog/2007/flash/making-buttons-work-in-flash-cs3
    In that blog entry, you'll see (with explanation) something
    that looks
    like this:
    myButton.addEventListener(
    MouseEvent.CLICK,
    function(evt:MouseEvent):void {
    trace("I've been clicked!");
    Just bear in mind that you can also make that a named
    function, like
    this:
    myButton.addEventListener(MouseEvent.CLICK, clickHandler);
    function clickHandler(evt:MouseEvent):void {
    trace("I've been clicked!");
    > I've tried asking in so many different forums, I usually
    do
    > pretty good with action scripting for buttons. But this
    is
    > my first time doing it with cs3.
    Your issue isn't Flash CS3, it's that your FLA file is
    configured for
    ActionScript 3.0. If you change that to AS2, you can go right
    on using the
    same approach you used to -- and you'll be able to attach
    code directly to
    objects. ;)
    David Stiller
    Co-author, The ActionScript 3.0 Quick Reference Guide
    http://tinyurl.com/2s28a5
    "Luck is the residue of good design."

  • Help with buttons and AS3

    I need urgent help for a college project, I've drawn a map and I have some photographs that appear on the map from the timeline one after another. I want the timeline to be activated when I press a Button On the map of where I've been on holiday but I have no Idea how to put it together.

    While I can offer a couple ideas, you'll need to spend some time figuring out how to use Flash... maybe get some formal training with it.
    For the photographs, create each set of them as a movieclip, and give each movieclip an instance name so that you can control its visibility using code.  Initially you will want to set the visible property of them all to false, likely done in the first frame of the timeline (ex: imageGrp1.visible = false; ).  Then you will use your buttons to make them visible.
    To code one of the buttons, you need to assign it an instance name as well.  Then you need to assign an event listener for that button to detect when it gets clicked, and an event handler function to go with the event listener... the listener calls the function into action when the event occurs.
    ex:
    // the event listener for a button with an instance name of imgGrp1Button...
    imgGrp1Button.addEventListener(MouseEvent.CLICK, showGrp1);
    // and the event handler function for the CLICK listener
    function showGrp1(evt:MouseEvent):void {
          imageGrp1.visible = true;
    If you want to hide any visible set when you select a new one, then you can create a function that sets them all visible = false and call that function both at the start in frame 1 and in each button event handler function (before you set the selected set to be visible).

Maybe you are looking for

  • Error when logging into Apple/Support/Discussions

    This happens with every browser (Firefox, Camino, & Safari). I am using the default auto-login feature of each browser. This has been happening for about a week. Anyone experiencing this? Not that much a big deal... but... bug? "ERROR: An error has o

  • Data Merge Crashing with InDesign CC 9.2

    Since I've updated to InDesign CC 9.2, ID crashes when attempting data merges.  It's happened on both my Mac computer at work and my personal Mac laptop.  I changed out my lists to make sure it wasn't something with my csv file and it still crashed.

  • Problem to insert  Chinese Characters(GB3212)  into MySQL

    I met a problem to insert Chinese Characters (GB3212) into MySQL using Entity Bean (or JPA). For example, when a hardcoded string "{color:#ff0000}电器me元件{color}" is inserted, it is displayed as "{color:#ff0000}??me??{color}" in MySQL. The NamedQuery i

  • Issue with number/contact details showing on new iPhone

    Hi I'm having an issue with numbers. Myself & my mum both have iPhones. My Mum had previous phone (not iPhone), she purchased an iPhone & ported her old number across. before she ported we were texting each other on the new iPhone number. Now she has

  • Missing Applet parameters in Mozilla (work on IE)

    I'm developing an applet which is invoked by the generalised auto plugin load HTML as recomended by sone. The applet (such as it is) runs on both IE and Mozila but, in the Mozilla case, none of my parameters seem to make it through despite sitting ne