It might be possible to twiddle the URL called by the redirect header. Can you post the code that constructs the paypal button on your page? - the original page was offline last time I tried.

I also am offline for a while, but I'll take a look at this again tomorrow GMT.

Update: The original page is back online, and there's a possible solution. Its a bit krufty - someone might be able to come up with a cleaner approach, perhaps using javascript to change the form action from the client side, but this seems to work OK. Change your redirect URL to:

https://www.paypal.com/cgi-bin/webscr?add=1&cmd=_cart&business=MAILADDRESS&item_name=BridgeMill%20Power%20Tennis%20Camp&name=item_number=Camp05&amount=198.00&no_note=1&currency_code=USD&lc=US

This is the URL taken from the form action, with all the fields that were supplied as hidden form parameters in the html source supplied as URL parameters.

(You'll need to change the mail address to the correct one - I chopped it to combat spambots). You might also need to check your agreement with paypal to make sure you aren't obliged to display their button.

Hope this helps.

g0n, backpropagated monk

In reply to Re^9: Coding and Design Advice by g0n
in thread Coding and Design Advice by Anonymous Monk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.