Title: Stripe &#8211; [error] =&gt; stdClass Object
Last modified: October 1, 2021

---

# Stripe – [error] => stdClass Object

 *  Resolved [tomguk](https://wordpress.org/support/users/tomguk/)
 * (@tomguk)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/stripe-error-stdclass-object/)
 * Hi,
 * I have a new subscription website and use Yith subscriptions. Subscriptions are
   taken on the 1st of each month. A stripe payment was taken as today is 1st but
   I have the error below:
 *     ```
       Credit Card (Stripe) Failed payment: Error: stdClass Object
       (
       [error] => stdClass Object
       (
       [message] => Invalid source object: must be a dictionary or a non-empty string. See API docs at https://stripe.com/docs’
       [param] => source
       [type] => invalid_request_error
       )
   
       )
       ```
   
 * Any idea what causes this and how to resolve it?
 * I contacted Stripe and they said its a Woocommerce issue.
 * Thanks

Viewing 1 replies (of 1 total)

 *  Plugin Author [WebToffee](https://wordpress.org/support/users/webtoffee/)
 * (@webtoffee)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/stripe-error-stdclass-object/#post-14938939)
 * Hi [@tomguk](https://wordpress.org/support/users/tomguk/),
 * Greetings from Webtoffee!
 * Are you sure that you are using Webtoffee’s Stripe plugin? If so, kindly share
   the eh_stripe logs from Wooocommerce > Status > Logs and also your site URL.

Viewing 1 replies (of 1 total)

The topic ‘Stripe – [error] => stdClass Object’ is closed to new replies.

 * ![](https://ps.w.org/payment-gateway-stripe-and-woocommerce-integration/assets/
   icon-256x256.gif?rev=3361775)
 * [Payment Gateway of Stripe for WooCommerce](https://wordpress.org/plugins/payment-gateway-stripe-and-woocommerce-integration/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/payment-gateway-stripe-and-woocommerce-integration/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/payment-gateway-stripe-and-woocommerce-integration/)
 * [Active Topics](https://wordpress.org/support/plugin/payment-gateway-stripe-and-woocommerce-integration/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/payment-gateway-stripe-and-woocommerce-integration/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/payment-gateway-stripe-and-woocommerce-integration/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [WebToffee](https://wordpress.org/support/users/webtoffee/)
 * Last activity: [4 years, 6 months ago](https://wordpress.org/support/topic/stripe-error-stdclass-object/#post-14938939)
 * Status: resolved