2016-07-08 2 views

답변

0

안녕 먼저 당신이 나에게 CodeIgniter를위한 라이브러리를 다운로드 할 수있는 링크를 제공하시기 바랍니다 수

 $config['business']    = '[email protected]'; 
     $config['cpp_header_image']  = ''; //Image header url [750 pixels wide by 90 pixels high] 
     $config['return']    = 'sucess.php'; 
     $config['cancel_return']  = 'shopping.php'; 
     $config['notify_url']   = 'process_payment.php'; //IPN Post 
     $config['production']   = TRUE; //Its false by default and will use sandbox 
     //$config['discount_rate_cart']  = 20; //This means 20% discount 
     $config["invoice"]    = 'xxxxxx'; //The invoice id 
     $config["currency_code"]  = 'EUA'; 
     $config["cpp_cart_border_color"]= '7D88B6 '; 

     $this->load->library('paypal',$config); 

     #$this->paypal->add(<name>,<price>,<quantity>[Default 1],<code>[Optional]); 

     $this->paypal->add('T-shirt',2.99,6); //First item 
     $this->paypal->add('Pants',40);  //Second item 
     $this->paypal->add('Blowse',10,10,'B-199-26'); //Third item with code 

     $this->paypal->pay(); //Proccess the payment 
+0

같은 컨트롤러의 사용이 귀하의 계정 을 생성 한 후, 페이팔의 라이브러리를 다운로드해야? –

관련 문제