Receiving a parameter_invalid_empty error when using credit card stripe
-
Hey there
Could someone please help me with this credit card stripe issue? Would really appreciate any help.
This problem first came about a few days ago and I do not know why. Whenever someone uses a credit card to order, they receive this error (shown on the webpage at checkout):
Payment Failed ( 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. ).Refresh and try again
I have checked the Woocommerce log and this is the error that I see under Woocommerce –> Status –> Log:
(
[code] => parameter_invalid_empty
[doc_url] => https://stripe.com/docs/error-codes/parameter-invalid-empty
[message] => 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.
[param] => payment_method
[type] => invalid_request_error
)1. I disabled all plugins to identify if the problem is resulting with a clashign plugin but the problem still exists
2. Paypal still works on my websites so I dont think the issue is with Woocommerce
3. I have tried to use other Stripe plugins (eg Woocommerce Stripe plugin) but the problem still exists
Could someone please help me? The stripe settings is currently on test-mode so anyone can use the test credit card details to test it out
https://stripe.com/docs/testing
Really appreciate the help, thank you!
JinThe page I need help with: [log in to see the link]
The topic ‘Receiving a parameter_invalid_empty error when using credit card stripe’ is closed to new replies.