Skip to main content
Answer

WooCommerce error: A "Stripe Customer ID" value is required.". Error code: woocommerce_rest_invalid_payment_data".

  • July 21, 2022
  • 11 replies
  • 543 views

We are trying to create a subscription when someone orders a certain product in Woocommerce, but we are getting the below error:

WooCommerce returned "Subscription payment method could not be set to stripe with error message: A "Stripe Customer ID" value is required.". Error code: "woocommerce_rest_invalid_payment_data".

There is no where in the ‘create subscription’ action zap that has a ‘stripe customer id’ field. There is a ‘Payment Details Method Id’ field but adding the stripe customer id here doesn't work. 

 

Any help is appreciated.

Best answer by christina.d

Hi there! 👋🏽 I wanted to pop in and update the topic with some details from the open ticket: 

I've taken a look at the open feature requests we have with the WooCommerce team and I can see we have already opened a feature request with them to include metadata fields (including Stripe ID) so I've added your details to that request. 

While we’re not able to offer a timeline on when or if this will be implemented, we’ll definitely email and keep the topic updated if that changes. 

Thanks again for flagging this and sharing your feedback with the team. It’s valued and appreciated!

This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

11 replies

Troy Tessalone
Zapier Orchestrator & Solution Partner
Forum|alt.badge.img+14
  • Zapier Orchestrator & Solution Partner
  • July 21, 2022

Hi @kingtyton 

Good question.

Please post screenshots with how your Zap steps are configured in order for us to have context.

You may need to add Zap steps to get the Stripe Customer ID:

 


  • Author
  • New
  • July 21, 2022

Hello, the issue is not that we cannot find the stripe customer id. We can get that from the woocommerce order trigger that fires when someone orders. The problem is there is no where to put the stripe customer id in the ‘create subscription’ action. There a customer id for woocommerce customer id but not stripe customer id.

 


Troy Tessalone
Zapier Orchestrator & Solution Partner
Forum|alt.badge.img+14
  • Zapier Orchestrator & Solution Partner
  • July 21, 2022

@kingtyton 

Please show detailed screenshots with how this Zap step is configured:

 


  • Author
  • New
  • July 22, 2022

Ok, I cut out shipping address, billing etc as its not important.

 


  • Author
  • New
  • July 22, 2022

here is the error:

 


Troy Tessalone
Zapier Orchestrator & Solution Partner
Forum|alt.badge.img+14
  • Zapier Orchestrator & Solution Partner
  • July 22, 2022

@kingtyton 

I’d recommend checking the related “Payment method” fields since the error message seems to indicate that an unexpected/invalid value is being set as “stripe”.

 

 


  • Author
  • New
  • July 22, 2022

I dont think so. One is ‘payment details method id’ and one is ‘stripe customer id’. I dont think they are the same. either way, I have tried to add the stripe customer id here and it doesn't work either. Ive also tried adding it to the ‘customer id’ field, which is the customer id for woocomerce.


Troy Tessalone
Zapier Orchestrator & Solution Partner
Forum|alt.badge.img+14
  • Zapier Orchestrator & Solution Partner
  • July 22, 2022

@kingtyton 

Might be best to open a ticket with Zapier Support for further assistance: https://zapier.com/app/get-help


christina.d
Forum|alt.badge.img+9
  • Zapier Staff
  • Answer
  • July 27, 2022

Hi there! 👋🏽 I wanted to pop in and update the topic with some details from the open ticket: 

I've taken a look at the open feature requests we have with the WooCommerce team and I can see we have already opened a feature request with them to include metadata fields (including Stripe ID) so I've added your details to that request. 

While we’re not able to offer a timeline on when or if this will be implemented, we’ll definitely email and keep the topic updated if that changes. 

Thanks again for flagging this and sharing your feedback with the team. It’s valued and appreciated!


sunica
  • New
  • April 4, 2023

Hi, did this ever get figured out?  We are running into the same issue.


JammerS
Forum|alt.badge.img+6
  • Zapier Staff
  • April 5, 2023

Hi @sunica 

I’ve added your vote for this feature request, and we’ll  notify you via email once an update is readily available. Thanks.