How can I get iTunes to use a gift card to make purchases instead of my credit card?

Gift card purchase

I loaded $40 in itunes gift cards but when trying to purchase stuff it's using the credit card on file instead of the gift cards how can I fix that?
Re: Gift card purchase

Welcome to iMore! This should explain how to use the iTunes gift cards.
https://support.apple.com/en-us/HT201209

Original thread: https://forums.imore.com/threads/how-can-i-get-itunes-to-use-a-gift-card-to-make-purchases-instead-of-my-credit-card.351789/