This was the error
Fatal error: Call to undefined method PaypalHelperPayPalStd::RefundTransaction() in /home/*********/public_html/plugins/vmpayment/paypal/paypal.php on line 1156
This is what is in the file at those lines, first line below being like 1156
if ($paypalInterface->RefundTransaction($payment)) {
if ($this->_currentMethod->payment_type == '_xclick-subscriptions') {
$paypalInterface->debugLog(vmText::_('VMPAYMENT_PAYPAL_SUBSCRIPTION_CANCELLED'), 'plgVmOnUpdateOrderPayment Refund', 'message', true);
} else {
//Mark the order as refunded
// $order->order_status = $method->status_refunded;
$paypalInterface->debugLog(vmText::_('VMPAYMENT_PAYPAL_API_TRANSACTION_REFUNDED'), 'plgVmOnUpdateOrderPayment Refund', 'message', true);
}