WEB Paypal Express Checkout and PHP

Discussion in 'OT Technology' started by fishbulb, Jun 22, 2009.

  1. fishbulb

    fishbulb Active Member

    Joined:
    Oct 29, 2001
    Messages:
    6,848
    Likes Received:
    4
    Location:
    md
    Has anyone worked on a Paypal Express Checkout setup with multiple products being displayed on the Paypal order screen? I can get it working with a single product, but when I switch to the multiple product format, no line listed products are shown.

    Is there a special flag you have to set to allow multiple products to be listed?

    Code:
    		$data = array(
    		'L_NAME0'=>"testing",
    		'L_NUMBER0'=>"88",
    		'L_DESC0'=>"testing product",
    		'L_AMT0'=>"10",
    		'L_QTY0'=>"2",
    		'L_NAME1'=>"testing2",
    		'L_NUMBER1'=>"882",
    		'L_DESC1'=>"testing product 2",
    		'L_AMT1'=>"10",
    		'L_QTY1'=>"2",
    		'ITEMAMT'=>"40",
    		'PAYMENTACTION' =>'Sale',
    		'TAXAMT'=>"0",
    		'SHIPPINGAMT'=>"10",
    		'HANDLINGAMT'=>"0",
    		'SHIPDISCAMT'=>"0",
    		'INSURANCEAMT'=>"0",  
    		'DESC'=>"testing",      		
        'AMT'=>"50",
    		'RETURNURL' =>$this->getReturnTo(),
    		'CANCELURL'  =>$this->getReturnToCancel(),  		
    		'NOSHIPPING'=>"1",
    		'ALLOWNOTE'=>"1",
    		'CURRENCYCODE'=>$currency,
    		'METHOD' =>'SetExpressCheckout');
    
     
  2. brds

    brds OT Supporter

    Joined:
    Jun 26, 2006
    Messages:
    17,642
    Likes Received:
    13
    Location:
    Atlanta
    In for answer... i will be needing this once a final layout is decided upon.
     
  3. fishbulb

    fishbulb Active Member

    Joined:
    Oct 29, 2001
    Messages:
    6,848
    Likes Received:
    4
    Location:
    md

Share This Page