diff --git a/src/Omnipay/PayPal/Message/AbstractRequest.php b/src/Omnipay/PayPal/Message/AbstractRequest.php index 9d5c2b79..ffa10308 100644 --- a/src/Omnipay/PayPal/Message/AbstractRequest.php +++ b/src/Omnipay/PayPal/Message/AbstractRequest.php @@ -96,12 +96,22 @@ public function getAllowNote() { return $this->getParameter('allowNote'); } - + public function setAllowNote($value) { return $this->setParameter('allowNote', $value); } - + + public function getPageStyle() + { + return $this->getParameter('pageStyle'); + } + + public function setPageStyle() + { + return $this->setParameter('pageStyle', $value); + } + protected function getBaseData($method) { $data = array(); diff --git a/src/Omnipay/PayPal/Message/ExpressAuthorizeRequest.php b/src/Omnipay/PayPal/Message/ExpressAuthorizeRequest.php index 48607d8a..6097a30b 100644 --- a/src/Omnipay/PayPal/Message/ExpressAuthorizeRequest.php +++ b/src/Omnipay/PayPal/Message/ExpressAuthorizeRequest.php @@ -37,6 +37,10 @@ public function getData() if (null !== ($allowNote = $this->getAllowNote())) { $data['ALLOWNOTE'] = $allowNote; } + + if (null !== ($pagestyle = $this->getPageStyle())) { + $data['PAGESTYLE'] = $pagestyle; + } if ($card = $this->getCard()) { $data['PAYMENTREQUEST_0_SHIPTONAME'] = $card->getName();