Author Topic: [solved] problem noticed after a successful update  (Read 2350 times)

robwuk

  • Beginner
  • *
  • Posts: 6
[solved] problem noticed after a successful update
« on: August 20, 2014, 01:03:51 am »
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

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 10253
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.6.8
Re: problem noticed after a successful update
« Reply #1 on: August 20, 2014, 10:17:17 am »
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 http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 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
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

robwuk

  • Beginner
  • *
  • Posts: 6
Re: problem noticed after a successful update
« Reply #2 on: August 21, 2014, 00:58:50 am »
Thankyou for reply, at least i know if works fine for someone.

I will look into what you have suggested.

Cheers

Rob

robwuk

  • Beginner
  • *
  • Posts: 6
Re: problem noticed after a successful update
« Reply #3 on: August 21, 2014, 01:18:03 am »
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

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 10253
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.6.8
Re: problem noticed after a successful update
« Reply #4 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 ?

But Alatak is the expert on payment plugins  - have given her a heads up?
GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 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
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

alatak

  • Contributing Developer
  • Full Member
  • *
  • Posts: 2048
    • alatak.net
Re: problem noticed after a successful update
« Reply #5 on: August 22, 2014, 09:33:51 am »
hello
Thank you for reporting, i will check that issue.

robwuk

  • Beginner
  • *
  • Posts: 6
Re: problem noticed after a successful update
« Reply #6 on: August 22, 2014, 10:42:31 am »
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

But Alatak is the expert on payment plugins  - have given her a heads up?

Thankyou

alatak

  • Contributing Developer
  • Full Member
  • *
  • Posts: 2048
    • alatak.net
Re: problem noticed after a successful update
« Reply #7 on: August 29, 2014, 09:56:01 am »
Hello
I was not able to reproduce your problem, but i have done a fix in case it happens again.