Reply
Contributor
Posts: 13
Registered: ‎02-05-2014
Accepted Solution

Trial Amount, Duration and Removing Testing Submissions

Hello,

I have instegrated ARB for my joomla website I'm confused here for trial amount and duration please clear me.

I have to set dynamically free trial duration with $0 like 10 days, 15 days, 30 days, 40days, 60days, 120days,....365days after trial period ends it will automatically start recurring billing unlimited days once their trial periods will ends.

How will i pass variables to it Please guide me to doing that also How can i remove my tested subscriptions from ARB section of payment gateway admin:

Here is my variables i'm using for ARB Please Kindly guide me:

$subscription  = new AuthorizeNet_Subscription;
$subscription->name= "Membership";
$subscription->intervalLength  = "1";
$subscription->intervalUnit= "months";
$subscription->startDate   = $date
$subscription->totalOccurrences= "1";
$subscription->trialOccurrences= "0";
$subscription->trialAmount       = "0";
$subscription->amount  = "9.99";
$subscription->creditCardCardNumber= $creditcard;
$subscription->creditCardExpirationDate= $creditCardExpirationDate;
$subscription->creditCardCardCode  = $cvv;
$subscription->billToFirstName = $fname;
$subscription->billToLastName  = $lname;
$subscription->customerEmail   = $email;
$subscription->billToAddress   = $address;
$subscription->billToCountry   = $country;
$subscription->billToAddress   = $address;
$subscription->billToZip         = $zip;


Accepted Solutions
Solution
Accepted by RichardH (Administrator)
‎08-21-2015 01:58 AM
Expert
Posts: 4,525
Registered: ‎03-08-2010

Re: Trial Amount, Duration and Removing Testing Submissions

instead of setting a tree trail duration of 10, 15 days, move the startDate to 10, 15 days ahead.

View solution in original post

Solution
Accepted by topic author ni3
‎08-21-2015 01:58 AM
Contributor
Posts: 13
Registered: ‎02-05-2014

Re: Trial Amount, Duration and Removing Testing Submissions

It was done by myself i just started transaction via start date and problem was resovled.

View solution in original post


All Replies
Solution
Accepted by RichardH (Administrator)
‎08-21-2015 01:58 AM
Expert
Posts: 4,525
Registered: ‎03-08-2010

Re: Trial Amount, Duration and Removing Testing Submissions

instead of setting a tree trail duration of 10, 15 days, move the startDate to 10, 15 days ahead.

Contributor
Posts: 13
Registered: ‎02-05-2014

Re: Trial Amount, Duration and Removing Testing Submissions

This not posible set start with date. Can you please suggest me an way to pass accurate variables to it.

Contributor
Posts: 13
Registered: ‎02-05-2014

Re: Trial Amount, Duration and Removing Testing Submissions

[ Edited ]

Can you please suggest me how will i pass variables with actual values to it?

Expert
Posts: 4,525
Registered: ‎03-08-2010

Re: Trial Amount, Duration and Removing Testing Submissions

[ Edited ]

You mean you don't know php?

You can hire Certified Developer.

Contributor
Posts: 13
Registered: ‎02-05-2014

Re: Trial Amount, Duration and Removing Testing Submissions

It was done by myself i just started transaction via start date and problem was resovled

Solution
Accepted by topic author ni3
‎08-21-2015 01:58 AM
Contributor
Posts: 13
Registered: ‎02-05-2014

Re: Trial Amount, Duration and Removing Testing Submissions

It was done by myself i just started transaction via start date and problem was resovled.