function __construct($options = array()) { parent::__construct($options); if ($this->getData_Unstaged_Escaped('payment_method') == null) { $this->addRequestData(array('payment_method' => 'paypal')); } }
function __construct($options = array()) { parent::__construct($options); if ($this->getData_Unstaged_Escaped('payment_method') == null) { $this->addRequestData(array('payment_method' => 'amazon')); } if (!$this->isApiRequest()) { // Avoid missing ffname issues on return from Amazon login $this->session_pushFormName($this->getData_Unstaged_Escaped('ffname')); } $this->session_addDonorData(); }