Online shopping has become a quite popular phenomenon. Without face-to face communication, service recovery for online service providers becomes difficult. This study develops a framework which integrates expectation-confirmation theory and equity theory, and includes switching cost as a moderator for the influence of satisfaction on repurchasing intention. The results indicate that service recovery has a positive influence on expectation confirmation and perceived justice. Customer expectation has a negative impact on expectation confirmation. Service failure attribution has a positive impact on customer expectation, but does not impact satisfaction. Perceived justice and expectation confirmation have influences on satisfaction, and satisfaction in turn leads to repurchasing intention. Switching costs, moderate the relationship between satisfaction and repurchasing intention.