Apple Wallet and Apple Pay serve different functions, but you need them both to make online payments and store your cards.

walletsamepay:here'stheydiffer