Facebook learns from its mistakes in payments