Re: [SOAP] Paypal soap api integration
| From: | Lala Lajpathrai. Yenda | Date: | Fri, 25 Sep 2009 02:04:17 +0000 |
| Subject: | Re: [SOAP] Paypal soap api integration | ||
| References: | 1 2 | Groups: | php.soap |
| Request: | Send a blank email to php-soap+get-2986@lists.php.net to get a copy of this message | ||
<?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