News:

Looking for documentation? Take a look on our wiki

Main Menu

[solved] problem noticed after a successful update

Started by robwuk, August 20, 2014, 01:03:51 AM

Previous topic - Next topic

robwuk

Ive upgraded my VirtueMart to 2.6.8 from 2.6.6 by installing the two seperate files com_virtuemart.2.6.8 and com_virtuemart.2.6.8_ext_aio

All this seemed to go ok we have had one order since update

Ive just come to alter the status of a test order i have just cancelled, paypal when i click cancel just took be back the site but with a white screen

I then went into the orders, selected by order and changed the status manually to cancelled, clicked on 'update order status' which tries to load the following url, which doesnt look complete

http://www.mywebsite.co.uk/administrator/index.php?option=com_virtuemart&view=orders#

the page redirects to http://www.mywebsite.co.uk/administrator/index.php and is blank (white page)

if i refresh it tries to send again but still with white page and url above.

any ideas what im doing wrong or have done wrong with the update?

Thanyou

Rob

GJC Web Design

The url is correct - the parameters are passed as a Post (as you describe works fine on my 2.6.8 installs)

I would suspect lack of memory perhaps - you need to do all the normal server error debugging steps
look in logs - turn on debugging and error reporting full up
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

robwuk

Thankyou for reply, at least i know if works fine for someone.

I will look into what you have suggested.

Cheers

Rob

robwuk

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);
            }


GJC Web Design

and do you have a function RefundTransaction ($payment) around line 403  in plugins/vmpayment/paypal/paypal/helpers/paypalapi.php ?

But Alatak is the expert on payment plugins  - have given her a heads up?
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

alatak

hello
Thank you for reporting, i will check that issue.

robwuk

Quote from: GJC Web Design on August 21, 2014, 12:53:19 PM
and do you have a function RefundTransaction ($payment) around line 403  in plugins/vmpayment/paypal/paypal/helpers/paypalapi.php ?

Yes i do have that function in that place in the file, but i wouldnt know if there was a mistake here

Quote from: GJC Web Design on August 21, 2014, 12:53:19 PM
But Alatak is the expert on payment plugins  - have given her a heads up?

Thankyou

alatak

Hello
I was not able to reproduce your problem, but i have done a fix in case it happens again.