[Paypal rest] updated payment factory.

oops