recurring payment

22 views
Skip to first unread message

Massimiliano Arione

unread,
Dec 11, 2009, 6:06:31 AM12/11/09
to symfony payment developers
Hi,
After succeeding in classical sample payment, I'm trying with
recurring payments.
I added these lines to executeSample():

$gateway->setCmd('_xclick-subscriptions');

$gateway->fields['no_shipping'] = 1;

$gateway->fields['a3'] = '2.00'; // amount
$gateway->fields['p3'] = 2; // amount of time periods

$gateway->fields['t3'] = 'M'; // time period (Day, Month, Week,
Year)

and commented out these lines:

#$this->transaction->setAmount(rand(1, 10));

#$products_sample = array("Symfony Book", "View Sonic VA226w",
"Camera", "IPhone 3Gs", "PlayStation 3");

After returning to my site, I get the infamous "invalid" message.
Anyway, the first ipn check is fine (verified in the log).

Any hints?

thanks in advance
Massimiliano

Massimiliano Arione

unread,
Dec 15, 2009, 4:37:15 AM12/15/09
to symfony payment developers
I realized that the secon IPN check fails becaus paypal doesn't pass
all the need values when returning to my site (while the first check
passes, since all parameters are in place).
Someone has an idea of the possible reason?

thanks
Massimiliano
Reply all
Reply to author
Forward
0 new messages