Amazon gets to increase its footprint amongst millions of Shopify stores, thereby increasing their revenue. They also get to increase the value that prime membership brings to its members.