php - how to integrate paypal with return data? -


i have created new business account in paypal , created button have these 2 problems; 1. when passed price service, , user click (pay now) button user go paypal page price put not showing primary price in paypal page. item price empty in paypal. user has put price in paypal too. , price has passed in (options: service price: 12) not counted in total amount.

this code of button insert in page:

<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top"> <input type="hidden" name="cmd" value="_s-xclick"> <input type="hidden" name="hosted_button_id" value="3ynezfssjnvr4"> <table> <tr><td><input type="hidden" name="on0" value="service price">service price</td></tr><tr><td><input type="text" name="os0" maxlength="200"></td></tr> </table> <input type="image" src="https://www.paypalobjects.com/en_us/i/btn/btn_paynowcc_lg.gif" border="0" name="submit" alt="paypal - safer, easier way pay online!"> <img alt="" border="0" src="https://www.paypalobjects.com/en_us/i/scr/pixel.gif" width="1" height="1"> 

  1. the second problem how can pass transaction info website record in database? need special account different standard (free) account

it's not have pass amount value paypal

<input type="hidden" name="amount" value="<?php echo $total; ?>"> 

Comments

Popular posts from this blog

ios - iPhone/iPad different view orientations in different views , and apple approval process -

java Extracting Zip file -

C# WinForm - loading screen -