Quote:
Originally Posted by 99SIVTEC
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:
PHP Code:
<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.
PHP Code:
?>
<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.