Klarna has secured a “buy now, pay later” deal with DoorDash, allowing customers to split food delivery payments into installments.