Author Topic: [solved] After paypal payment returns customer to blank page  (Read 4006 times)

blackrat999

  • Jr. Member
  • **
  • Posts: 215
[solved] After paypal payment returns customer to blank page
« on: August 19, 2014, 12:52:07 pm »
Hi.
The issue is that after going to Paypal and completing payment, you can click on "return to store" and it takes you to a blank page url is :

www.bluefrogtoys.co.uk/index.php?option=com_virtuemart&view=pluginresponse&task=pluginresponsereceived&on=4c1c09&pm=1&Itemid=0&lang=

The payment is taken and the invoice is sent as confirmed but the customer is left high and dry on a white page.

It is a similar issue with Sagepay plugin, (i have asked media-street for help with this but wondering if it is a VM issue as it happens in Paypal too)  it returns a blank page in a similar way, payment is taken but the order is not confirmed. the URL of this one is similar:

www.bluefrogtoys.co.uk/index.php?option=com_virtuemart&view=pluginresponse&task=pluginresponsereceived&on=600e08&pm=4&crypt=@eaccad4bc0988 (there are another few hundred numbers after this)

I have Joomla 2.5.24
VM 2.6.6
standard Paypal plugin not changed in any way
Could you perhaps give me any clues as to what is going wrong in the cart before confirmation of purchase ?

seyi

  • 3rd party VirtueMart Developer
  • Jr. Member
  • *
  • Posts: 401
    • AwoDev
Re: After paypal payment returns customer to blank page
« Reply #1 on: August 19, 2014, 13:02:06 pm »
Hello,

On my vm2660 install, I do not get a blank page when I go to
   /index.php?option=com_virtuemart&view=pluginresponse&task=pluginresponsereceived&on=4c1c09&pm=1&Itemid=0&lang=

I get the message "Thank you for your Order!"

I think you should go to global configuration, turn on debug mode and set error reporting to maximum temporarily and then refresh that page.  Hopefully you will see the error that is stopping it from being executed.
Seyi A
--------------------
Promotion enhancement for Virtuemart:
   - AwoCoupon FREE - http://www.awocoupon.com/starter
   - AwoCoupon Pro - http://awodev.com/products/joomla/awocoupon
   - AwoRewards - http://awodev.com/products/joomla/aworewards
   - AwoAffiliate - http://awodev.com/products/joomla/awoaffiliate

blackrat999

  • Jr. Member
  • **
  • Posts: 215
Re: After paypal payment returns customer to blank page
« Reply #2 on: August 19, 2014, 13:13:20 pm »
Thanks Seyi - i have done that but dont get any errors shown in th front end - im not really familiar with the debug mode though ?
it is on on Global config and set to max

thanks

seyi

  • 3rd party VirtueMart Developer
  • Jr. Member
  • *
  • Posts: 401
    • AwoDev
Re: After paypal payment returns customer to blank page
« Reply #3 on: August 19, 2014, 15:17:09 pm »
Debug mode  would display any mysql error you are receiving
Setting Error reporting to maximum should display any php error/warning/notice

If after setting it to maximum it is still not displaying anything, i think you should look at your server error logs just to verify.
Seyi A
--------------------
Promotion enhancement for Virtuemart:
   - AwoCoupon FREE - http://www.awocoupon.com/starter
   - AwoCoupon Pro - http://awodev.com/products/joomla/awocoupon
   - AwoRewards - http://awodev.com/products/joomla/aworewards
   - AwoAffiliate - http://awodev.com/products/joomla/awoaffiliate

blackrat999

  • Jr. Member
  • **
  • Posts: 215
Re: After paypal payment returns customer to blank page
« Reply #4 on: August 19, 2014, 16:02:55 pm »
Ok thanks - with debug on at max the front end on that URL is still totally blank - nothing showing at all and no error messages.

what i have tried :
reinstall VM 2.6.6 and aio - no change
the URL appended to another VM installation on the same server works fine "thank you for your order" etc

I have no idea where to go next with this - totally stumped

thanks

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 9196
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.6.8
Re: After paypal payment returns customer to blank page
« Reply #5 on: August 19, 2014, 16:29:33 pm »
has to be in a log somewhere - ask your host
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

blackrat999

  • Jr. Member
  • **
  • Posts: 215
Re: After paypal payment returns customer to blank page
« Reply #6 on: August 19, 2014, 16:36:03 pm »
I have my own Virtual server hosted with Memset - can you tell me where i should be looking and what for please ?

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 9196
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.6.8
Re: After paypal payment returns customer to blank page
« Reply #7 on: August 19, 2014, 17:57:45 pm »
no idea - I'm not your server engineer - your looking for the logged error that is causing your whitescreen
without it no one can help you
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

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 27573
  • Always on vacation
    • Jenkin Hill Internet
Re: After paypal payment returns customer to blank page
« Reply #8 on: August 19, 2014, 18:18:19 pm »
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VM 3.6.8 10204 on Joomla 3.9.13 PHP 7.0.33

samlf3rd

  • Jr. Member
  • **
  • Posts: 115
Re: After paypal payment returns customer to blank page
« Reply #9 on: August 20, 2014, 15:54:01 pm »
I have my own Virtual server hosted with Memset - can you tell me where i should be looking and what for please ?

I bet your problem is with your version of PHP. Can you go to Site/System Information/PHP information and post your PHP version. With Virtuemart the different version really really rely on certain version of PHP, while server installation and configurations may be different. On some servers I have had to enable this or that through SSH.
Right now I am working on a server that runs Virtuemart 2.0.26 just fine (well so far). Anything Virtuemart 2.6.x requires PHP 5.5.

blackrat999

  • Jr. Member
  • **
  • Posts: 215
Re: After paypal payment returns customer to blank page
« Reply #10 on: August 20, 2014, 16:00:51 pm »
Ok cracked it.
The issue was with the Sagepay plugin. I had built the site on a test IP address and when i made it live i set it to its own IP - the plugin apparently links to the IP address that it is installed on and when i moved it I guess it didnt know how to get back to the site after a purchase. The guy that fixed it said that this would have affected the Paypal plugin too (because that is miraculously working aswell now) so now all is working properly im a happy chappy.
thanks for suggestions anyway.