• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: Setting up Subscription Payments

Setting up Subscription Payments 6 years 8 months ago #38417

Hey - I'm pretty new to this, so this may be a stupid question. I have followed the instructions I found here:
www.rsjoomla.com/support/documentation/r...mpro-and-paypal.html

The only thing I didn't do was create a drop down, because there is only one price I want them to be able to select.

When I do a test of the check out system, I get this message from PayPal:

Invalid Regular period. You must specify valid values for the A3, P3, and T3 parameters for a subscription.

Here is the script I put in... It looks like I filled everything in right? or did I put something in the wrong place? Any help would be much appreciated!




if($_POST[0] != '0')
{
$business = ' This e-mail address is being protected from spambots. You need JavaScript enabled to view it '; //the account the payment is made to
$item_name = str_replace($replace, $with, '{subscription:The Basics}'); //this sets membership name
$currency_code = 'CAD'; //the currency used in the transaction
$a3 = $_POST[25]; //the subscription cost
$p3 = '12'; //the subscription duration
$t3 = 'M'; //the subscription units of duration : M stands for month
$src = '1'; //this defines the subscription as recurring
$no_note = '1';
$notify_url = JURI::root().'index.php?option=com_rsform&formId='.$formId.'&submission='.$SubmissionId;
$url= 'www.paypal.com/cgi-bin/webscr?cmd=_xclic...siness).'&item_name='
.urlencode($item_name).'¤cy_code='.urlencode($currency_code).'&a3='.urlencode($a3).'&p3='.urlencode($p3).'&t3='
.urlencode($t3).'&src='.urlencode($src).'&no_note='.urlencode($no_note).'¬ify_url='.urlencode($notify_url);
$app = JFactory::getApplication();
$app->redirect($url);
exit();
}
The administrator has disabled public write access.
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!