Skip to content

Paypal Payments Pro IPN keeping payments marked as Pending Payment #25659

Closed
@quantumAV

Description

@quantumAV

Preconditions (*)

  1. Magento 2.3.3

Steps to reproduce (*)

  1. [https://github.com/Paypal Payments Pro IPN keeping payments marked as Pending Payment #18148]
  2. On upgrading from 2.3.2 to 2.3.3
    @numan201 fix worked for me in 2.3.2 however on upgrading to 2.3.3 we now have Pending Payment status for orders received even though the details of the payment are on the order.
    the fix that worked in 2.3.2 is already present in 2.3.3 -

For now, we have changed line 38 of vendor/magento/module-sales/Model/Order/Payment/State/RegisterCaptureNotificationCommand.php from:
$state = $order->getState() ?: Order::STATE_PROCESSING; to $state = Order::STATE_PROCESSING; as it was before the update.

Expected result (*)

  1. payments from Paypal Express and Web Payments Pro should have a status of Processing.

Actual result (*)

  1. Payments from Paypal Express are coming through correctly and have a status of Processing. Paypal Web Payments Pro are coming through as Pending Payment which is incorrect however the payment does show in the order information.

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions