Skip to content

Commit 7068156

Browse files
committed
paymentMethod
1 parent c6f69f3 commit 7068156

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Traits/HasMerchant.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)