ทำลิงค์ที่หน้าเวบใช่ไหมคะ ใช้สคริปนี้ค่ะ
PAYPAL :
1. เปลี่ยน value เป็นเมล์ paypal ของเรา
<input type="hidden" name="business" value="xxx@hotmail.com">
2. ใช้ในกรณีที่จ่ายเงินเสร็จแล้ว ให้คนซื้อเข้าหน้านั้นอัตโนมัติ หากไม่ใส่ คนซื้อจะเข้า paypal account แทน (บรรทัดนี้ไม่ใส่ก็ได้)
<input type="hidden" name="return" value="http://xxx.com">
3. ใช้กรณีที่กดปุ่ม paypal ไปแล้ว แต่กลับใจ ไม่จ่ายเงิน กด cancel จะเข้าหน้านี้ (บรรทัดนี้ไม่ใส่ก็ได้)
<input type="hidden" name="cancel_return" value="http://xxx.com/">
4. ชื่อของที่ซื้อขาย
<input type="hidden" name="item_name" value="Marketer Tools 100% profit">
5. ราคาและหน่วยเงิน
<input type="hidden" name="amount" value="15.00">
<input type="hidden" name="currency_code" value="USD">
ุ6. ช่องกรอกที่อยู่ หากใส่ 1 จะไม่มีช่องกรอกที่อยู่ ใช้กรณีของที่ซื้อขายนั้นเป็นของที่ไม่ต้องส่งไปรษณีย์ หากต้องการที่อยู่คนซื้อ ให้ใส่เป็น 0
<input type="hidden" name="no_shipping" value="1">
7. รูปภาพ หากใส่ไว้ที่เดียวกับหน้าเว็บนั้น ให้ใส่เป็น src='x-click-but5.gif' (ชื่อรูป)
<input type='image' src='https://www.paypal.com/en_US/i/btn/x-click-but5.gif' border='0' name='submit' alt='Make payments with PayPal - it's fast, free and secure!'>
#############################################################################
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value="xxxx@hotmail.com">
<input type="hidden" name="return" value="http://xxxx.com">
<input type="hidden" name="cancel_return" value="http://xxxx.com/">
<input type="hidden" name="item_name" value="Marketer Tools 100% profit">
<input type="hidden" name="amount" value="15.00">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name=" no_note" value="0">
<input type="hidden" name="cn" value="Optional Instructions">
<input type="hidden" name="no_shipping" value="1">
<input type="hidden" name="undefined_quantity" value="0">
<input type='image' src='https://www.paypal.com/en_US/i/btn/x-click-but5.gif' border='0' name='submit' alt='Make payments with PayPal - it's fast, free and secure!'>
</form>
#############################################################################