Solved

>> Actionscript function and Paypal

Posted on 2010-11-11
4
366 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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Developers of all skill levels should learn to use current best practices when developing websites. However many developers, new and old, fall into the trap of using deprecated features because this is what so many tutorials and books tell them to u…
Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
The goal of the tutorial is to teach the user how to set there setting in Adobe Flash Media Live Encoder and YouTube for optimal video and audio quality.
The goal of the tutorial is to teach the user what frame rate is, how to control it and what effect it has on the video.

747 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now