Пример #1
0
 public function onBeforeWrite()
 {
     parent::onBeforeWrite();
     $this->CallBackSlug = !$this->CallBackSlug ? 'worldpay' : $this->CallBackSlug;
     if (!$this->Summary) {
         $this->Summary = "Pay with credit/debit card securely via WorldPay";
     }
 }
 public function onBeforeWrite()
 {
     parent::onBeforeWrite();
     $config = $this->config();
     // Set default colours
     $this->CallBackSlug = !$this->CallBackSlug ? 'epdq' : $this->CallBackSlug;
     $this->Background = !$this->Background ? $config->default_background : $this->Background;
     $this->Text = !$this->Text ? $config->default_text : $this->Text;
     $this->TableBackground = !$this->TableBackground ? $config->default_table_background : $this->TableBackground;
     $this->TableText = !$this->TableText ? $config->default_table_text : $this->TableText;
     $this->ButtonBackground = !$this->ButtonBackground ? $config->default_button_background : $this->ButtonBackground;
     $this->ButtonText = !$this->ButtonText ? $config->default_button_text : $this->ButtonText;
     $this->Summary = !$this->Summary ? "Pay with credit/debit card securely via Barclays" : $this->Summary;
 }
 public function onBeforeWrite()
 {
     parent::onBeforeWrite();
     $this->CallBackSlug = !$this->CallBackSlug ? 'Sofort' : $this->CallBackSlug;
     $this->Summary = !$this->Summary ? "Pay with Sofort" : $this->Summary;
 }
 public function onBeforeWrite()
 {
     parent::onBeforeWrite();
     $this->CallBackSlug = !$this->CallBackSlug ? 'PayWay' : $this->CallBackSlug;
     $this->Summary = !$this->Summary ? "Pay with credit/debit card securely via PayWay" : $this->Summary;
 }
Пример #5
0
 public function onBeforeWrite()
 {
     parent::onBeforeWrite();
     $this->CallBackSlug = !$this->CallBackSlug ? 'paypal' : $this->CallBackSlug;
     $this->Summary = !$this->Summary ? "Pay with PayPal" : $this->Summary;
 }
 public function onBeforeWrite()
 {
     parent::onBeforeWrite();
     $this->CallBackSlug = !$this->CallBackSlug ? 'Stripe' : $this->CallBackSlug;
     $this->Summary = !$this->Summary ? _t("CheckoutStripe.PayWithCard", "Pay with credit/debit card via Stripe") : $this->Summary;
 }