public function defineErrorMap()
 {
     parent::defineErrorMap();
     $self = $this;
     $differentCard = function () use($self) {
         $otherWays = $self->localizeGlobal('OtherWaysURL');
         return WmfFramework::formatMessage('donate_interface-donate-error-try-a-different-card-html', $otherWays, $self->getGlobal('ProblemsEmail'));
     };
     // Donor needs to select a different card.
     $this->error_map['InvalidPaymentMethod'] = $differentCard;
 }