Pa nije da sam ja nesto sad izmislio, vec sam malo izmjenio onaj 'Buy now' button koji paypal generishe.
Ovo je dio koji sam ja koristio:
Kôd:
form action="<?php echo $paypal_form?>" method="post" id="paypalform">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value="<?php echo $paypal_email; ?>">
<input type="hidden" name="item_name" value="<?php echo $paypal_product_name; ?>">
<input type="hidden" name="item_number" value="<?php echo $photo->iduser_gallery; ?>">
<input type="hidden" name="quantity" value="1">
<input type="hidden" name="amount" value="<?php echo number_format($photo->price,2); ?>">
<input type="hidden" name="currency_code" value="EUR">
<input type="hidden" name="notify_url" value="<?php echo $notify_url; ?>">
<input type="hidden" name="custom" value="<?php echo $hash; ?>">
<input type="hidden" name="return" value="<?php echo $return_url; ?>">
<input type="image" src="<?php echo $paypal_input_image; ?>" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img alt="" border="0" src="<?php echo $paypal_pixel_image; ?>" width="1" height="1">
</form>