Boost recurring donations this giving season with the new upsell prompt!Learn How >>

Resolving "You passed an empty string for 'items[O][plan]'." error in the Donations app

updated

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

  1. Go to Administrator > Donations app > Edit > Payment tab > Recurring Donations section > Stripe Price Id option.
  2. If the Stripe Price Id option is blank, this will likely be the cause of the error.

Fix

  1. 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:

  1. Overview of the problem
  2. URL of the page in question
  3. Custom domain for the Soapbox Engage account (if one exists)
  4. Screenshot (including the address bar) or video showing the problem
Have more questions? Submit a request
Article is closed for comments.