Jump to content


Photo

The link you have used to enter the PayPal system


  • This topic is locked This topic is locked
10 replies to this topic

#1 Noack

Noack

    Newbie

  • Members
  • Pip
  • 3 posts

Posted 16 April 2005 - 06:22 PM

I'm putting together a "Recurring Payments for Contribution, Donation" web page and some of the code is at the end of this message...

When I try to pay $1.00 for a 1 month installment, at the check out.... I get the following error message: "The link you have used to enter the PayPal system is invalid. Please review the link and try again."

When I try to pay $1.00 for 2 months installments ....hey it works fine.

My question...how can I get it to work, even if the visitor put "1" in as their choice of week, month or quarterly. Or...is 1 week, 1 month and 1 quarter...not a workable option.

Apparently for the different options (week, month, quarterly)...if you only try for just 1 installment, it will not work. If you do more that 1 installment they will work.

Recap:
If I use only "1" as an option for the number of weeks, months or quarters...I got this error message: "The link you have used to enter the PayPal system is invalid. Please review the link and try again."
If I use any number larger that 1, or 2 or higher number, it works fine.

I thought I had I working with "1" as the choices, I might have messed it up.

So, how can I get it to work, even if the visitors put "1" in as their choice of week, month or quarterly. Or...is 1 week, 1 month and 1 quarter...not a workable option.

One last question....should I set the "src" to "0" in <input name="src" type="hidden" id="src" value="1">, so that the subscription payment does not continue after the cycle, it will just stop

==================================================================================
<form name="recurring3" onsubmit="return checkForm2(this);" method="post" action="https://www.paypal.com/cgi-bin/webscr">
<div align="left">
<strong>
<spanclass="style2">
</span>
</strong>
<u>
<font face="Arial"> MONTHLY
</font>
</u>
<table cellSpacing="0" cellPadding="0" width="100%" border="0">
<tr>
<td noWrap width="323">
<font face="Arial">$ 
</font>
<font face="ms sans serif" size="3">
<input type="textfield" size="12" name="a4">
</font>
<font face="Arial">for  
</font>
<font face="ms sans serif" size="3">
<input type="text fields" size="3" name="srt">
</font>
<font face="Arial">months.   
</font>
</td>
<td>
<font face="Arial" size="3">
<input class="formbox_button" id="Submit" type="submit" value="Set Up Monthly Plan" name="Submit">
</font>
</td>
</tr>
</table>
<font face="Arial" size="3">
<input type="hidden" value="1" name="p4">
<input type="hidden" value="M" name="t4">
<input type="hidden" value="1" name="src">
<input type="hidden" value="1" name="sra">
<input type="hidden" value="_xclick-subscriptions" name="cmd">
<input type="hidden" value="name@thename.com" name="business">
<input type="hidden"value="http://www.thename.com/ thank_you_ donation.html" name="return">
<input type="hidden" value="Monthly Contribution to the Name" name="item_name">
<input type="hidden" value="1" name="no_note">
<input type="hidden" value="USD" name="currency_code"></font></div>
</form>
==================================================================================
Thanks...for your help....
:-)
Larry

#2 Andrew Chang

Andrew Chang

    Average Member

  • Members
  • 738 posts

Posted 16 April 2005 - 07:49 PM

You are missing some fields and using some bad ones. Below is a working form



<form name="recurring3" onsubmit="return checkForm2(this);" method="post" action="https://www.paypal.com/cgi-bin/webscr">
<strong>
<spanclass="style2">
</span>
</strong>
<u>
<font face="Arial"> MONTHLY
</font>
</u>
<table cellSpacing="0" cellPadding="0" width="100%" border="0">
<tr>
<td noWrap width="323">
<font face="Arial">$
</font>
<font face="ms sans serif" size="3">
<input type="textfield" size="12" name="a3">
</font>
<font face="Arial">for
</font>
<font face="ms sans serif" size="3">
<input type="text fields" size="3" name="srt">
</font>
<font face="Arial">months.
</font>
</td>
<td><input type="hidden" value="1" name="p3">
<input type="hidden" value="M" name="t3">
<input type="hidden" value="1" name="src">
<input type="hidden" value="1" name="sra">
<input type="hidden" value="_xclick-subscriptions" name="cmd">
<input type="hidden" value="name@thename.com" name="business">
<input type="hidden"value="http://www.thename.com/ thank_you_ donation.html" name="return">
<input type="hidden" value="Monthly Contribution to the Name" name="item_name">
<input type="hidden" value="1" name="no_note">
<input type="hidden" value="USD" name="currency_code">
<font face="Arial" size="3">
<input class="formbox_button" id="Submit" type="submit" value="Set Up Monthly Plan" name="Submit">
</font>
</td>
</tr>
</table>
<font face="Arial" size="3">
</font></div>
</form>


