View Full Version : Authorize.net and subscriptions
99SIVTEC
02-02-2004, 08:40 PM
The developers of vbulletin just e-mailed us back and said they are NOT integrating the subscription service for vbulletin 3 with authorize.net at any time. Basically that isn't good news to me since I have a client waiting to launch because he thought we would ahve an authorize.net module (everything on the vbulletin.com forums led me to believe that one would be included)
Question is: Is there anyone working on such an integration? Any chance of anyone starting one?
Big Daddy Chemo
04-07-2004, 04:07 PM
Question is: Is there anyone working on such an integration? Any chance of anyone starting one?
It is integrated with the Gold release...but a few simple additions are in order.
First, the vanilla relay response script will timeout as there is nothing output to the screen before running the script. The AN server will wait for some kind of output to verify the data is received. A simple implementation is to output something like, "Please hold while we process your donation.") Place this code ABOVE your opening PHP tag.
Also, I use a simple Javascript redirect to the members Subscription folder. I placed this redirect AFTER the closing PHP tag.
To the file FORUM_ROOT/subscriptions/authorize.php make the following changes:
The initial output to the screen...place ABOVE the PHP opening tag:
<div align="center">Please hold...we are processing the donation.</div>
<div align="center">You will be redirected to your user control panel.</div>
<?php
/*================================================= =====================*\
|| ################################################## ################## ||
|| # vBulletin 3.0.0
The Javascript redirect. I placed this AFTER the closing PHP tag.
?>
<script language="JavaScript">
var URL = "http://www.mydomain.com/forum/subscriptions.php";
self.location = URL;
</script>
Hope this helps someone...it works flawlessly for me after these small additions.
nautiqeman
04-07-2004, 04:46 PM
What is the point of this with VB 3? I have a pay pal account for people to donate money. I guess my question is... what is the point of setting up subscriptions? Is it just to make people pay to use that particular forum?
memdy
04-19-2004, 07:27 PM
I just added this to vb3.0.1 and it didn't work for me, i'm getting the following error:
The following errors have occurred.
(14) The referrer, relay response or receipt link URL is invalid.
memdy
04-20-2004, 03:50 AM
Turns out that directory structure was the problem. I was testing in parallel using www.domain.com/forums-new while still running our old 2.2.9 under www.domain.com/forums
I renamed the new 3.0.1 to use www.domain.com/forums and BOOM paid subscriptions work now to authorize.net
problem resolved
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.