0
votes
  1. When an Order is placed, registered notification about transaction complete on Paypal is not updated automatically in comment history.

  2. Whenever we Refund the amount from Paypal, registered notification about refunded amount is not updated automatically in comment history.

  3. If the order is in "Payment Review" status at the time order placing, then it should be automatically changed to "Processing" status whenever the funds got cleared from PayPal. Currently this is not syncing automatically from PayPal and we have to click on "Get Payment Update" to check the status.

Preconditions Magento 2.2.4 PHP 7.1.18 PayPal Express enabled in-checkout payment methods(for sandbox mode)

Steps to reproduce

STEP:1 place order on magento store.

STEP:2 Go to https://www.sandbox.paypal.com

STEP:3 open recent order history

STEP:4 issue refund

Expected result paypal transaction status maintain in magento admin order view page in comment history section and also refund comment should be visbile on order view page in comment history section.

Actual result there is no sync between paypal and magento store. any activity which done in paypal panel ,not reflect in magento admin panel.

below the screenshot of magento 2.1.7 admin order view page when the order is placed from paypal expree checkout . enter image description here

1

1 Answers

1
votes

i got the solution of my problem by changing some settings in my paypal sandbox account.below i mentioned steps.

Steps to Set-up IPN listener

Step1: LogIn with paypal business account at https://www.sandbox.paypal.com 

Step2: In the Profile menu on the top right, click Profile and Settings .

Step3: click My selling tools .

Step4: Click the Update link in the Instant payment notifications row , in the Getting paid and managing my risk section.

Step5: Click Choose IPN Settings to specify your listener's URL and activate the listener.

Step6: Specify the URL for your listener in the Notification URL field .
         i.e servername/paypal/ipn/index. 

Step7: Click Receive IPN messages (Enabled) to enable your listener.

Step8: Click Save .

Step9: Click Back to Profile Summary to return to the Profile after activating your listener. You also can click Edit settings to modify your notification URL or disable your listener. You can click Turn Off IPN to reset your IPN preferences.