-
-
I recently started having intermittent issues with my stripe payment processor plugin & woocommerce with June. This is the error I see from time to time – Invalid source object: must be a dictionary or a non-empty string. See API docs at https://stripe.com/docs’.
Tried many difference plugins with varied results – most of the time the CC fields don’t even appear. Never have seen the Stripe payment screen.
-
Hello,
Please can you share with us your wp credentials and ftp through your profile details so we can access your website and try to fix that issue.
Let me know.
Have a nice day :)
-
-
-
-
-
-
Hello,
I just tested anything. I have disabled the plugin to test if anyone of them caused the issue but there is no problem with the plugin.
After i that i have tried to change the theme after that i have tested again the payment. The result is the same error.
Please check out your your payment gateway. There is no problem linked with the theme or any plugin. I know that is frustrating but the only solution is to check your payment gateway and maybe contact the stripe support.
Sorry for the delay, this is the maximum i can make for the moment.
Have a nice day!
-
Ruco,
I started at Stripe support, even tried multiple stripe plugins (first and third party), and they said it looked to be a theme problem. I don’t understand what the payment gateway is if it isn’t the stripe plugin + woocommerce working together.
-
Hello,
Please explain to them that you have tested also with a default WordPress theme and you have seen the same issue.
Let me know
-
Do you want to look at the logs from Stripe to see if that helps? It looks like the card # is not being pulled over – how to we check to make sure the field references are correct?
-
-
If I switch over to the first party WooCommerce/Stripe plugin, I see this error in my browser:
codeless-main.js?ver=5.2.2:349 Uncaught ReferenceError: browser is not defined
at Object.CL_FRONT.fixCompatibilities (codeless-main.js?ver=5.2.2:349)
at HTMLDocument.<anonymous> (codeless-main.js?ver=5.2.2:126)
at i (jquery.js?ver=1.12.4-wp:2)
at Object.add [as done] (jquery.js?ver=1.12.4-wp:2)
at a.fn.init.n.fn.ready (jquery.js?ver=1.12.4-wp:2)
at Object.CL_FRONT.bindEvents (codeless-main.js?ver=5.2.2:99)
at Object.CL_FRONT.siteInit (codeless-main.js?ver=5.2.2:20)
at codeless-main.js?ver=5.2.2:4561
at codeless-main.js?ver=5.2.2:4632
-
I heard back from Stripe and sent them my copy of payment-method.php and they said that “card” shouldn’t be a part of this request. Does this help at all?
—
Taking a further look, according to our API Reference Guide, “card” shouldn’t be included in request. If you take a look at the Guide you’ll see that after “description”, “card” should be under “payment_method_details”.
You’ll need to change this in the code or reach out to the plugin to have them do it.
https://stripe.com/docs/api/charges/create
- This reply was modified 5 years, 4 months ago by SCPKris. Reason: removed rich text code
-
Looks like the payment processing is working now. Tried installing an old woocommerce stripe plugin and deactivating async for the cart/checkout.
Having some new issues – will open a new ticket.
-
Oh, i’m happy that you payment gateway is working now.
I will check your other ticket now.
Regards!
-
You must be logged in to reply to this topic.