Skip to content

Commit a81251a

Browse files
committed
MAGETWO-63917: Implement CVV and AVS mapping for PayPal Payflow Pro/ PayPal Payments Pro
1 parent 5227ef2 commit a81251a

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

app/code/Magento/Paypal/Model/Payflow/AvsEmsCodeMapper.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,10 @@ class AvsEmsCodeMapper implements PaymentVerificationInterface
4040

4141
/**
4242
* Gets payment AVS verification code.
43-
* Throws an exception if specified order payment has different payment method code.
4443
*
4544
* @param OrderPaymentInterface $orderPayment
4645
* @return string
47-
* @throws \InvalidArgumentException
46+
* @throws \InvalidArgumentException If specified order payment has different payment method code.
4847
*/
4948
public function getCode(OrderPaymentInterface $orderPayment)
5049
{

app/code/Magento/Paypal/Model/Payflow/CvvEmsCodeMapper.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,10 @@ class CvvEmsCodeMapper implements PaymentVerificationInterface
3838

3939
/**
4040
* Gets payment CVV verification code.
41-
* Throws an exception if specified order payment has different payment method code.
4241
*
4342
* @param OrderPaymentInterface $orderPayment
4443
* @return string
45-
* @throws \Exception
44+
* @throws \InvalidArgumentException If specified order payment has different payment method code.
4645
*/
4746
public function getCode(OrderPaymentInterface $orderPayment)
4847
{

0 commit comments

Comments
 (0)