Can I clear my test data from Charge in the CP?

Not currently.

During development it's normal you'll run a number of transactions to test the setup while Charge / Stripe is in Test mode. Before going live you might want to remove these from the CP.

Right now, in the 1.x release of Charge, we don't expose a direct way to remove these. We'll be adding this feature in a future release.

In the meantime if you really require removing this test data you've got 2 options :

  • Uninstall & Reinstall the Charge plugin. Just be aware, this will remove any extra settings you might have configured
  • Directly remove the items from the charge_charges table, and the corresponding charge_elements table. (This isn't something we'd normally recommend unless you're comfortable with the internals of Craft)

With the upcoming 2.0 release, we'll include a more direct way to remove test data.