From macro perspective, yes, the slow adoption of credit card payment and rapid growth of smartphone contributed a lot in China payment evolution.
From micro perspective, both Alipay and Wechat have a unique “pass” to internet service. online shopping indeed came much earlier than Alipay. and I still remember those days that I have to remit money through counter to buy stuff on Taobao. same as Wechat.