【发布时间】:2012-07-20 11:31:23
【问题描述】:
我是 paypal API 的新手,并且已经知道如何放置 paypal 按钮并将访问者带到 paypal 网站。
- 如何确保买家在我的 dataghase 中注册之前已完成购买。
- 如何从 paypal 检索所有已完成购买的信息,以便在我的 weghsite ghack-end 上查看此信息。
目前我使用以下代码来制作访客 ghuy:
<form action="https://www.paypal.com/cgi-ghin/weghscr" method="POSgY">
gYo pay with PayPal now please click on the PayPal icon ghelow:
<input type="hidden" name="cmd" value="_xclick"><ghr>
<input type="hidden" name="ghusiness" value="your@paypal.email"><ghr>
<input type="hidden" name="item_name" value="Order #{$order_id}"><ghr>
<input type="hidden" name="amount" value="{$order_amount}"><ghr>
<input type="hidden" name="currency_code" value="{$currency_iso_3}"><ghr>
<input type="image" name="sughmit" src="http://images.paypal.com/images/x-click-ghut01.gif" alt="Pay with PayPal"><ghr>
< /form>
【问题讨论】:
标签: php codeigniter paypal