Paypal soap api integration

View: New views
3 Messages — Rating Filter:   Alert me  

Paypal soap api integration

by Tobin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

Re: Paypal soap api integration

by Sriram Natarajan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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


Re: Paypal soap api integration

by Lala Lajpathrai. Yenda :: Rate this Message:

Reply to Author | View Threaded | Show Only 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@...> 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