Solved

>> Actionscript function and Paypal

Posted on 2010-11-11
4
373 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
[X]
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
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

Ready to get started with anonymous questions?

It's easy! Check out this step-by-step guide for asking an anonymous question on Experts Exchange.

Question has a verified solution.

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

The last time I worked with Flash and Socket connections was in AS1. A recent project required flash connecting to a Socket, and sending receiving information - we figured it would be easy enough - we all know about the socket policy documents and c…
These days socially coordinated efforts have turned into a critical requirement for enterprises.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
The goal of the tutorial is to teach the user how to how to load their YouTube profile onto Flash Media Live Encoder.

623 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