Error occured message when trying to pay through Stripe
-
I have it set up so people can pay either via Paypal or Stripe. When I select Paypal and fill in the details for voucher – name, amount, email etc and then click Pay Now button, it goes to Paypal and ready for me to login (and click link to enter card details).
If I select Stripe as payment method, click the Pay Now button and dialog box appears which says Error occurred. I have double checked the details and its got the right keys – publishable, secret and webhook signing secret key
I have logged into Stripe and checked the logs and it says that parameter missing – the name. The error is –
parameter_missing – line_items[0][price_data][product_data][name]
Looks like you are missing the name field tied to a given line item’s product_data.The way I have setup the Gift Vocuher page is just using the [wpgv_giftvoucher] shortcode to display the form where people can enter the name, email, value of gift voucher etc.
- The topic ‘Error occured message when trying to pay through Stripe’ is closed to new replies.