If you use the Apple Wallet app (on IOS or through the Safari browser) or Google Wallet app (for Android), you can pay for your trip through the Iberia app or at iberia.com in all eurozone markets.
Just add a credit/debit card (VISA, Mastercard or AMEX) to your wallet and payment will be taken automatically, although your mobile device may ask you to provide additional verification, such as your fingerprint or a PIN.