Paypal button not responding
-
Since last update of WooCommerce, “Proceed to Paypal” button on my site just doesn’t work, doesn’t respond. However, if I replace the cart.min.js file in WooCommerce with one from older version it works!
Can you please point me to what might be the reason for this?
Thank you very much!
-
What paypal gateway?
Click links to a paypal page, so I deduce gateway is PayFlow Link. In WooCommerce interface I see Paypal Standard.
Can you post your status report and a link to the page.
Changes are reverted as I need the store running, here is status:
WC Version: 2.5.5
Log Directory Writable: ✔ /home/en/public_html/admin/wp/wp-content/uploads/sites/4/wc-logs/
WP Version: 4.5.3
WP Multisite: ✔
WP Memory Limit: 256 MB
WP Debug Mode: –
Language: en_US
Server Environment
Server Info: Apache
PHP Version: 5.3.3 – We recommend a minimum PHP version of 5.4. See: How to update your PHP version
PHP Post Max Size: 8 MB
PHP Time Limit: 600
PHP Max Input Vars: 1000
SUHOSIN Installed: –
MySQL Version: 5.1.73
Max Upload Size: 1 MB
Default Timezone is UTC: ✔
fsockopen/cURL: ✔
SoapClient: ✕ Your server does not have the SoapClient class enabled – some gateway plugins which use SOAP may not work as expected.
DOMDocument: ✔
GZip: ✔
Multibyte String: ✔
Remote Post: ✔
Remote Get: ✔
Database
WC Database Version: 2.5.5
woocommerce_sessions ✔
woocommerce_api_keys ✔
woocommerce_attribute_taxonomies ✔
woocommerce_termmeta ✔
woocommerce_downloadable_product_permissions ✔
woocommerce_order_items ✔
woocommerce_order_itemmeta ✔
woocommerce_tax_rates ✔
woocommerce_tax_rate_locations ✔
Active Plugins (11)
Breadcrumb NavXT by John Havlik – 5.4.0
Cr3ativ Carousel Plugin by Jonathan Atkinson – 1.3.0
Creativ Shortcodes by Jonathan Atkinson – 1.0.4
WooCommerce Google Analytics Integration by WooThemes – 1.4.0
WooCommerce by WooThemes – 2.5.5
WP Updates Notifier by Scott Cariss – 1.4.3
W3 Total Cache by Frederick Townes – 0.9.4.1
iThemes Security by iThemes – 5.6.0Settings
Force SSL: –
Currency USD ($)
Currency Position left
Thousand Separator ,
Decimal Separator .
Number of Decimals 2
API
API Enabled: ✔
API Version: 3.1.0
WC Pages
Shop Base: Page not set
Cart: #1229 – /cart/
Checkout: #1229 – /cart/
My Account: #1231 – /my-account/
Taxonomies
Product Types: external (external), grouped (grouped), simple (simple), variable (variable)
Theme
Name:
Version: 1.2
Author URL:
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
Overrides (WooCommerce): be2-wp/woocommerce/archive-product.php,
be2-wp/woocommerce/cart/cart-empty.php,
be2-wp/woocommerce/cart/cart-totals.php,
be2-wp/woocommerce/cart/cart.php version 2.3.0 is out of date. The core version is 2.3.8,
be2-wp/woocommerce/checkout/cart-errors.php version 1.6.4 is out of date. The core version is 2.4.0,
be2-wp/woocommerce/checkout/form-billing.php,
be2-wp/woocommerce/checkout/form-checkout.php,
be2-wp/woocommerce/checkout/form-coupon.php,
be2-wp/woocommerce/checkout/form-login.php,
be2-wp/woocommerce/checkout/form-pay.php version 1.6.4 is out of date. The core version is 2.5.0,
be2-wp/woocommerce/checkout/form-shipping.php version 2.1.2 is out of date. The core version is 2.2.0,
be2-wp/woocommerce/checkout/payment.php version 2.3.0 is out of date. The core version is 2.5.0,
be2-wp/woocommerce/checkout/review-order.php,
be2-wp/woocommerce/checkout/thankyou.php,
be2-wp/woocommerce/content-product.php version 1.6.4 is out of date. The core version is 2.5.0,
be2-wp/woocommerce/content-single-product.php,
be2-wp/woocommerce/notices/error.php,
be2-wp/woocommerce/notices/success.php,
be2-wp/woocommerce/single-product.phpI tested the plugin with a default theme and works fine. However, with my custom theme as I said, proceed to paypal button is just not responding, and replacing cart.min.js with one from version I use now fixes the thing…
I’m testing all of this locally for the moment.
Look at the outdated template files. Most likely that.
even replacing all of those doesn’t fix the thing.
Do you have any clue why would simply replacing cart.min.js solve the issue?Cart.js in the new version supports ajax. If your template files don’t like this it won’t work.
Try a default theme.
Ok, thanks.
If I get to a reasonable solution I’ll post it here.Update:
if I delete cart.min.js, works just fine!It has to be related to the theme you’re using then. Not supporting cart ajax.
yes, I “inherited” a custom theme that has to be used.
Thank you for quick resposes anyway!I assume you did test another and it worked?
yes, as i said beffore, i tried another theme (storefront) and everything works just good. So it was clear issue is in the theme I use, just had no idea where to search for the issue.
be2-wp/woocommerce/cart/cart.php version 2.3.0 is out of date. The core version is 2.3
Try renaming that file so it’s not used.
The topic ‘Paypal button not responding’ is closed to new replies.