[Paypal rest] updated payment factory.

https://github.com/paypal/rest-api-sample-app-php/blob/master/app/bootstrap.php#L34-L37 ;)