Andrew Chang
Script to sell downloads: http://itemseller.scorpionsystems.net
Web Design & Scripting: http://scorpionsystems.net
Web & Image Hosting includes global SSL: http://scorpionwebhosting.com
Photographer Gallery Software: http://Photo-Seller.com
Become an affiliate and make money http://worldannounce....com/affiliates http://scorpionwebho...g.com/affiliate
Free Web Traffic: http://www.trafficsw...m/go.cgi?169137 , http://www.ts25.com/...ScorpionSystems

#3 Noack

Noack

    Newbie

  • Members
  • Pip
  • 3 posts

Posted 19 April 2005 - 03:31 PM

I could not get by the single recurring issue. I can now see that any recurring payment has to be more than one, and if you only have one installment or payment....it is not recurring. Paypal's recurring payment system apparently does not accept or process just one (1) installment/payment. It works fine with 2 or more, but not with just 1. Their recurring payments system, must have more that one installment or payment, to truly be reoccuring....the payment must happen more than once.

One way...I got around it....by switching the text boxes for the number of weeks (and months, and quarters) to "drop down boxes" with the pre numbered options. I set up the multiple weekly options (2 -52). I did not use the "1" in any option. This same type of "drop down" was used for the monthly (2-12) & quarterly (2-4). I also indicated in the page, that if anyone wants to make just a single or just a 1.....weekly, monthly or quarterly payment, they should use the "Anytime Contributions" payment option.

Another way....
I kept the text boxes and used javascripts for the following...:
This is how I have set up these recurring payment items (i.e. weekly, monthly, quarterly):
1. If the visitor leaves the amount blank, a alert comes up : "Please fill in an amount."
2. If the visitor leaves the number of weeks blank, a alert comes up: "Please fill in the number of weeks, must be more that 1. Recurring payments must have more that one weekly installment."
3. If the visitor puts "1" in as an option for the number of weekly installments, a alert comes up: "Please fill in the number of weeks, must be more that 1. Recurring payments must have more that one weekly installment."
4. This is the same alerts for the monthly and quarterly recurring options. It's set up with alerts for blank amounts, blank number of installments and also is the visitor indicated just 1 installment. Again any installment..2 or more works.
For these two remaining items, the one "ANYTIME CONTRIBUTIONS" and the ANNUAL $ once each year options, they just straight one time payments and nothing to do with recurring payment. These items, are not installments, and are made with one payment.

This all took a while.
:-(
Larry



Larry Noack

#4 Noack

Noack

    Newbie

  • Members
  • Pip
  • 3 posts

Posted 20 April 2005 - 02:20 PM

Here is what a PayPal Teck said today:

You can not have a one time subscription, because that process is handled by using Buy Now buttons. What you could do is create a buy now button for your product and use the subscription button as a custom button for buy now button when you are creating it. By doing this, your customers will think they are signing up for a subscription and be able to make their payments.
:-)
Larry

Larry Noack

#5 PayPalStephen

PayPalStephen

    Advanced Member

  • Members
  • 2,138 posts

Posted 21 April 2005 - 09:42 AM

Hello,

Have you tried using 'srt' and value of '1'? or making the 'src' a checkbox with the value of one? You would then just put texting to check the box for recurring donations.

Stephen Ivaskevicius
PayPal/eBay, Inc.
www.paypal.com/pdn

#6 permutations

permutations

    Member

  • Members
  • PipPip
  • 10 posts

Posted 24 July 2005 - 08:58 PM

> Have you tried using 'srt' and value of '1'?

Yes, that's the way I originally coded it, and I got the dreadful error. Or, I should say, my customers did.

It would be nice if PayPal would document this. The manual suggests that a value of 1 would be perfectly fine, but it's not.


#7 mudassar_ijazawan

mudassar_ijazawan

    Newbie

  • Members
  • Pip
  • 2 posts

Posted 23 August 2006 - 12:22 AM

