Jeg har en <FORM> som kalder en Paypal.com tjeneste som derved får overført
en masse oplysninger om en ordre som vist nedenfor.
problemet er at jeg foruden at skulle sende alle variablerne til paypal
tjenesten også selv skal bruge alle informationerne som skal lagres i en
MySQL database. Men hvordan er det muligt både at kalde paypal tjenesten og
min side som skal registrere infoene fra den samme form ? .. eller er det
slet ikke muligt. ?. og i så fald hvordan kan det så nemmest laves :) ?
MVH. Dennis T. Holm
<form action="
https://www.paypal.com/cgi-bin/webscr" method="post">
<table border="0" cellpadding="0" cellspacing="2" width="100%">
<tr>
<td width="50%" valign="top" align="left"
class="normaltext">First Name:<br>
<input type="text" name="first_name" size="30"
class="input"><br>
Last Name:<br>
<input type="text" name="last_name" size="30" class="input"><br>
Email:<br>
<input type="text" name="email" size="30" class="input"><br>
<br>
<input type= "submit" name="submit" alt="Make payments with
PayPal - it's fast,free and secure!" class="button" value="Check Out">
</td>
<td width="50%" valign="top" align="left"
class="normaltext">Address 1:<br>
<input type="text" name="address1" size="30"
class="input"><br>City:<br>
<input type="text" name="city" size="30"
class="input"><br>State:<br>Zip:<br>
<input type="text" name="zip" size="15" class="input"><br><br>
<input type="hidden" name="cmd" value="_ext-enter">
<input type="hidden" name="redirect_cmd" value="_xclick">
<input type="hidden" name="business"
value="mailorder@diamondrecords.com">
<input type="hidden" name="item_name" value="My order from
www.diamondrecords.com">
<input type="hidden" name="amount" value="<? ECHO $GrandTotal
?>">
<input type="hidden" name="shipping" value="2.00">
<input type="hidden" name="return"
value="
http://www.diamondrecords.com">
<input type="hidden" name="cancel_return"
value="
http://www.diamondrecords.com?site=shop">
<input type="hidden" name="image_url"
value="
http://www.diamondrecords.com/pics/drlogo_white.jpg">
<input type="hidden" name="currency_code" value="<? ECHO
$currency ?>">
</td>
<td width="50%" valign="top" align="left" class="normaltext">
</td>
</tr>
</table>
</form>