Support » Plugin: Easy Digital Downloads - Simple eCommerce for Selling Digital Files » Purchase Button Not Adding to Cart
Since Friday, whenever you click on the purchase button for any download, the product goes to the cart page and says there is nothing in cart. I have been using EDD for over a year with no issues and suddenly none of the buy now buttons work any longer. I am not using any form of cache either.
I only have PayPal chosen as a payment option as well, so that is not the issue? Any help would be appreciated since all my sales are now shut down.
Can you provide a URL for where this is occurring?
Any suggestions on this? I turned off all of the plugins with no success and we are not using any type of cache, so I’m at a loss?
Can you try adding the line below inside your wp-config.php file and see if that works:
define( 'EDD_USE_PHP_SESSIONS', false );
I didn’t get a chance to debug last night but the site was loading just fine when I checked last night. This morning I stated looking at it again and it seems you are having an issue on your site where all scripts and styles are returning a 404/500 error, meaning nothing is loading properly to test.
If the site is working for you, then you are getting a different version of the site than I am, and there is very probably some layer of caching involved, maybe at the hosting level that isn’t visible to the end user?
Yes, I’ve messed up something troubleshooting some of the idea in the support thread. Hope to get that cleaned up momentarily. 🙁
While trying some of the suggestions in the support documents to correct this issue, I inadvertently damaged something else on my site. I could not gain access to the backend, so I had to do a backup to restore the site. Upon completing the backup, the purchase button is now working? I’m at a loss for what was going on and I hope the backup corrected the issue permanently. I will post back here again if not.
- This reply was modified 8 months ago by mack99.
The problem is still occurring. It is strange in that it appears to be driven by my IP address? It works for me, but if I change my IP address, I get the error and everyone else gets the error. If I change back to my home IP address, I have no issues and it adds to the cart? Any other IP address seems to get the error?
is it possible for you to share your system info file with us?
this would be located in Downloads > tools > System Info. It is difficult to try and look for a conflicting plugin or theme when we don’t know what you are running.
Since it is only happening by IP Address, it’s very clear that something is happening on your hosting environment or plugins/themes (or a combination of the two). EDD doesn’t stop a product being added to the cart by IP address of a store owner. It is possible that maybe a security plugin is preventing the add to cart action from working correctly?
### Begin System Info (Generated 2021-10-26 18:19:29) ###
— Site Info
— Hosting Provider
Host: DBH: localhost, SRV: priceactiontradingsystem.com
— User Browser
Browser Name: Chrome
Browser Version: 95.0.4638.54
User Agent String: Mozilla/5.0 (Windows NT 10.0; Wi
n64; x64) AppleWebKit/537.36 (KH
TML, like Gecko) Chrome/95.0.463
8.54 Safari/537.36 Edg/95.0.1020
— WordPress Configuration
Permalink Structure: /%postname%/
Active Theme: Online Courses 1.1
Show On Front: page
Page On Front: #10
Page For Posts: Unset
Remote Post: wp_remote_post() works
Table Prefix: Length: 7 Status: Acceptable
Memory Limit: 40M
Registered Post Stati: publish, future, draft, pending, private, trash, auto-draft, inherit, request-pending, request-confirmed, request-failed, request-completed, refunded, failed, revoked, abandoned, processing, active, inactive, flamingo-spam, preapproval_pending, preapproval, cancelled
— EDD Configuration
Upgraded From: 2.9.8
Test Mode: Disabled
Guest Checkout: Enabled
Download Method: Direct
Currency Code: USD
Currency Position: before
Decimal Separator: .
Thousands Separator: ,
Upgrades Completed: upgrade_customer_payments_association,upgrade_payment_taxes,upgrade_user_api_keys,remove_refunded_sale_logs,update_file_download_log_data,stripe_customer_id_migration
Download Link Expiration: 48 hour(s)
— EDD Page Configuration
Checkout Page: https://priceactiontradingsystem.com/checkout/
Success Page: https://priceactiontradingsystem.com/purchase-confirmation/
Failure Page: https://priceactiontradingsystem.com/checkout/transaction-failed/
Downloads Slug: /downloads
— EDD Gateway Configuration
Enabled Gateways: PayPal
Default Gateway: PayPal
— EDD Tax Configuration
Tax Rate: 0
Display On Checkout: Displayed
Prices Include Tax: No
— WordPress Active Plugins
Ajax Search Lite: 4.9.4 — http://wp-dreams.com
Akismet Anti-Spam: 4.2.1 — https://akismet.com/
All In One WP Security: 4.4.9 — https://www.tipsandtricks-hq.com/wordpress-security-and-firewall-plugin
Anti-Malware Security and Brute-Force Firewall: 4.20.92 — https://gotmls.net/
Asgaros Forum: 1.15.13 — https://www.asgaros.de
Contact Form 7: 5.5.2 — https://contactform7.com/
Definitely allow mobile zooming: 1.5.0 — http://wordpress.org/plugins/definitely-allow-mobile-zooming/
Easy Add Thumbnail: 1.1.3 — http://wordpress.org/extend/plugins/easy-add-thumbnail/
Easy Digital Downloads: 184.108.40.206 — https://easydigitaldownloads.com
Email Tracker Pro: 5.2.6 — https://wordpress.org/plugins/email-tracker/
Embed Any Document – Embed PDF, Word, PowerPoint and Excel: 2.7.0 — https://embedanydocument.com/plugin/
Flamingo: 2.2.2 — Takayuki Miyoshi
Google XML Sitemaps v3 for qTranslate: 3.4.1 — http://wordpress.org/plugins/google-xml-sitemaps-v3-for-qtranslate/
Hide/Remove Metadata: 1.2.4 — http://catchplugins.com/plugins/hide-metadata
Hide Admin Bar From Non-admins: 1.0 — http://www.paidmembershipspro.com/wp/hide-admin-bar-from-non-admins/
Inactive Logout: 2.0.2 — https://www.deepenbajracharya.com.np
Kwayy HTML Sitemap: 3.1 — http://www.kwayyinfotech.com/our-work/kwayy-html-sitemap/
MaxButtons: 8.8.1 — http://maxbuttons.com
Media Sync: 1.2.5 — https://wordpress.org/plugins/media-sync/
Notification: 8.0.0 — https://bracketspace.com
Paid Memberships Pro: 2.6.3 — https://www.paidmembershipspro.com
PDA Membership Integration: 1.1.7 — https://preventdirectaccess.com/extensions/?utm_source=user-website&utm_medium=pluginsite_link&utm_campaign=pda-memberships
PDA Protect WordPress Videos: 1.3.2 — https://preventdirectaccess.com/extensions/protect-wordpress-videos/?utm_source=user-website&utm_medium=pluginsite_link&utm_campaign=pda-protect-wp-videos
PDF Embedder: 4.6.2 — http://wp-pdf.com/
Prevent Concurrent Logins: 0.4.0 — https://frankiejarrett.com
Prevent Direct Access: 2.7.7 — https://preventdirectaccess.com/?utm_source=user-website&utm_medium=pluginpage&utm_campaign=plugin-author-link
Prevent Direct Access Gold: 3.3.2 — https://preventdirectaccess.com/?utm_source=user-website&utm_medium=pluginsite_link&utm_campaign=pda-gold
Recent Posts Widget Extended: 1.1.0 — https://idenovasi.com/projects/recent-posts-widget-extended/
Redirection: 5.1.3 — https://redirection.me/
Remove Footer Credit: 1.0.10 — https://wpchill.com
SiteOrigin Widgets Bundle: 1.25.0 — https://siteorigin.com/widgets-bundle/
Social Media and Share Icons (Ultimate Social Media): 2.6.7 — http://ultimatelysocial.com
TLS 1.2 Compatibility Test: 1.0.1 — http://www.paidmembershipspro.com
Username Changer: 3.2.2 — https://gitlab.com/widgitlabs/wordpress/Username-Changer
WP-Ban: 1.69 — https://lesterchan.net/portfolio/programming/php/
WP-Optimize – Clean, Compress, Cache: 3.1.12 — https://getwpo.com
WP Content Copy Protection (Lite): 2.0.5 — https://www.tychesoftwares.com/premium-plugins/
WPForce Logout: 1.4.5 — http://www.sanjeebaryal.com.np
WP Hide Dashboard: 2.2.1 — http://wphidedash.org/
— WordPress Inactive Plugins
Clean Up Optimizer: 4.0.28 — https://tech-banker.com/clean-up-optimizer/
Really Simple SSL: 5.1.2 — https://really-simple-ssl.com
Special Text Boxes: 5.9.109 — http://www.simplelib.com/archives/wordpress-plugin-wp-special-textboxes/
— Webserver Configuration
PHP Version: 7.3.31
MySQL Version: 5.7.36
Webserver Info: Apache
— PHP Configuration
Memory Limit: 512M
Upload Max Size: 32M
Post Max Size: 32M
Upload Max Filesize: 32M
Time Limit: 90
Max Input Vars: 3000
Display Errors: N/A
PHP Arg Separator: &
— PHP Extensions
SOAP Client: Installed
Suhosin: Not Installed
— Session Configuration
EDD Use Sessions: Enabled
### End System Info ###
When I go into my tools and look into tools and my API Keys, it says “No Items Found.” Could this have anything to do with it?
I’m not sure if it was anything I did specifically, or if it just started working again, but after 24 hours of working on this, items will now finally show up in the checkout cart again. I deleted and reinstalled some files, and suddenly it is working it seems. Hoping it is not sporadic and doesn’t come back again.
Can someone please delete the reply with my system information? Thanks!
Unless it is an extreme case, posts and replies are not edited here.
Forum topics will only be edited or deleted if they represent a valid legal, security, or safety concern.
- The topic ‘Purchase Button Not Adding to Cart’ is closed to new replies.