Chris,

Here you go, as requested, let me know if you need more:
http://bitbucket.org/chris1610/satchmo/issue/889/documentation-issues

On Wed, Sep 2, 2009 at 10:45 AM, Chris Moffitt <[email protected]> wrote:

> If you wouldn't mind opening a ticket with your documentation bugs, I'd be
> happy to clean them up so someone else doesn't have to go through the pain
> too!
>
> -Chris
>
> On Wed, Sep 2, 2009 at 10:37 AM, lifewithryan <[email protected]>wrote:
>
>>
>> PHEW -- Finally got it and I had SEVERAL things wrong.
>>
>> #1) I was following the documentation and didn't realize that some of
>> the paths are wrong in the urls.py and views.py, particularly the
>> imports of anything from satchmo.configuration -- instead it needed to
>> be from livesettings import foo
>>
>> #2) I had completely neglected to put 'PAYMENT_GROUP' in any of my
>> custom fields in config.py (see #3)
>>
>> #3) inside SATCHMO_SETTINGS I had 'CUSTOM_PAYMENT_MODULES' : 'pfp and
>> I should have had 'CUSTOM_PAYMENT_MODULES' : ('pfp') instead.  Once I
>> added that and restarted I saw the error of my ways because my
>> config.py was finally getting loaded.  Before, and I'm still not sure
>> exactly how, I must have been modifying a "DUMMY" instance by not
>> including the right PAYMENT_GROUP info or something.  (again, still
>> not clear) -- however...its up and appearing now, so I think I'm
>> finally good.  Now I just have to plug in all my logic.
>>
>> Sorry for spamming the boards, perhaps my trials will help someone
>> out.  LESSON LEARNED:  the code is the best documentation....*i knew
>> that* so I'm kicking myself.
>>
>>
>>
>>
>> On Sep 2, 10:07 am, lifewithryan <[email protected]> wrote:
>> > Okay I got it to show in the Payment Settings -- but I think something
>> > is still messed up because when I save it, one of the messages at the
>> > top talks about updating CreditChoices on PAYMENT_DUMMY.
>> >
>> > Also, after saving, I don't get my settings for Payflow to show up so
>> > I can configure it.  So that piece isn't showing.
>> >
>> > Anyone have any ideas?  Currently, my processor.py doesn't have any
>> > logic in it (just pass statements -- working piece by piece here),
>> > could that be my problem?  (I doubt it).
>> >
>> > So in summary, I've gotten Payflow to show up in the Payment Settings
>> > box, but upon selection and saving its not showing up as an editable
>> > module in admin.
>> >
>> > *help*
>> >
>> > On Sep 2, 9:06 am, lifewithryan <[email protected]> wrote:
>> >
>> > > Okay, l left it at my project root.  I can get the "choice" to show up
>> > > under Payment Settings but when I select it and try to save it, I'm
>> > > getting a duplicate key violation:
>> >
>> > > duplicate key value violates unique constraint
>> > > "livesettings_setting_site_id_key"
>> >
>> > > Anyone know what it is that I'm doing wrong?
>> >
>> > > I've got a module called 'pfp' at the root of my project.  I have
>> > > 'pfp' added to the list of installed apps and under SATCHMO_SETTINGS
>> > > I've added 'CUSTOM_PAYMENT_MODULES' : 'pfp'
>> >
>> > > When I start the server and go to /settings -> Payment Settings I see
>> > > the "Payflow Pro" module that I have created, but if I choose it and
>> > > click the 'Save' button, I get that integrity error.
>> >
>> > > So close, yet so far.
>> >
>> > > On Sep 2, 3:07 am, Hazzadous <[email protected]> wrote:
>> >
>> > > > You specify custom payment and shipping modules in SATCHMO_SETTINGS
>> in
>> > > > your settings.  Something like CUSTOM_PAYMENT_MODULES.  They are
>> > > > referenced as python modules, so it really doesn't matter where they
>> > > > lay, as long as they are somewhere in your PATH.
>> >
>> > > > On Sep 2, 8:21 am, Alessandro Ronchi <[email protected]>
>> > > > wrote:
>> >
>> > > > > 2009/9/1 lifewithryan <[email protected]>
>> >
>> > > > > > If I want to write my own payment module, can I add it as an app
>> in my
>> > > > > > project root or does it need to live in payment/modules within
>> the
>> > > > > > Satchmo tree?
>> >
>> > > > > You can leave it in your project root.
>> >
>> > > > > --
>> > > > > Alessandro Ronchi
>> >
>> > > > > SOASI
>> > > > > Sviluppo Software e Sistemi Open Sourcehttp://www.soasi.com
>>
>>
>
> >
>


-- 
http://www.sudovi.com/
http://www.twitter.com/lifewithryan
http://www.thecommontongue.com
http://www.lifewithryan.com/

--~--~---------~--~----~------------~-------~--~----~
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