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 my 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 .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 Best wishes Tony
I have only two fields Name and Email in a Order form and a PayPal button for payment at PayPal ( into my account).I can do the mail portion but have no idea about PayPal code, however on search here I found one code and after pasting this one to the PayPal button it redirects to my PayPal account. But the question is anybody can post a message and leave the site without paying me. How can I do this thing so that the user will forced to pay before posting the mail form. No idea how to proceed?
how do i add a paypal buy now button and a view cart button to my flash movie??I have the code for html... but i dont know how to integrate it in flash
I created a view cart button in PayPal and need to link it to a button in my fla. I know you can do this in AS but I haven't had any luck in my searches. I'm using CS3.[code]
I have a paypal button it works fine. This is for selling one product. Now I want to add one Shipping charge ( $3.00 ) for each item. How can I do this? One more thing Is it possible to calculate the tax according to the country in the paypal site?
...sorry for the duplicate post, thought this needs to be in a more up to date forum than 'Flash 8 and older'It looks like Paypal has just changed their buy now code so my sites using the old Paypal button code are no longer working...Have been using this code
Code: on (release) { //create the LoadVars that will hold our paypal information
I have an xml generated AS 2.0 gallery which i also would like to have a paypal 'add to cart' button. This is my first venture into e-commerce,so not exactly sure how these would connect up.I am using the free cart provided by paypal and can generate the <form> buttons for 'add to cart' and 'view cart'. In HTML this is fine, however, i need the buttons to work from the xml.Is this something with Xform? If so, is there a nice intro to that?
I've made a paypal shopping cart intergrated with flash, where customers can add items to the paypal checkout, then view it. But I'd also like to know the code for removing items on the paypal checkout page, but from within the swf.
how to take a classic paypal "buy it now" encrypted btn and code it within a flash interface? Im referring to paypal btns that are linked to a specific items listed within your paypal account.
I am trying to make a button in Flash (that uses ActionScript 2.0) that will load the PayPal web site using the code provided by paypal. I choped up the PayPal button to get the follow that I thought was correct:
Code: var cmd:String = "_s-xclick"; var encrypted:String = "great-big-long-string-of-numbers";
I want to use my own .swf button for PayPal payments with a "hidden format", but when adding the generated PayPal Website code to my html page, only a red X and the alt PayPal text is showing where the button should be. I have changed all Active X controls to Enable.Every time I contact PayPal I get a different reply. The last one was that I have to add a "static" image, but I really want to use my own button.I would rather find a way to paste the PayPal code into my buttons action script and then I only have to paste the Flash button to the html, but don't know how to manipulate that because the only code generated by PayPal is a "form" in html format. I am also adding text fields and guess that's why I don't get an generated email code from PayPal which I get if I don't add text fields.
Any thoughts as to why this works correctly in CS5 publish preview but when I publish it I either get no action or (XP comupter) or a blank page (vista) Any thoughts or insight would be appreciated. Also, I'm new to flash and here's the button action:
on (release) { //create the LoadVars that will hold our paypal information var paypal = new LoadVars();
I'm looking to add a Paypal button to my Template. It's an XML driven site, with actionscript as the code.
I went to a developer to generate the code for the actionscript for the paypal button and I don't know where to put it, and or how to add it to the already written template and make it show up on the various XML pages.
Today is 28-05-2010, so I need to list Event 01. On 01-06-2010 I need to list Event 02. I have the basic AS3 code for listing the XML working, but I'm having trouble filtering the result.
I'm trying build a simple band site using flash and as2. All I want to have is a page listing shows that sorts them according to date and also when the show date has passed drops that entry from view.I can do this easily enough with a database and php but want to learn how to do it in actionscript. Here is what I currently have, shows load from the xml file into a simple textbox:
Code: scrollBar.target = shows_txt; showsXML = new XML();
I'm using flash CS4 and actionscript 2.0. I have a situation where I need to locate and check the date of an external file (either .exe or .swf) and return that date string to a variable in flash. I then need to display that date to a piece of dynamic text within the flash file. Is there a function within action script that will check and retrieve the file date of an external file.
I'm trying to make an online advent calendar, and I want to know whether it is possible to add an actionscript code to a button in flash, so that it wont be visible or active until a certain date?
my date of string like (2009-12-03 21:05:00) date with time . so i used to store var newdate:Date=new Date(Date.parse(startdate)); but shows some errors.and also i tried to split string(date) used date function likevar datenumber:Number= (new Date(Date.parse(startdate))).getDate();
Does anyone know how to get actionscript to render a null date value '000:00:00T00:00:00'? I am calling a web service that expects date fields in the SOAP xml. I need some of these dates to serialize as null and I can't see how to produce null. The closest value I can get is '1899-11-30T00:00:00Z'. Below is the code I am using:
I'm trying to determine the difference in time between todays date and a future date. I only need to determine how many months and days it is between todays date and this future date. Anyone know of any prebaked scripts anywhere for determining what todays date is and subtracting it from the end date would be? [code]So if today's date is less then the end date I'd like to determine how many months and days are left until the end date is reached and display the number of months and days until that end date.
I'm trying to get a random date in a date range and this is what i have so far but it doesnt seem to be working ? Where I'm I Going wrong ?Gets the date difference
private function differenceBetweenDates(date1:Date, date2:Date):Number{ var MS_PER_DAY:uint = 1000 * 60 * 60 * 24;[code]..........
I have an mx:DateField in my Flex UI that has a formatString="dd.mm.yyyy" attached to it. However, the initial value for that field may not be in the format specified/defined for the DateField (due to legacy reasons). So, currently, if I just set that value (text) on the DateField, the field is shown empty. I think because it fails to accept the value in a format different than what's configured.