I m working on a joomla site. (i m new to joomla) i have a button cancel, which cancel a person subscription( i m using CIM) now i have the function made of xml file as said by the payment gateway SDK tut. But when i clock the button it says undefined method my method name, here is the code
//echo "Cancel Subscription";exit;
[B] $result = $this->cancelCustomerSubscription();[/B]
Now the echo is working but when i comment it and run this it throws a error
//Cancel Subscription Request
$this->xml = "<?xml version='1.0' encoding='utf-8'?>
<name>" . $this->login . "</name>
<transactionKey>" . $this->transkey . "</transactionKey>
" . $this->refId() . "
" . $this->customerProfileId() . "
what am i doing wrong? or missing something