Jump to content


Photo

trying to validate subscription terms troubles


  • This topic is locked This topic is locked
1 reply to this topic

#1 Guest(old)

Guest(old)

    Junior Member

  • Members
  • 312 posts

Posted 16 December 2002 - 07:07 AM

There are errors coming up when someone signs up through any of the buttons on the subscription page. Any help would be greatly appreciated. Below are the form buttons, paypal script values and the email that is sent when someone signs up.

Here is the error that is sent:
> The following error message was generated while trying to validate
subscription terms:
> This customer did not sign-up according to your payment terms. Although
payment was accepted the account was not activated.

Here are the values in the paypal script:
# You only need to change this if you are running with https
# see the manual for details
my $PAYPAL_URL = 'http://www.paypal.com/cgi-bin/webscr';

# If you have an initial trial period set it here. For example one
# month would be '1 M'
my $PERIOD1 = '1 M';

# If you have a second trial period set it here. For example one
# month would be '1 M'
my $PERIOD2 = '1 M';

# Set this to your recurring or normal period. For example one
# month would be '1 M'
my $PERIOD3 = '1 M';

# Set this to the dollar amount for your initial trial period. For
# example a free trial would be '0.00'
my $AMOUNT1 = '18.00';

# Set this to the dollar amount for your second trial period. For
# example a $1.00 trial would be '1.00'
my $AMOUNT2 = '18.00';

# Set this to the dollar amount for your recurring or normal period.
# For example $1.00 would be '1.00'
my $AMOUNT3 = '18.00';

Here are the form buttons:
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_xclick-subscriptions">
<input type="hidden" name="business" value="goddessdirect@directvinternet.com">
<input type="hidden" name="item_name" value="30 Days">
<input type="hidden" name="item_number" value="0030">
<input type="hidden" name="no_shipping" value="1">
<input type="hidden" name="return" value="http://www.MariaLove.com/subscribed.html">
<input type="hidden" name="cancel_return" value="http://www.MariaLove.com/unsubscribed.html">
<input type="hidden" name="no_note" value="1">
<input type="image" src="https://www.paypal.com/images/x-click-but20.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
<input type="hidden" name="a3" value="18.00"><input type="hidden" name="p3" value="1">
<input type="hidden" name="t3" value="M">
<input type="hidden" name="src" value="1">
<input type="hidden" name="sra" value="1">
<input type="hidden" name="usr_manage" value="1"></form>

<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_xclick-subscriptions">
<input type="hidden" name="business" value="goddessdirect@directvinternet.com">
<input type="hidden" name="item_name" value="90 Days">
<input type="hidden" name="item_number" value="0090">
<input type="hidden" name="no_shipping" value="1">
<input type="hidden" name="return" value="http://www.MariaLove.com/subscribed.html">
<input type="hidden" name="cancel_return" value="http://www.MariaLove.com/unsubscribed.html">
<input type="hidden" name="no_note" value="1">
<input type="image" src="https://www.paypal.com/images/x-click-but20.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
<input type="hidden" name="a3" value="36.00"><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">
<input type="hidden" name="usr_manage" value="1"></form>

<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_xclick-subscriptions">
<input type="hidden" name="business" value="goddessdirect@directvinternet.com">
<input type="hidden" name="item_name" value="6 Months">
<input type="hidden" name="item_number" value="0060">
<input type="hidden" name="return" value="http://www.MariaLove.com/subscribed.html">
<input type="hidden" name="cancel_return" value="http://www.MariaLove.com/unsubscribed.html">
<input type="hidden" name="no_note" value="1">
<input type="image" src="https://www.paypal.com/images/x-click-but20.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
<input type="hidden" name="a3" value="60.00"><input type="hidden" name="p3" value="6">
<input type="hidden" name="t3" value="M"><input type="hidden" name="src" value="1">
<input type="hidden" name="sra" value="1"><input type="hidden" name="usr_manage" value="1"></form>



#2 paypal_pb

paypal_pb

    Advanced Member

  • Members
  • 2,960 posts

Posted 16 December 2002 - 11:27 AM

You can only have one signup button. For example, a 3 day trial followed by monthly subscription would use:

my $PERIOD1 = '3 D';
my $PERIOD3 = '1 M';
my $AMOUNT1 = '5.00';
my $AMOUNT3 = '19.00';

<input type="hidden" name="a1" value="5.00">
<input type="hidden" name="p1" value="3">
<input type="hidden" name="t1" value="D">
<input type="hidden" name="a3" value="19.00">
<input type="hidden" name="p3" value="1">
<input type="hidden" name="t3" value="M">

Patrick Breitenbach
PayPal, Inc.
Dev Net: https://www.paypal.com/pdn




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users