Hello @na1man ,
Thank you for using Direct Stripe.
I think this could be related to a known bug I need to fix, could you delete the Stripe ID registered on your profile’s page ? ( User -> Your Profile )
If that doesn’t help, could you share the logs from the Stripe dashboard ? ( Developer -> logs )
Kind regards,
Thread Starter
na1man
(@na1man)
https://ibb.co/gSmyS3M
hope this helps, I don’t know where is the stripe id on USER / PROFILE
Hello @na1man ,
What could have helped is the error message inside one of the failing log (400 error code).
You will find the Stripe ID scrolling down the page in you WordPress admin at User -> Your Profile
https://screenshots.firefox.com/fP42p4op68Kunnyt/newo.me
Kind regards,
Thread Starter
na1man
(@na1man)
Hello Nicolas
It seems there’s a problem in Stripe and not with Direct Stripe. Since I deleted the customer in Stripe, he stumbles on a wrong user id and is stuck. And now when someone makes a donation, wordpress creates a user on my blog.
Regards,
Nicolas
Hello Nicolas,
Did you delete the Stripe ID from your user metadata ?
If you don’t want Direct Stripe to create a user on your blog during process, you can enable the option under “DO NOT Allow WordPress system to store users and log data” from your WordPRess admin at Direct Stripe -> Settings under Global Settings tab.
Kind regards,
Nicolas
Thread Starter
na1man
(@na1man)
I deleted my user from Stripe and tried once again to make a payment to test a Webhook. But since then I can’t make any donation to my blog. Other people can though which means this problem is not urgent.
I’ll let you know how it goes from here. I’m going to see with Stripe. And thanks for the 2nd point.
Regards
Thread Starter
na1man
(@na1man)
Here’s the log:
{
"error": {
"code": "resource_missing",
"doc_url": "https://stripe.com/docs/error-codes/resource-missing",
"message": "No such customer: cus_DfuQs6FISX1XrE",
"param": "id",
"type": "invalid_request_error"
}
}
Thread Starter
na1man
(@na1man)
Ok you were right: I needed to update the stripe id in wordpress. Now it works OK! Thank you!
Hello @na1man ,
I’m glad you got it working ! And thanks for sharing.
Kind regards,
Thread Starter
na1man
(@na1man)
I have another question: I want a stripe donation form to popup on my blog as a mean to prove the person is human (Turing test). I have lots of bot traffic and made 50$ in 2 years 🙁 This is a disgrace.
How can I popup in javascript a stripe form randomly to test the humanity of my website visitors?
Hello @na1man ,
If I understand the question, it’s not related to Direct Stripe. Did you search for another plugin to perform that test ?
Otherwise I believe setting the traffic through https://www.cloudflare.com/ or a similar service could help.
Kind regards,