Re: Paypal soap api integration

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



<?php
error_reporting(E_ALL|~E_STRICT);

..
require_once ..

$data = new APIProfile($pid, $handler);
$profile = & $data;


remaining code
 ..
?>



On 9/24/09, Sriram Natarajan <Sriram.Natarajan@sun.com> wrote:
> In your php code, i think you can do something like
>
> <?php
> error_reporting(E_ALL|~E_STRICT);
>
> ..
> require_once ..
>
> .. rest of php code
> ..
> ?>
>
>
> - Sriram
>
> Tobin wrote:
>> I am tried to use paypal DoDirectPayment soap api but in the code download
>> from the paypal site is using
>> $profile = & new APIProfile($pid, $handler); I am using php5 so I get an
>> error like this
>> Strict Standards: Assigning the return value of new by reference is
>> deprecated in
>> /home/feathers/public_html/projects/nissan/application/modules/default/controllers/TestpayController.php
>> on line 53
>> I tried to repalces the & singn but in sdk file papay uses this formula
>> how
>> can I solve it
>>
>> Please help me
>> By: Tobbin
>>
>>
>
> --
> PHP Soap Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


-- 
Thanks & Regards,
Lala Lajpathrai. Y
Mobile: 9440669839

-- 
PHP Soap Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Kernel Newbies]     [PHP Database]     [Yosemite]

  Powered by Linux