update - only shows Add object or person and not what I selected
Hi James
I'm glad you like Crockford. I just finished watching the first of his 4 videos.
Ok this is what I did so far:
- I unzipped and uploaded your valid.js (cheers for that buddy)
- I found each checkbox related to the first package (options), and, in the tag and after the name="......", added class="Photo_Manipulation" - then uploaded the html file
When I hit submit, it only shows:
Add object or person followed by the total amount.
James, notice the last two lines on my html file at the beginning of the form:
Code:
<INPUT type="hidden" name="cmd" value="_cart">
<INPUT type="hidden" name="add" value="1">
<INPUT type="hidden" name="business" value="my paypal email address">
<input type="hidden" name="currency_code" value="GBP">
<INPUT type="hidden" name="receiver_email" value="my paypal email address">
<INPUT type="hidden" name="item_name" value="Add object or person">
<INPUT type="hidden" name="amount" id="amount" value="9.99">
When I tried removing these two lines:
Code:
<INPUT type="hidden" name="item_name" value="Add object or person">
<INPUT type="hidden" name="amount" id="amount" value="9.99">
PayPal returned an error message:
PayPal cannot process this transaction because of a problem with the seller's website. Please contact the seller directly to resolve this problem.
By the way I removed the JavaScript code from the head and the one after the form which you suggested earlier.
Are you able to check the html page and see where I'm going wrong in the form? Could be that I'm using cart instead of button? Beats me.
To those who are reading besides James:
If you know where I need to correct the lines (either in the html form or JavaScript) kindly let me know your thoughts too.
Many Thanks.
Rafi