Skip to content
This repository was archived by the owner on Apr 29, 2019. It is now read-only.

Commit 20c25a5

Browse files
author
Michael Yu
committed
MAGETWO-71765: Impossible perform partial invoice for order placed with taxes and PayPal Payflow Pro
- Fix _getCaptureAmount($amount) documentation.
1 parent 42dfd05 commit 20c25a5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/code/Magento/Paypal/Model/Payflowpro.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -391,8 +391,8 @@ public function authorize(\Magento\Payment\Model\InfoInterface $payment, $amount
391391
/**
392392
* Get capture amount
393393
*
394-
* @param string $amount
395-
* @return string|int
394+
* @param float $amount
395+
* @return float|int
396396
*/
397397
protected function _getCaptureAmount($amount)
398398
{

0 commit comments

Comments
 (0)