Unable to process payment
-
I made a button and ran it through. It worked a few days ago.
Now it runs, you get the green tick
Goes back to the page, says processingThen says
SECURITY CHECK ISSUE
in red.
The payment hasn’t gone through. Empty Direct Stripe logs
-
Hello @funsail,
Thank you for using Direct Stripe.
Do you find any information in your stripe’s dashboard under “Events & logs” menu?
It actually could mean that the nonce is not properly read, could you investigate this ?
You will find documentation in WordPress.org https://codex.wordpress.org/Debugging_in_WordPress
Best regards,
Could be nonce, I use super cache. It’s preloaded every 10 hrs or so. That should be frequent enough.
What is the reason you need a nonce? I thought it’s for dynamic stuff?
Hello @funsail,
Thank you for using Direct Stripe.
A form that handles money is quiet dynamic stuff, we need to make sure the same is not sent twice.
Could you try deactivating the cache for the pages you have a Stripe button set?
Best regards
I worked out now.
I can set it and run in test and live mode ( I think I can exclude cache )
Only thing is if I’m logged in to WP it fails.
Hello @funsail,
Thanks again for using Direct Stripe. I’m glad you got it working!
I know of several tests cases that had issues due to Stripe ID, I need to change how the Stripe ID is recorded when testing.
In your profile page, if you have a Stripe ID, just delete it and test again.
I hope that will help!
Best regards
I guess my main concern is that if it does fail, the user will get a very vague error on the page briefly. It will not show up in the logs and none of the email notifications will go to either the user or to the admin. In other words the user saw the stripe checkout with a green tick and thought that it went through. They didn’t look on the actual page and see the error that pops up only for a second. I don’t know anything has ever happened.
I would expect that if you are able to show the error message then it should be in the log
Hello @funsail,
You are right, if you have the green bubble and the transaction is not logged, it means there is an issue that needs to be fixed before going into production.
If Direct stripe is working as expected, the transactions that go wrong trigger the red bubble.
Do you have any logged error that you could share? https://codex.wordpress.org/Debugging_in_WordPress
Or console errors?
Best regards
-
This reply was modified 8 years, 10 months ago by
Nicolas Figueira.
No, stripe shows a green tick showing the card etc are verified.
When I get back to the ‘processing’ that takes 2-3s then I get the red bubble.
Nothing else shows any clue it happened.I put on debug
// Enable WP_DEBUG mode
define( ‘WP_DEBUG’, true );// Enable Debug logging to the /wp-content/debug.log file
define( ‘WP_DEBUG_LOG’, true );And strangely no /wp-content/debug.log file
Hello @funsail,
If you get the red bubble that is normal behavior, please go to your Stripe admin panel under Events & logs, the errors should be mentioned there.
Let me know how it goes and if you have any other question regarding Direct Stripe.
Thank you again for using Direct Stripe.
Best regards
In there Events is empty.
Logs has a few things mostlyURL
/v1/tokens
Status
200The one I just did now failed but had the same
URL
/v1/tokens
Status
200There’s no error inside or any info at all showing error.
TOday it’s different. I got a fail. But I can’t seee on the webpage the error. On mobile, it was a red square. Didn’t see any words.
In stripe I saw it’s “Payment declined by customer’s bank” -
This reply was modified 8 years, 10 months ago by
The topic ‘Unable to process payment’ is closed to new replies.