Ejemplo n.º 1
0
 public function getAmount()
 {
     // In test mode, a successful transaction is simulated by setting its amount to 1 EUR.
     if ($this->getTestMode()) {
         return '1.00';
     }
     return parent::getAmount();
 }