public function stageData() { // Must run first because staging relies on constraints. $this->tuneConstraints(); parent::stageData(); // FIXME: Move to a more specific point in the workflow, in the related do_transaction handler. $this->set3dsFlag(); // FIXME: Move to a post-staging hook, and push most of it into the declarative block. $this->tuneForMethod(); $this->tuneForRecurring(); $this->tuneForCountry(); }