Problem
When a user attempts to process a transactions on a Donations app page, in certain circumstances the user might see the following message at the top of the screen.
Payment Error: You passed an empty string for 'items[O][plan]'. We assume empty values are an attempt to unset a parameter; however 'items[O][plan]' cannot be unset. You should remove 'items[0][plan]' from your request or supply a non-empty value.
Here’s some potential causes and solutions for solving this problem.
Possible causes and solutions
1. A Stripe Price Id has not been set for the Donations app page's recurring donations
Most commonly, the problem is that a Stripe Price Id has not been set for the Donations app page under Administrator > Donations app > Edit > Payment tab > Recurring Donations section > Stripe Price Id.
Confirmation
- Go to Administrator > Donations app > Edit > Payment tab > Recurring Donations section > Stripe Price Id option.
- If the Stripe Price Id option is blank, this will likely be the cause of the error.
Fix
-
Populate the Stripe Price Id option following the configuration instructions in Accepting recurring payments with Stripe in the Donations app.
Additional help
If this article didn't help solve the problem, please create a new support ticket, and include the following details:
- Overview of the problem
- URL of the page in question
- Custom domain for the Soapbox Engage account (if one exists)
- Screenshot (including the address bar) or video showing the problem