cancel
Showing results for 
Search instead for 
Did you mean: 

A bug in Magento ver. 1.9.2.2

A bug in Magento ver. 1.9.2.2

Hi All,

 

I am adding recurring profile successfully in my magento site everything is working perfect but customer not able to cancel their subscription, Cancel and Suspend buttons are not able to visible for customer but code I can see in file. Customer only can see get update button.

 

Any one let me know please how can we show Cancel, Suspend button visible for customer.

 

<?php if ($this->getCanCancel()): ?>
<button style="top:75px; right:10px;" type="button" title="<?php echo $this->quoteEscape($this->__('Cancel')) ?>" class="button" onclick="if( confirm('<?php echo $this->getConfirmationMessage() ?>') ) { window.location.href = '<?php echo $this->getCancelUrl() ?>'; } return false;"><span><span><?php echo $this->__('Cancel') ?></span></span></button>
<?php endif; ?>
<?php if ($this->getCanSuspend()): ?>
<button style="top:150px; right:5px;" type="button" title="<?php echo $this->quoteEscape($this->__('Suspend')) ?>" class="button" onclick="if( confirm('<?php echo $this->getConfirmationMessage() ?>') ) { window.location.href = '<?php echo $this->getSuspendUrl() ?>'; } return false;"><span><span><?php echo $this->__('Suspend') ?></span></span></button>
<?php endif; ?>

 

 

Thank you in advance