小编Bus*_*hid的帖子

Paypal响应变得"失败"

我正在将paypal集成到我的购物车这是我的价值转移表

      <h3>By Paypal</h3><hr/>
       <label>Click Here</label>
       <br/>
     <?php
      include 'controller/connection.php';
      $paypal_url = 'https://www.sandbox.paypal.com/cgi-bin/webscr';
      $paypal_id = 'my-sellerID_biz@yahoo.com';                                                                                                                                $cancel_url = 'http://my-website/index.php?action=cancel';
      $return_url = 'http://my-website/store.php';
      $i = 0;
      $products = array();
      $qry = mysql_query("select * from temp_cart where tokenId='$token'");
      while ($row = mysql_fetch_array($qry)) {
      $pid = $row[0];
      $pname = $row[1];
      $qty = $row[3];
      $price = $row[4];
      $amount = $row[5];
      $products[] = array('pid' => $pid, 'pname' => $pname, 'qty' => $qty, 'price' => $price, 'amount' => $amount);
       }
    ?>
     <form action="<?php echo $paypal_url;?>" method="post">
     <input …
Run Code Online (Sandbox Code Playgroud)

php paypal payment-gateway

4
推荐指数
1
解决办法
3599
查看次数

标签 统计

payment-gateway ×1

paypal ×1

php ×1