An electronic device, comprising: a wireless receiving device to wirelessly receive remote signals from a wireless input device; a display; and a controller configured to display, on the display, broadcast content and to control the display based on the remote signals received from the wireless input device, wherein the controller is configured to: activate a payment function of goods associated with the broadcast content in response to receiving a remote signal, control the display to display at least one external device capable of a mirroring connection and a payment application, receive an input for selecting a first payment application installed on a first external device of the at least one external device, wherein the first external device having a history of a previous mirroring connection with the electronic device, transmit a control signal that enables the first payment application to be executed at the first external device, receive screen information from the first external device, display, on the display, a mirroring screen including an execution screen of the first payment application executed at the first external device, execute the payment function of the goods by controlling the mirroring screen by using the remote signal from the wireless input device, and in response to selection of a second external device of the at least one external device in which the payment application has not been installed, the controller is further configured to: provide, to the display, at least one payment application (61, 62) capable of being installed at the second external device; and transmit, to the second external device, a control signal that enables a selected second payment application to be automatically installed at the second external device. a wireless receiving device to wirelessly receive remote signals from a wireless input device; a display; and a controller configured to display, on the display, broadcast content and to control the display based on the remote signals received from the wireless input device, wherein the controller is configured to: activate a payment function of goods associated with the broadcast content in response to receiving a remote signal, control the display to display at least one external device capable of a mirroring connection and a payment application, receive an input for selecting a first payment application installed on a first external device of the at least one external device, wherein the first external device having a history of a previous mirroring connection with the electronic device, transmit a control signal that enables the first payment application to be executed at the first external device, receive screen information from the first external device, display, on the display, a mirroring screen including an execution screen of the first payment application executed at the first external device, execute the payment function of the goods by controlling the mirroring screen by using the remote signal from the wireless input device, and in response to selection of a second external device of the at least one external device in which the payment application has not been installed, the controller is further configured to: provide, to the display, at least one payment application (61, 62) capable of being installed at the second external device; and transmit, to the second external device, a control signal that enables a selected second payment application to be automatically installed at the second external device. activate a payment function of goods associated with the broadcast content in response to receiving a remote signal, control the display to display at least one external device capable of a mirroring connection and a payment application, receive an input for selecting a first payment application installed on a first external device of the at least one external device, wherein the first external device having a history of a previous mirroring connection with the electronic device, transmit a control signal that enables the first payment application to be executed at the first external device, receive screen information from the first external device, display, on the display, a mirroring screen including an execution screen of the first payment application executed at the first external device, execute the payment function of the goods by controlling the mirroring screen by using the remote signal from the wireless input device, and in response to selection of a second external device of the at least one external device in which the payment application has not been installed, the controller is further configured to: provide, to the display, at least one payment application (61, 62) capable of being installed at the second external device; and transmit, to the second external device, a control signal that enables a selected second payment application to be automatically installed at the second external device. provide, to the display, at least one payment application (61, 62) capable of being installed at the second external device; and transmit, to the second external device, a control signal that enables a selected second payment application to be automatically installed at the second external device.