WP Stripe Payments Plugin Troubleshooting Tips post provides a list of the most common issues users run into and troubleshooting tips.
Last Updated: March 22, 2022
Latest News: Updated the documentation.
This is a list of common questions related to issues asked in wordpress.org support forum. I have created this list to help you troubleshoot some of the most common issues you might run into. If you can’t find an answer to your issue please click the following link WP Stripe Payments Support and create a support ticket. Someone will assist you as soon as possible.
What You Need:
WP Stripe Payments Plugin Troubleshooting Tips
Q1 There is no pop-up to enter payments details, how do I fix this issue?
Answer 1: This is usually caused by the theme not coded correctly. To fix this issue you could add the following parameter compact_mode=”1″.
[asp_product id="178" compact_mode="1"]
You can also troubleshoot the theme in question. You can read more about both solutions above in the following support thread.
Q2 Currently I have the plugin set on test. The transactions stall with the following error:
Failed to load resource: the server responded with a status of 500 (Internal Server Error)
[Error] Failed to load resource: the server responded with a status of 400 () (verifications, line 0)
Answer 1: In this instance the solution was provided by someone in the support forum. My linux serer runs CPanel. When I was upgrading the server to a newer PHP version using EasyApache, I forgot to enable/ configure curl. You can read more about it in the following support thread.
Q3 When a customer buys a product and receives a confirmation, they get an email with a ‘?’ in the icon/avatar part. How can I change this?
Answer 1: This is not controlled by a plugin, this is how your email server is configured. However, you might want to try to change “From Email Address” setting to email address used by your website in plugin settings. Stripe Payments -> Settings, “Email Settings” tab. You can read more about it in the following support thread.
Q4 I was wondering if you push any information into the dataLayer on successful transactions? I’m looking to send transaction data to Google Analytics eCommerce.
Answer 1: We don’t know anything about “DataLayer Push”. The best way to do the analytics tracking would be to hook into the post payment processing hook. Check the following forum post to learn more.
Q5 Can I get form variables from the shortcode and not the database because our database is becoming too large?
Answer 1: We had to come to this solution (saving shortcodes as products) to make sure payment process is properly handled and also to avoid code duplication. So to answer your question – no, it’s not possible to avoid database usage here. Check the following forum post to learn more.
Q6 Is it possible to create a Payment form directly on a page?
Answer 1: No. Check the following forum post to learn more.
Q7 What could cause an Invalid Security Token when processing a payment?
Answer 1: Caching settings in the server or site can prevent security tokens from updating correctly. Check the following forum post to learn more.
Q8 How do I prefill customer name and email for users in my site?
Answer 1: If you want to prefill customer name and email, you can hook to
asp_ng_pp_data_ready filter and insert name and email if needed. Check the following link forum post to for an example code.
Q1 How do I stop the use of card fraud for payments?
Answer 1: The following page https://stripe.com/docs/card-testing has a lot of information related to this topic that will answer most of your questions. Check the following link forum post to learn more.
I will be updating this post from time to time. So keep coming back for more troubleshooting tips.
Stripe Payments Plugin Tutorials: