I've changed the template from:
{% if subscription.product.recurring %}
<input type="hidden" name="src" value="1">
{% endif %}
<input type="hidden" name="sra" value="1">
<input type="hidden" name="srt"
value="{{ recuring.recurring_times }}">

to:
{% if subscription.product.subscriptionproduct.recurring %}
<input type="hidden" name="src" value="1">
{% endif %}
<input type="hidden" name="sra" value="1">
<input type="hidden" name="srt"
value="{{ subscription.product.subscriptionproduct.recurring_times }}">

On Apr 6, 5:02 am, Gautama Dude <[email protected]> wrote:
> This seams to be the problem:
>
> Line 51 of template  /usr/local/lib/python2.6/dist-packages/
> Satchmo-0.9.2-py2.6.egg/payment/templates/shop/checkout/paypal/
> confirm.html has <input type="hidden" name="srt"
> value="{{ recuring.recurring_times }}"> and for some reason
> {{ recuring.recurring_times }} returns nothing and therefor the
> payment doesn't recur.
>
> A bug?
>
> On Apr 6, 4:17 am, Gautama Dude <[email protected]> wrote:
>
>
>
>
>
>
>
> > On the confirmation page I checked the source and found this:
> > <input type="hidden" name="a3" value="1.00">
> > <input type="hidden" name="p3" value="1">
> > <input type="hidden" name="t3" value="DAY">
>
> > <input type="hidden" name="sra" value="1">
> > <input type="hidden" name="srt" value="">
>
> > And judging from the info from this 
> > page:https://www.paypal-community.com/t5/Merchant-services/Profile-Cancele...
>
> > Shouldn't srt be 1 and 12 if it's monthly? And where is the sra value?
> > Could this be the problem?
>
> > On Apr 5, 6:02 am, Gautama Dude <[email protected]> wrote:
>
> > > I'm selling accounts to a website using Satchmo, so it's a
> > > Subscription Product and it's going to be set so that the user is
> > > charged a set amount once a month indefinitely, to test the software
> > > though I'm setting it to $1.0, once every day for 5 days.
>
> > > What I find though is when I complete the payment process I get this:
> > > Apr 4, 2011 - Recurring Payment To - Name - Expired
> > > Apr 4, 2011 - Recurring Payment To - Name - Completed
> > > Apr 4, 2011 - Recurring Payment To - Name - Created
>
> > > So it expires after the first payment, not the fifth, and so far I
> > > haven't found anything wrong with my code. Any ideas what could be
> > > wrong? The only thing I can think of at the moment is that maybe I
> > > need to change something in local_settings.py, haven't changed it
> > > since I first set it up, or maybe some setting I'm missing in site
> > > settings? Or.. a change in setting on the PayPal side of things? Help
> > > would be greatly appreciated since this is basically the only thing
> > > left stalling deployment. :P
>
> > > Software:
> > > Python 2.6.6
> > > Django 1.2.5
> > > Satchmo 0.9.2
>
> > > PayPal account:
> > > Verified Business Account
>
> > > Apps installed:
> > >     'django.contrib.auth',
> > >     'django.contrib.contenttypes',
> > >     'django.contrib.sessions',
> > >     'django.contrib.sites',
> > >     'django.contrib.messages',
> > >     'satchmo_store.shop', #SATCHMO
> > >     # Uncomment the next line to enable the admin:
> > >     'django.contrib.admin',
> > >     ...
> > >     'django.contrib.sitemaps',
> > >     ...
> > >     'registration',
> > >     'south',
> > >     ...
> > >     #SATCHMO
> > >     'keyedcache',
> > >     'livesettings',
> > >     'l10n',
> > >     'satchmo_store.contact',
> > >     'tax',
> > >     'product',
> > >     'product.modules.configurable',
> > >     'product.modules.subscription',
> > >     'payment',
> > >     'payment.modules.paypal',
> > >     'satchmo_utils',
> > >     'app_plugins',

-- 
You received this message because you are subscribed to the Google Groups 
"Satchmo users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/satchmo-users?hl=en.

Reply via email to