Title: Unable to process payment
Last modified: June 19, 2017

---

# Unable to process payment

 *  [funsail](https://wordpress.org/support/users/funsail/)
 * (@funsail)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/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 processing
 * Then says
 * SECURITY CHECK ISSUE
 * in red.
 * The payment hasn’t gone through. Empty Direct Stripe logs

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

 *  Plugin Author [Nicolas Figueira](https://wordpress.org/support/users/nahuelmahe/)
 * (@nahuelmahe)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/unable-to-process-payment/#post-9244310)
 * Hello [@funsail](https://wordpress.org/support/users/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](https://codex.wordpress.org/Debugging_in_WordPress)
 * Best regards,
 *  Thread Starter [funsail](https://wordpress.org/support/users/funsail/)
 * (@funsail)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/unable-to-process-payment/#post-9244360)
 * 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?
 *  Plugin Author [Nicolas Figueira](https://wordpress.org/support/users/nahuelmahe/)
 * (@nahuelmahe)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/unable-to-process-payment/#post-9251131)
 * Hello [@funsail](https://wordpress.org/support/users/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
 *  Thread Starter [funsail](https://wordpress.org/support/users/funsail/)
 * (@funsail)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/unable-to-process-payment/#post-9260763)
 * 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.
 *  Plugin Author [Nicolas Figueira](https://wordpress.org/support/users/nahuelmahe/)
 * (@nahuelmahe)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/unable-to-process-payment/#post-9264709)
 * Hello [@funsail](https://wordpress.org/support/users/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
 *  Thread Starter [funsail](https://wordpress.org/support/users/funsail/)
 * (@funsail)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/unable-to-process-payment/#post-9264771)
 * 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.
 *  Thread Starter [funsail](https://wordpress.org/support/users/funsail/)
 * (@funsail)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/unable-to-process-payment/#post-9264774)
 * I would expect that if you are able to show the error message then it should 
   be in the log
 *  Plugin Author [Nicolas Figueira](https://wordpress.org/support/users/nahuelmahe/)
 * (@nahuelmahe)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/unable-to-process-payment/#post-9265404)
 * Hello [@funsail](https://wordpress.org/support/users/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](https://codex.wordpress.org/Debugging_in_WordPress)
 * Or console errors?
 * Best regards
    -  This reply was modified 8 years, 10 months ago by [Nicolas Figueira](https://wordpress.org/support/users/nahuelmahe/).
 *  Thread Starter [funsail](https://wordpress.org/support/users/funsail/)
 * (@funsail)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/unable-to-process-payment/#post-9265458)
 * 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
 *  Plugin Author [Nicolas Figueira](https://wordpress.org/support/users/nahuelmahe/)
 * (@nahuelmahe)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/unable-to-process-payment/#post-9268634)
 * Hello [@funsail](https://wordpress.org/support/users/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
 *  Thread Starter [funsail](https://wordpress.org/support/users/funsail/)
 * (@funsail)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/unable-to-process-payment/#post-9268666)
 * In there Events is empty.
    Logs has a few things mostly
 * URL
    /v1/tokens Status 200
 * The one I just did now failed but had the same
    URL /v1/tokens Status 200
 * There’s no error inside or any info at all showing error.
 *  Thread Starter [funsail](https://wordpress.org/support/users/funsail/)
 * (@funsail)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/unable-to-process-payment/#post-9303912)
 * 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”

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

The topic ‘Unable to process payment’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/direct-stripe_7787ff.svg)
 * [Direct Stripe](https://wordpress.org/plugins/direct-stripe/)
 * [Support Threads](https://wordpress.org/support/plugin/direct-stripe/)
 * [Active Topics](https://wordpress.org/support/plugin/direct-stripe/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/direct-stripe/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/direct-stripe/reviews/)

 * 12 replies
 * 2 participants
 * Last reply from: [funsail](https://wordpress.org/support/users/funsail/)
 * Last activity: [8 years, 10 months ago](https://wordpress.org/support/topic/unable-to-process-payment/#post-9303912)
 * Status: not resolved