The invention relates to an automatic
payment link switching method. The method comprises the steps: S1,
logging in a platform by a user through a
service gateway, preparing to pay and monitoring thestate of a POS
machine; S2, awakening and starting a
payment channel monitoring service; S3, monitoring a
payment channel state; S4, listing available payment channels, and selecting a default paymentchannel; S5, selecting a payment channel; S7, scanning a payment channel; S8, reading the payment channel from the cache; scanning the payment channel interface by the payment monitoring service according to the interval time; if the payment channel currently used by the
current user is abnormal, checking whether other available payment channels exist at present or not; if not, reminding user that payment is not available at present, otherwise, automatically switching to the available payment channel; meanwhile, acquiring information selected and input by the user in the context and seamlessly switching to the service of the reselected payment channel, completing payment by the user on the new channel without sensing during the period; and S9, performing abnormal code
processing and
receipt printing, and ending the payment process.