Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

>> Actionscript function and Paypal

Posted on 2010-11-11
4
369 Views
Last Modified: 2012-08-13
I try to add shipping to an actionscript 2 function, do U see why it doesnt work ?

if thereno shipping the is on the bill, if there, there is just shipping without product, do U see why ?

Thank you


paypal = new LoadVars();
paypal.cmd = '_cart';
paypal.upload = '1';
paypal.business = "plus@carabus.com";
paypal.currency_code = "EUR";
var var_prix_ttc_var = 0;
function purchase(){
      _root.div_txt.text = _root.cart_mc.myDG.length;//product selected
      for (n = 0; n < _root.cart_mc.myDG.length; n++)      {
            _root.cart_mc.myDG.selectedIndex = _root.cart_mc.myDG.selectedItem = n;
            nombre_var = _root.cart_mc.myDG.selectedItem.Nbr;
            prix_var = _root.cart_mc.myDG.selectedItem.Prix;
            taille_var = _root.cart_mc.myDG.selectedItem.tai;
            //
            paypal["item_name_" + (n + 1)] = _root.cart_mc.myDG.selectedItem.Produit + " > taille : " + taille_var;
            paypal["quantity_" + (n + 1)] = nombre_var;
            paypal["amount_" + (n + 1)] = prix_var;
        }
//PROBLEM THERE :
      paypal.no_shipping = '1';
      paypal.shipping = '15';
      paypal["tax_cart"] = prix_tot_ttc_var - prix_tot_ht_var;
      getURL("https://www.paypal.com/_cart/webscr/" + paypal, "_blank", "POST");
}
0
Comment
Question by:LCNANCY
4 Comments
 
LVL 17

Expert Comment

by:deepanjandas
ID: 34117502
Sorry dude,
I did not get the problem. Can you please explain the problem in brief.

Warm Regards
Deepanjan Das
http://deepanjandas.wordpress.com
0
 

Accepted Solution

by:
LCNANCY earned 0 total points
ID: 34118616
yes, sorry.

II done a cart with flash wich is running ok

It works with paypal

I find the way to send the cart and get payment page to paypal :
it list all products without problem, but when I had the shipment it just send shipment without product, they diseappear. I dont understand how to solve it. Thank you
0
 
LVL 37

Expert Comment

by:CyanBlue
ID: 34819952
This question has been classified as abandoned and is being closed as part of the Cleanup Program. See my comment at the end of the question for more details.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Popularity Can Be Measured Sometimes we deal with questions of popularity, and we need a way to collect opinions from our clients.  This article shows a simple teaching example of how we might elect a favorite color by letting our clients vote for …
This article discusses how to create an extensible mechanism for linked drop downs.
The viewer will learn how to dynamically set the form action using jQuery.
This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question