Skip to content

Commit

Permalink
debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
Lord Vollkorn committed Jul 22, 2020
1 parent 99f1039 commit 59f376a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Model/Api.php
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@ public function patchPayment($quote)
try {
$response = $payment->update($patchRequest, $this->_apiContext);
return $response;
} catch (\PayPal\Exception\PayPalConnectionException $ex) {
} catch (PayPalConnectionException $ex) {
$message = json_decode($ex->getData());
if (isset($message->name)
&& isset($message->details)
Expand Down
6 changes: 3 additions & 3 deletions Plugin/Sales/Model/Order/PaymentPlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,17 +27,17 @@ class PaymentPlugin
/**
* Protected $orderPaymentExtensionFactory
*
* @var \Magento\Sales\Api\Data\OrderPaymentExtensionInterface
* @var \Magento\Sales\Api\Data\OrderPaymentExtensionInterfaceFactory
*/
protected $orderPaymentExtensionFactory;

/**
* PaymentPlugin constructor
*
* @param \Magento\Sales\Api\Data\OrderPaymentExtensionInterface $orderPaymentExtensionFactory
* @param \Magento\Sales\Api\Data\OrderPaymentExtensionInterfaceFactory $orderPaymentExtensionFactory
*/
public function __construct(
\Magento\Sales\Api\Data\OrderPaymentExtensionInterface $orderPaymentExtensionFactory
\Magento\Sales\Api\Data\OrderPaymentExtensionInterfaceFactory $orderPaymentExtensionFactory
) {
$this->orderPaymentExtensionFactory = $orderPaymentExtensionFactory;
}
Expand Down

0 comments on commit 59f376a

Please sign in to comment.