Convert a trial
Request parameters
Parameter
Type / Description
Response parameters
Type
Description
Request sample
<?php
require ('PATH_TO_AUTH');
$SubscriptionReference = 'BF44555C6C';
$ExtendSubscriptionFromPaymentDate = true; //false can also be used if you want the subscription start date to be the moment when the trial was set to initially expire.
try {
$convertedTrial = $client->convertTrial($sessionID, $SubscriptionReference, $ExtendSubscriptionFromPaymentDate);
}
catch (SoapFault $e) {
echo "convertedTrial: " . $e->getMessage();
exit;
}
var_dump("convertedTrial", $convertedTrial);Last updated
Was this helpful?