Title: Paypal Standard redirection problem
Last modified: September 1, 2016

---

# Paypal Standard redirection problem

 *  Resolved [leprebro](https://wordpress.org/support/users/leprebro/)
 * (@leprebro)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/paypal-standard-redirection-problem/)
 * Site: [https://leprestore.com](https://leprestore.com)
 * Used payment gateway: PayPal Standard
 * System report:
 * —————————————————————————-
 *     ```
       WordPress Environment
       Home URL:		https://leprestore.com
       Site URL:		https://leprestore.com
       WC Version:		2.6.1
       Log Directory Writable:		 /home/h0h0l/leprestore.com/www/wp-content/uploads/wc-logs/
       WP Version:		4.5.3
       WP Multisite:		–
       WP Memory Limit:		256 MB
       WP Debug Mode:
       WP Cron:
       Language:		en_US
       Server Environment
       Server Info:		Apache
       PHP Version:		5.6.23
       PHP Post Max Size:		50 MB
       PHP Time Limit:		30
       PHP Max Input Vars:		1000
       cURL Version:		7.19.7, NSS/3.21 Basic ECC
       SUHOSIN Installed:		–
       MySQL Version:		5.6.27
       Max Upload Size:		50 MB
       Default Timezone is UTC:
       fsockopen/cURL:
       SoapClient:
       DOMDocument:
       GZip:
       Multibyte String:
       Remote Post:
       Remote Get:
       Database
       WC Database Version:		2.6.1
       woocommerce_sessions
       woocommerce_api_keys
       woocommerce_attribute_taxonomies
       woocommerce_downloadable_product_permissions
       woocommerce_order_items
       woocommerce_order_itemmeta
       woocommerce_tax_rates
       woocommerce_tax_rate_locations
       woocommerce_shipping_zones
       woocommerce_shipping_zone_locations
       woocommerce_shipping_zone_methods
       woocommerce_payment_tokens
       woocommerce_payment_tokenmeta
       Active Plugins (8)
       All In One Schema.org Rich Snippets	 	by Brainstorm Force – 1.4.0
       All In One SEO Pack	 	by Michael Torbert – 2.3.5.1
       Better WordPress Google XML Sitemaps	 	by Khang Minh – 1.4.1
       UberMenu 3 - The Ultimate WordPress Mega Menu	 	by Chris Mavricos, SevenSpark – 3.2.5
       WooCommerce Cart Tab	 	by jameskoster – 0.4.0
       WooCommerce Checkout Manager	 	by Visser Labs – 4.0.8
       WooCommerce TM Extra Product Options	 	by themecomplete – 4.3.4
       WooCommerce	 	by WooThemes – 2.6.1
       Settings
       Force SSL:		–
       Currency		EUR (€)
       Currency Position		left_space
       Thousand Separator		,
       Decimal Separator		.
       Number of Decimals		2
       API
       API Enabled:
       WC Pages
       Shop Base:		#145 - /shop/
       Cart:		#147 - /cart/
       Checkout:		#149 - /checkout/
       My Account:		#151 - /my-account/
       Taxonomies
       Product Types:	 	external (external), grouped (grouped), simple (simple), variable (variable)
       Theme
       Name:		Lepretimes
       Version:		1.2
       Author URL:		http://leprestore.com
       Child Theme:		 – If you're modifying WooCommerce on a parent theme you didn't build personally, then we recommend using a child theme. See: How to create a child theme
       WooCommerce Support:
       Templates
       Archive Template:	 	Your theme has a woocommerce.php file, you will not be able to override the woocommerce/archive-product.php custom template since woocommerce.php has priority over archive-product.php. This is intended to prevent display issues.
       Overrides (WooCommerce):	 	lepretimes/woocommerce/content-product.php version 2.5.0 is out of date. The core version is 2.6.1
       ```
   
 * —————————————————————————
 * Upon clicking “Proceed to PayPal” on the checkout page, some users (randomly)
   get a white screen instead of the redirecting on Paypal page, after refreshing
   the page some time, they finally get redirected. 40-50% of users face that issue.
   That issue occurs on any browsers – Google Chrome, Firefox, Internet Explorer
 * Those screenshots are taken from different customers, the debug mode enabled 
   with those parameters on:
 * // Enable WP_DEBUG mode
    define( ‘WP_DEBUG’, true );
 * // Enable Debug logging
    define( ‘WP_DEBUG_LOG’, true );
 * // Enable display of errors and warnings
    define( ‘WP_DEBUG_DISPLAY’, true );
   @ini_set( ‘display_errors’, ‘On’ );
 * [https://leprestore.com/4ticket/screen1.png](https://leprestore.com/4ticket/screen1.png)
   
   [https://leprestore.com/4ticket/screen2.png](https://leprestore.com/4ticket/screen2.png)
   [https://leprestore.com/4ticket/screen3.png](https://leprestore.com/4ticket/screen3.png)
   [https://leprestore.com/4ticket/screen4.png](https://leprestore.com/4ticket/screen4.png)
   [https://leprestore.com/4ticket/screen5.png](https://leprestore.com/4ticket/screen5.png)
   [https://leprestore.com/4ticket/screen6.jpg](https://leprestore.com/4ticket/screen6.jpg)
   [https://leprestore.com/4ticket/screen7.jpg](https://leprestore.com/4ticket/screen7.jpg)
 * It shows no errors on the screenshots given =\.
 * File Debug.log: [https://leprestore.com/4ticket/debug.log](https://leprestore.com/4ticket/debug.log)
 * File wc_log: [https://leprestore.com/4ticket/paypal.log](https://leprestore.com/4ticket/paypal.log)
 * **In the old version of woocommerce there was an option “Use form submission 
   method” which solved the problem with redirect, it disappeared in the new version
   unfortunately =\.**
 * —————————————————————————
 * In file htaccess:
 *     ```
       # BEGIN WordPress
       <IfModule mod_rewrite.c>
       RewriteEngine On
       RewriteBase /
       RewriteRule ^index\.php$ - [L]
       RewriteCond %{REQUEST_FILENAME} !-f
       RewriteCond %{REQUEST_FILENAME} !-d
       RewriteRule . /index.php [L]
       </IfModule>
   
       # END WordPress
   
       RewriteEngine On
       RewriteCond %{HTTP:SSL} !1
       RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [QSA,L,R=301]
       ```
   
 * —————————————————————————
 * In Apache server logs:
 * 7 July:
 * 14:13:57 88.245.242.233 ModSecurity: Access denied with code 424 (phase 2). Matched
   phrase “../” at ARGS:img. [file “/usr/local/apache2/conf/modsecurity/slr/standalone_rules/
   application_specific/modsecurity_slr_46_wordpress_attacks.conf”] [line “2496”][
   id “2134511”] [rev “090314”] [msg “RS-1: WordPress Themes /wp-admin/admin-ajax.
   php img Parameter Local File Inclusion”] [data “../wp-config.php”] [severity “
   CRITICAL”] [tag “WEB_ATTACK/LFI”] [tag “[http://www.exploit-db.com/exploits/34511/”%5D](http://www.exploit-db.com/exploits/34511/”%5D)[
   hostname “leprestore.com”] [uri “/wp-admin/admin-ajax.php”] [unique_id “V8768dU4uTRTC0YYgAdu20GFGDFHJB”]
 * —————————————————————————
 * 9 July:
 * 20:53:18 198.245.49.215 (22)Invalid argument: mod_fcgid: can’t lock process table
   in pid 677714
 * —————————————————————————
 * Already tried this:
 * – the Standard wordpress theme “Twenty Thirteen” is being used on website with
   design remake, transfering design to another theme didn’t solve the problem.
 * – Tried to turn off all the plugins except these two: in the menu – Ubermenu(
   Version 3.2.5 ), and TM Extra Product Options(Version 4.3.4 ) for the goods options.
 * – Changing permalinks
 * – Removing woocommerce plugin through the FTP woocommerce and setting up new 
   one
 * – enabling “Force SSL Checkout” checkbox (the redirect stops working at all upon
   enabling it)
 * Please help :S
 * [https://wordpress.org/plugins/woocommerce/](https://wordpress.org/plugins/woocommerce/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Contributor [Mike Jolley](https://wordpress.org/support/users/mikejolley/)
 * (@mikejolley)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/paypal-standard-redirection-problem/#post-7559670)
 * Look for your PHP error log. Any notice, or output, before the redirect will 
   break it. I see you have live chat module – it could be that.
 *  Thread Starter [leprebro](https://wordpress.org/support/users/leprebro/)
 * (@leprebro)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/paypal-standard-redirection-problem/#post-7559719)
 * **Mike Jolley**
 * Thank you for quick reply, and thank you for resolve my problem 🙂 You was right
   about live chat module, as soon as i switched to another live chat system, problem
   with redirect – gone, thank you very much! 😉
 *  [pankaj_saini](https://wordpress.org/support/users/pankaj_saini/)
 * (@pankaj_saini)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/paypal-standard-redirection-problem/#post-9260927)
 * i have same issue .I’m using sandbox mode and when click on checkout. This redirect
   me to paypal but there only blank (white screen ) shows.
 * Please help
 *  [mrpetreli](https://wordpress.org/support/users/mrpetreli/)
 * (@mrpetreli)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/paypal-standard-redirection-problem/#post-9324013)
 * Have similar issue using calculated fields form plugin. When redirected to PayPal
   some customers get white screen and are booted back to a blank form.
 * Any ideas?

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Paypal Standard redirection problem’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

## Tags

 * [payment gateway](https://wordpress.org/support/topic-tag/payment-gateway/)
 * [paypal standard](https://wordpress.org/support/topic-tag/paypal-standard/)
 * [redirect](https://wordpress.org/support/topic-tag/redirect/)
 * [white screen](https://wordpress.org/support/topic-tag/white-screen/)

 * 4 replies
 * 4 participants
 * Last reply from: [mrpetreli](https://wordpress.org/support/users/mrpetreli/)
 * Last activity: [8 years, 9 months ago](https://wordpress.org/support/topic/paypal-standard-redirection-problem/#post-9324013)
 * Status: resolved