Where is code of Auto update order status after finish PayPal payment


New Member

I'm doing some customize and found that below actionUpdate method is used when updating status of an order from backend:
actionUpdate() method of app/backend/controllers/OrdersController.php

However, when the PayPal payment gateway is used, the status is updated automatically.
I want to know exactly where that code script of that status change processing?
(Source file & method name)

Thank you very much,
Look in apps/common/extensions/payment-gateway-paypal/customer/controllers/Payment_gateway_ext_paypalController.php after actionIpn().