public function CommerceLicenseExample::checkoutCompletionMessage in Commerce License 7
Implements CommerceLicenseInterface::checkoutCompletionMessage().
Overrides CommerceLicenseBase::checkoutCompletionMessage
File
- modules/
commerce_license_example/ plugins/ license_type/ CommerceLicenseExample.class.php, line 73
Class
- CommerceLicenseExample
- Example license type.
Code
public function checkoutCompletionMessage() {
// A real checkoutCompletionMessage() method would also output the result
// of $this->accessDetails() here.
$text = 'Congratulations, ' . $this->wrapper->cle_name
->value() . '. <br />';
$text .= "You are now licensed.";
return $text;
}