2015-10-14 20:26
浏览 99


I am using PayPal Standard HTML form, and after the user has completed the transaction he/she is taken to the return url. I want to be able to identify the user email, the order number, and other information that may be available using php. In other words, I want to use the GET method to retrieve the variables in the URL

This is a recurring payment (subscription), and below is the html code.

  <!-- Identify your business so that you can collect the payments. -->
  <input type="hidden" name="business" value="info@merchant.com">
  <input type="hidden" name="return" value="test">
  <!-- Specify a Subscribe button. -->
  <input type="hidden" name="cmd" value="_xclick-subscriptions">
  <!-- Identify the subscription. -->
  <input id="paymentName" type="hidden" name="item_name" value="test">
  <input type="hidden" name="item_number" value="1234">

  <!-- Set the terms of the regular subscription. -->
  <input type="hidden" name="currency_code" value="CAD">
  <input id="paymentPrice" type="hidden" name="a3" value="0.01">
  <input type="hidden" name="p3" value="1">

  <input type="hidden" name="t3" value="M">

  <!-- Set recurring payments until canceled. -->
  <input type="hidden" name="src" value="1">

  <!-- Display the payment button. -->
  <input type="image" name="submit" border="0" style="width:240px;   border: none; height:50px"
  alt="PayPal - The safer, easier way to pay online"> 

1条回答 默认 最新

相关推荐 更多相似问题