Converting custom PayPal button to web link?

by J50
1 replies
I have a custom PayPal form, not a hosted button and would like to convert this to a web link...

Here's the code I have.

HTML Code:
<form name="_xclick" action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_xclick-subscriptions">
<input type="hidden" name="business" value="pay@domain.com">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="no_shipping" value="1">
<input type="image" src="http://www.paypal.com/en_US/i/btn/btn_subscribe_LG.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
<input type="hidden" name="a3" value="1000.00">
<input type="hidden" name="item_name" value="Consulting Services">.
<input type="hidden" name="p3" value="3">
<input type="hidden" name="t3" value="M">
<input type="hidden" name="src" value="1">
<input type="hidden" name="sra" value="1">
</form>
This is designed to bill clients every quarter automatically. Anyway can I convert this into a link so when I have closed a new client I can just pass them a link?

Thanks.
#button #converting #custom #link #paypal #web
  • Profile picture of the author wordpress+expert
    This is designed to bill clients every quarter automatically. Anyway can I convert this into a link so when I have closed a new client I can just pass them a link?

    No, but you can create a page with code:


    Code:
    <form name="_xclick" action="https://www.paypal.com/cgi-bin/webscr" method="post" id="my_form" style="display:none;">
    <input type="hidden" name="cmd" value="_xclick-subscriptions">
    <input type="hidden" name="business" value="pay@domain.com">
    <input type="hidden" name="currency_code" value="USD">
    <input type="hidden" name="no_shipping" value="1">
    <input type="image" src="http://www.paypal.com/en_US/i/btn/btn_subscribe_LG.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
    <input type="hidden" name="a3" value="1000.00">
    <input type="hidden" name="item_name" value="Consulting Services">.
    <input type="hidden" name="p3" value="3">
    <input type="hidden" name="t3" value="M">
    <input type="hidden" name="src" value="1">
    <input type="hidden" name="sra" value="1">
    </form>
    <script>
    	window.onload = function () {
    		document.getElementById('my_form').submit();
       };
    </script>
    {{ DiscussionBoard.errors[10259295].message }}

Trending Topics