Drew Angerer / Getty Images Shares of Affirm, the digital “buy now, pay later” company, soared more than 29% in after-hours trading Wednesday, after the company said it would expand its partnership with Amazon. The company also beat analyst estimates on revenue in the fiscal first quarter.Here’s how Affirm did:EPS: $1.13 adjusted per shareRevenue: $269.4 million vs. $248.2 million estimated by analystsAs part of the new agreement with Amazon, Affirm will serve as the sole third-party buy now, pay later option for the e-commerce giant. Amazon will also integrate the platform into its digital wallet in the U.S. Affirm can be used for eligible purchases on Amazon of $50 or more.Affirm also gave strong guidance for the current quarter, estimating $320 million to $330 million in revenue, versus analyst expectations of $296 million.The company first announced the partnership in August, a move that sent Affirm shares soaring nearly 47%. Some of the company’s biggest competitors include Afterpay and Klarna. Apple is also reportedly working on an installment plan product in partnership with Goldman Sachs.Affirm shares closed down more than 15% in regular trading Wednesday.