23. 04. 2010. | #11 |
majstor
Wrote a book
|
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> |
|
|
Slične teme | ||||
Tema | Početna poruka teme | Forum | Odgovori | Poslednja poruka |
[demo] Berza web development poslova - DevProJobs.com | MorenoArdohain | Web site, dizajn i multimedia | 43 | 06. 01. 2008. 16:00 |
Silverlight demo | degojs | Web aplikacije, web servisi i software | 34 | 09. 06. 2007. 02:51 |
Ruby: Interaktivni on-line demo/tutorial | andrej | Programiranje | 0 | 11. 11. 2006. 19:22 |