Error on payment in test mode
-
Hi, I am testing Stripe payment with the plugin. I have a product set up and when I make the payment in test mode with the 4242424242424242, future expiry date and CVV 123, I see the following error in the UI:
System was not able to complete the payment. Invalid payment amount received. Expected 15.00, got 0.00.I also see this in error_log:
[13-Sep-2023 15:07:10 UTC] Stripe Notice: Undefined property of Stripe\PaymentIntent instance: charges
[13-Sep-2023 15:07:10 UTC] PHP Warning: stripslashes() expects parameter 1 to be string, array given in /<redacted>/wp-content/plugins/stripe-payments/includes/class-asp-process-ipn-ng.php on line 117If I look on my Stripe dashboard, it shows a successful payment, but the plugin/WordPress site believes it has failed. I have set up the plugin and the product as in the documentation, and have also enabled reCaptcha.
- The topic ‘Error on payment in test mode’ is closed to new replies.