I tested plug in and I found that it does'n handle good the things in
some critical situations - when buyer pays with different currency
from the seller defined currencies , and when there is need to be
verifyed (accepted ) transaction
this code is from
sfPaymentPayPalPlugin/lib/sfPaymentPayPal.class.php
/**
* Check if the payment status is completed after ipn validation
*
* @return boolean
*/
public function isCompleted() {
$payment_status = $this->ipnData['payment_status'];
$pending_reason = $this->ipnData['pending_reason'];
if ($payment_status == "Completed" || ($payment_status == "Pending"
&& $pending_reason=="verify") || ($payment_status == "Pending" &&
$pending_reason=="multi_currency"))
//if($this->ipnData['payment_status'] == 'Completed')
return true;
else
return false;
}
On Sep 2, 8:17 am, Antoine Leclercq <
antoine.lecle...@gmail.com>
wrote:
> Hi,
> Thank you for your email.
>
> You can also apply to be developer on the sfPaymentPayPalPlugin plugin page
> on symfony (
http://www.symfony-project.org/plugins/sfPaymentPayPalPlugin),
> this way you can contribute on your own branch.
>
> I'll validate your account asap.
>
> Thanks.
>
> Antoine
>
> On Tue, Sep 1, 2009 at 9:10 PM, jiap <
g.castellu...@gmail.com> wrote:
>
> > Hello guys,
>
> > I'm developing an extension of your plugin where you can pay
> > for multiple items.
>
> > look this example of fields configuration:
>
> > cmd: _cart
> > rm: 2
> > return: /frontend_dev.php/sfPaymentPayPal/success
> > cancel_return: /frontend_dev.php/sfPaymentPayPal/failure
> > notify_url: /frontend_dev.php/sfPaymentPayPal/ipn
> > business:
t...@business.com