File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -244,7 +244,7 @@ public function getData()
244244 'ReturnURL ' => $ this ->getReturnUrl (),
245245 'ReceiveURL ' => $ this ->getPaymentInfoUrl (),
246246 'OrderDesc ' => $ this ->getDescription (),
247- 'PayType ' => $ this ->getPayType () ?: 1 ,
247+ 'PayType ' => $ this ->getPaymentMethod () ?: 1 ,
248248 'ValidateKey ' => $ this ->getValidateKey (),
249249 'CardHolder ' => $ this ->getCardHolder (),
250250 'Mobile ' => $ this ->getMobile (),
Original file line number Diff line number Diff line change @@ -98,14 +98,14 @@ public function getValidateKey()
9898 */
9999 public function setPayType ($ payType )
100100 {
101- return $ this ->setParameter ( ' PayType ' , $ payType );
101+ return $ this ->setPaymentMethod ( $ payType );
102102 }
103103
104104 /**
105105 * @return string
106106 */
107107 public function getPayType ()
108108 {
109- return $ this ->getParameter ( ' PayType ' );
109+ return $ this ->getPaymentMethod ( );
110110 }
111111}
You can’t perform that action at this time.
0 commit comments