-
- if ($this->isPayPalType($this::PAYPAL_STANDARD)) {
- $this->_processorName = ts('PayPal Standard');
- }
- elseif ($this->isPayPalType($this::PAYPAL_EXPRESS)) {
- $this->_processorName = ts('PayPal Express');
- }
- elseif ($this->isPayPalType($this::PAYPAL_PRO)) {
- $this->_processorName = ts('PayPal Pro');
- }
- else {
- throw new PaymentProcessorException('CRM_Core_Payment_PayPalImpl: Payment processor type is not defined!');
- }