Going into the print, the big question was whether losing Walmart to rival Klarna would drag on results.

Affirm's earnings per share of 20 cents for the quarter was almost double what Wall Street expected.

Going into the print, the big question was whether losing Walmart to rival Klarna would drag on results.