[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: accepting payments from email




On 12 Jun 2009, at 02:59, Schmiechen wrote:

Is anyone interested in setting up a invoice email template for accepting payments on invoices via paypal merchant services? Or writing a how to? Or
chipping in on the cost of writing one.
I have been looking over paypal.pl and the old sql-ledger shopping cart code. We cant take payments on sales orders just invoices. Not to mention our
customers dont need a shopping cart.
Paypal has a email invoices thing for outlook and qb I was thinking something
along those lines.

Am not familiar with the email invoices thing for outlook, but it should be straight-forward to change the HTML email invoice (or even the PDF one??) to include a PayPal link.

Using the PayPal "button creator" I get this link for requesting a payment:

https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=foo%40bar%2ecom&lc=US&item_name=Invoice%201234&amount=99%2e99&currency_code=USD&button_subtype=products&bn=PP%2dBuyNowBF%3abtn_buynowCC_LG%2egif%3aNonHostedGuest

<https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=foo%40bar%2ecom&lc=US&item_name=Invoice%201234&amount=99%2e99&currency_code=USD&button_subtype=products&bn=PP%2dBuyNowBF%3abtn_buynowCC_LG%2egif%3aNonHostedGuest >

This is for a payment of $99.99 to ..hidden.. (your address) against invoice 1234.

It _should_ be easy to have LedgerSMB insert the appropriate amount & invoice number, and create a URL from the invoice template.

Of course, this doesn't mark the payment as made on your LedgerSMB system, but that is probably a bunch more complicated.

Stroller.