jdavid.net Social Software Hacker, Designer, Consultant living in SF.

7Mar/110

Paypal X Adaptive Pay FundingConstraint for PHP

The following code is an example of adding the FundingConstraint objects for a payRequest with Paypals new Adaptive Payments. I hope this helps.


$payRequest->fundingConstraint = new FundingConstraint();
//$payRequest->fundingConstraint->allowedFundingType->fundingTypeInfo->fundingType = "BALANCE";
$payRequest->fundingConstraint->allowedFundingType->fundingTypeInfo->fundingType = "ECHECK";

Tagged as: Leave a comment
Comments (0) Trackbacks (0)

No comments yet.


Leave a comment

(required)

No trackbacks yet.