Re: [SOAP] Paypal soap api integration

[email protected] ("Lala Lajpathrai. Yenda")
Newsgroups php.soap
Message-ID <[email protected]>
<?php
error_reporting(E_ALL|~E_STRICT);

..
require_once ..

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


remaining code
 ..
?>



On 9/24/09, Sriram Natarajan <[email protected]> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.