Trial period not recognised by paypal

Project:PayPal Buttons
Component:Code
Category:
Priority:normal
Assigned:Unassigned
Status:active
Description
Project: 
uc_paypal_buttons

Although the trial period settings show up and are saved OK, and otherwise the subscription button sends correct information to paypal - trial periods don't seem to be recognised at all. Any help much appreciated.

catch@drupal.org's picture
Offline
Joined: 07/14/2008
Juice: 7
This is the bug: if

This is the bug:

if (floatval($prodopts['amount1']) && intval($prodopts['plength1']) && isset($prodopts['punits1']))

This always returns false, even if trial period information is entered. Removing the check allows it to register the subscriptions information fine. I'll see about why it's failing later on.

detour's picture
Offline
Bug FinderGetting busy with the Ubercode.
Joined: 10/02/2007
Juice: 150
catch, Thanks for reporting
Assigned to:catch@drupal.org» detour

catch,

Thanks for reporting this. You were on the right track.

There is a bug that prevents free (zero cost) trial periods. This will be fixed in an upcoming version.