You passed an empty string for ‘payment_method’.
-
Hello,
Our subscriptions in Woocommerce are being charged successfully in Stripe but the order in Woocommerce is failing with the note: Recurring payment for order failed. Reason: You passed an empty string for ‘payment_method’. We assume empty values are an attempt to unset a parameter; however ‘payment_method’ cannot be unset. You should remove ‘payment_method’ from your request or supply a non-empty value.
I’ve checked one of our customer’s billing details from order details and the Payment method is Credit/Debit Cards, Stripe Customer ID is correct but Payment Method Token is empty.
I can see the webhook logs on Stripe is showing the correct payment method sent back to our website but is Woocommerce customer not synced with these details?
I’ve read a recent topic on the matter but this seems different as we charge successfully but still get this error message. How can we fix this?
Thank you!
- You must be logged in to reply to this topic.