View Full Version : NiXT with paypal subscription
randomi
01-23-04, 12:27 PM
Note that I haven't setup NiXT on the server yet. But from the documents I've been reading it indicates that you have to go to the website to pay a monthly bill every month. Correct me if I'm wrong, because that'll be a better news to me instead.
I've been looking through the script files with my shallow PHP knowledge... but I couldn't decide where to start.
Therefore, I ask you if you have a NiXT that has been edited to do PayPal monthly subscription, can tell me how to start off, or just tell me I'm wrong and NiXT does support PayPal subscription.
Thanks in advance.
Sincerely, Incomplete.
I'm no expert on the subject either but i think it is set up to pay a monthly subscription ( i may be wrong) Alex042 seams to know a lot about NiXT why don't you try asking him.
Greg
randomi
01-24-04, 06:39 AM
Thanks, I will PM him right now. :)
alex042
01-24-04, 11:00 AM
Actually, I'll answer here so maybe someone else can benefit also.
If you look at how paypal subscriptions are setup, you can easily create a recurring payment through a link or maybe by changing a few variables in the module.
You can do this by copying the paypal module (paypal.php), renaming the new file to create a new recurring module, and making a few changes to either drop the form submission and replace it with a link submission or change the form submission from one time _xclick type payments to recurring _xclick-subscription type (You can find the variables on the paypal site. One way you could do this is by creating an example button and seeing how the button and links are forms.).
If the module is setup correctly, you should be able to initialize it like you did with the other ones. Don't forget to change all $paypal variables in the new module to something new like $paypal2 so they don't conflict with the one-time paypal payment module.
It's been a while since I've actually created the module so I'd have to go compare the 2 to weed out details but this should be the general idea of how to create recurring payments with Nixt and paypal.
vBulletin v3.5.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.