
Jason
Staff
/ Moderator

Jan 2, 2012, 10:06 AM
Post #2 of 5
(494 views)
Shortcut
|
|
Re: [kcmedia] Paypal Buy Now Button Issue
[In reply to]
|
Can't Post
|
|
Hi Craig, That is strange. There are a couple of things you can try. The first I would try would be to hard code most of the form. Probably the only part of the form that would need to be dynamic would be the value of the "encrypted" field, the rest is probably static. So it would look something like this:
<form action="https://www.paypal.com/cgi-bin/webscr" method="post"> <input type="hidden" name="cmd" value="_s-xclick"> <input type="hidden" name="encrypted" value="<?php echo $record['paypal_encrypted_value'];?>"> <input type="image" src="https://www.paypalobjects.com/en_AU/i/btn/btn_buynowCC_LG.gif" border="0" name="submit" alt="PayPal � The safer, easier way to pay online."> <img alt="" border="0" src="https://www.paypalobjects.com/en_AU/i/scr/pixel.gif" width="1" height="1"> </form> I would make the "paypal_encrypted_value" field a textfield (or if you wanted to use a text box, make sure you disable auto-formatting). Give that a try and let us know what happens. Thanks --------------------------------------------------- Jason Sauchuk - Programmer interactivetools.com Hire me! Save time by getting our experts to help with your project. http://www.interactivetools.com/consulting/
|