I implemented payment fees using a custom payment module.
The source can be found here: 
https://bitbucket.org/zwack/satchmo-payment-ondelivery

This hooks in after the payment type is selected. I created a dummy
product with the slug "ondelivery-fee" which is added to the shopping
cart if not present already. This "product" shows up on the confirm
page and then on the order like a normal product.

To add the item to the cart I had a look at the original function and
used what seemed appropriate. There are 2 signals which I commented
out as I'm not sure they are needed.

On Feb 23, 7:31 pm, Sebastian Zwack <[email protected]>
wrote:
> Ok. I just had a look at the payment processor and wonder if one could
> modify the order amount there.
> I'll probably try that tomorrow.
>
> On Feb 23, 6:51 pm, Dan <[email protected]> wrote:
>
> > No not yet, I still don't really know what will be the best solution
> > for this issue.
>
> > Has anyone else got any ideas on how to implement payment fees?
>
> > On Feb 23, 5:43 pm, Sebastian Zwack <[email protected]>
> > wrote:
>
> > > Dan, any news on this, did you already implement it?
> > > I'm also looking for COD payment fees.
>
> > > On Feb 21, 12:58 am, Dan <[email protected]> wrote:
>
> > > > After looking at the Order model it seems that it will only deal with
> > > > shipping fees and not any payment fees?
>
> > > > To implement payment fees would i need to subclass the Order model or
> > > > is there some other solution to this?
>
> > > > Thanks
>
> > > > On Feb 20, 9:16 pm, Dan <[email protected]> wrote:
>
> > > > > I would like to set up payment fees for the COD payment module is this
> > > > > possible?
>
> > > > > Would need something like £3 for cart £0 to £99.99 and 0 dollars for
> > > > > £100+
>
> > > > > Whats the best way to set this up, can it support fees in payment
> > > > > modules?
>
> > > > > Thanks

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