Solved

>> Actionscript function and Paypal

Posted on 2010-11-11
4
370 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: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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

Suggested Solutions

Part of the Global Positioning System A geocode (https://developers.google.com/maps/documentation/geocoding/) is the major subset of a GPS coordinate (http://en.wikipedia.org/wiki/Global_Positioning_System), the other parts being the altitude and t…
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
In this tutorial viewers will learn how to create a basic motion tween animation in Flash Open a new document in Flash: Draw/import an image: Press CTRL + F8 to convert it into a graphic symbol: Select a frame (how long you want the tween to last): …
The goal of the tutorial is to teach the user how to use the auto adjust feature and what the different options do. When your video is not working right you can choose the auto adjust feature to help choose your settings.

680 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