[Paypal rest] updated payment factory.

looks good,