A VISA gift card is a prepaid debit card. Many users report that they can't use a VISA gift card as a payment method.
This article states that by jumping through hoops you can use the VISA gift card.
How to use a VISA prepaid/gift card -
https://www.techwalla.com/articles/how-to-put-my-visa-gift-card-on-itunes
If you are successful in getting the VISA gift card accepted as a payment method, drag the VISA card to the top of the payment methods in your account details. The system will use the $25 first and then should charge the remainder to your 2nd payment method.
M1 Mac mini, macOS 15.3; Watch, series 10 GPS-only, watchOS 11.3; iPhone 16, iOS 18.3; TV 4th Gen, tvOS 18.3; HomePods, audioOS 18.3 and Airport Express w/ Airplay 2