我是贝宝 API 的新手,并且已经知道如何放置贝宝按钮并将访问者带到贝宝网站。
- 如何确保买家已完成购买,然后在我的 dataghase 中注册。
- 如何从贝宝检索所有已完成购买的信息,以便在我的网站 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>