View Full Version : subscriptions, how does it work


devinci99
05-08-2004, 03:18 PM
Currently experimenting and testing the subscription function of the engine...

is this automated, or is this something manual?

from upgrade.htm template


<P>
Package one: <!--TIER_1_BYTES--> Bytes of storage for $<!--TIER_1_COST-->:
<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="<!--PAYPAL_EMAIL-->">
<input type="hidden" name="item_name" value="Messenger_Tier_1">
<input type="hidden" name="item_number" value="<!--USER-->">
<input type="hidden" name="no_note" value="1">
<input type="hidden" name="currency_code" value="USD">
<input type="image" src="https://www.paypal.com/en_US/i/btn/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="<!--TIER_1_COST-->">
<input type="hidden" name="p3" value="30">
<input type="hidden" name="t3" value="D">
<input type="hidden" name="src" value="1">
<input type="hidden" name="sra" value="1">
<input type="hidden" name="return_url" value="<!--ICON_PATH--><!--URL-->?Upgrade_Success">
<input type="hidden" name="notify_url" value="<!--ICON_PATH--><!--URL-->?Do_Paypal">
</form>
<P>


This appears to be a monthly subscription, can it be changed to annually? Is it as easy as changing this form? Or do something needs to be modify in the messenger.cgi ?

I went to paypal, and created a button for annual subscription. Can I use that?

What happens when a user subscribes? I made a test, and it appears to be manual? Does the engine automatically upgrade his/her account, or does the admin have to do it?

What happens when the subscription period is over, or the user cancel or does not renew the subscription, does his/her account get downgraded automatically?

Jafo
05-08-2004, 04:56 PM
To use different Paypal code is not a problem, just keep the dynamic tags in place and make the item name reflects the proper tier (i.e. Messenger_Tier_1).

Everything is automatic and is explained in the Readme file. Using IPN or a notify_url option in the form will automatically notify the script.

Yes, the users account gets downgraded automatically if they cancel or miss a payment.

devinci99
05-08-2004, 05:29 PM
ok cool.

I'm be asking fr help again soon on this. :)

... I'm going to try to mod the engine so I can change this:

"<input type="hidden" name="item_name" value="Messenger_Tier_1">"

so I can use something for tier1...3... like

"50MB_Subscription" instead.

--------------

1 more question, you're sure wwm6 will be ok if I am using annual subscriptions?

I'm also going to use the "encrypted button" feature from paypal, that means as long as I generate my button to say item_name, "Messenger_Tier_1" it should be ok? or will this encryption have any affect on wwm6?

Jafo
05-08-2004, 05:37 PM
Yes any period will work fine.

You cannot use encryption as far as I know, but feel free to give it a shot. :)

devinci99
05-08-2004, 06:00 PM
good thing I'm still "beta" testing.

I'll give it a shot and let you know.

thanks for the awesome support!