Hi all,

I am still facing the same problem even I have 1 month subcription and 10 Days Free trial. I have tried all the things discussed above. Any body any idea.

Thnaks

Mudassar Ijaz

#8 az-k2

az-k2

    Newbie

  • Members
  • Pip
  • 2 posts

Posted 07 July 2008 - 02:37 PM

Hi All,

Wondering if anyone can help, I need a bit of guidance please, i've implemented a payment gateway via PP using x-click (not the recurring payment method).

I want my user/customer to be able to choose 1 of 3 plans, e.g PLAN A. or PLAN B. or PLAN C. (each plan has a separate price) How ever i need which ever plan they choose to simply be recurring. Either monthly, yearly, or 2 yearly (automatically). I've already looked into the auto recurring payment option from PP but that means i will have to set up 3 payment buttons for each option, How ever i only want to have one check-out button. Is this possible? Thanks in advance for any suggestions.

#9 svpwizard

svpwizard

    Newbie

  • Members
  • Pip
  • 3 posts

Posted 28 July 2008 - 06:48 AM

after looking over subscriptions that work I see something different.

<input type="hidden" value="1" name="src">
<input type="hidden" value="1" name="sra">

I have no idea what the "sra" is but I removed it and made sure the "src" was value "1" and it worked fine.

Steve
Primeau’s Website Design
http://www.primeaus.com/


#10 svpwizard

svpwizard

    Newbie

  • Members
  • Pip
  • 3 posts

Posted 28 July 2008 - 06:57 AM

Correction to my last post the correction is:

name="sra" value="1"

and delette the - name="srt" value="1" if its there

Steve
Primeau’s Website Design
http://www.primeaus.com/


#11 deleted user: 21224

deleted user: 21224

    Newbie

  • Members
  • Pip
  • 1 posts

Posted 01 September 2009 - 12:44 AM

I have checked this code but its not working can you Please tell me that where i am failing. i have copied the code and run at my server but after doing the login by a devloper account its giving me error.


<blockquote id="quote"><font size="1" face="Verdana, Arial, Helvetica" id="quote">quote:<hr height="1" noshade id="quote">Originally posted by Andrew Chang
[br]You are missing some fields and using some bad ones. Below is a working form



<form name="recurring3" onsubmit="return checkForm2(this);" method="post" action="https://www.paypal.com/cgi-bin/webscr">
<strong>
<spanclass="style2">
</span>
</strong>
<u>
<font face="Arial"> MONTHLY
</font>
</u>
<table cellSpacing="0" cellPadding="0" width="100%" border="0">
<tr>
<td noWrap width="323">
<font face="Arial">$
</font>
<font face="ms sans serif" size="3">
<input type="textfield" size="12" name="a3">
</font>
<font face="Arial">for
</font>
<font face="ms sans serif" size="3">
<input type="text fields" size="3" name="srt">
</font>
<font face="Arial">months.
</font>
</td>
<td><input type="hidden" value="1" name="p3">
<input type="hidden" value="M" name="t3">
<input type="hidden" value="1" name="src">
<input type="hidden" value="1" name="sra">
<input type="hidden" value="_xclick-subscriptions" name="cmd">
<input type="hidden" value="name@thename.com" name="business">
<input type="hidden"value="http://www.thename.com/ thank_you_ donation.html" name="return">
<input type="hidden" value="Monthly Contribution to the Name" name="item_name">
<input type="hidden" value="1" name="no_note">
<input type="hidden" value="USD" name="currency_code">
<font face="Arial" size="3">
<input class="formbox_button" id="Submit" type="submit" value="Set Up Monthly Plan" name="Submit">
</font>
</td>
</tr>
</table>
<font face="Arial" size="3">
</font></div>
</form>


Andrew Chang
Script to sell downloads: http://itemseller.scorpionsystems.net
Web Design & Scripting: http://scorpionsystems.net
Web & Image Hosting includes global SSL: http://scorpionwebhosting.com
Photographer Gallery Software: http://Photo-Seller.com
Become an affiliate and make money http://worldannounce....com/affiliates http://scorpionwebho...g.com/affiliate
Free Web Traffic: http://www.trafficsw...m/go.cgi?169137 , http://www.ts25.com/...ScorpionSystems
<hr height="1" noshade id="quote"></blockquote id="quote"></font id="quote">




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users