Taler-Tryton Payment System Devlog

I well not actually write a “log” here, just some brief notes.

Here is the current status

  • account_payment_taler module implemented, following the ones for stripe and braintree. This implements

    • extensions to Payment and PaymentJournal to support Taler
    • a Taler Merchant Account class providing the configuration for accessing the account, defaults fpr pay/refund/wire delays and the possibility to overwrite the currency (so one can easily test with some merchant instance)
    • cron jobs for pushing new payments/orders and refunds to the merchant backend and pulling updates
    • a custom “checkout” web page to be integrated into a web shop (in case one does no want to directly forward to the Taler order status page).
    • a “checkout email” report, anyhow I don’t know where this is used (see Where is Payment._send_email_checkout() used? in the Tryton forum)

    There are still some pieces missing though.

  • written documentation and tutorials

  • added a test-suite which uses the demo backend and required interaction for paying and taking the refund.

Issues I’m facing

Limitations

  • The implementation will not (yet) support all features of Taler Merchant like tokens, public reorder url, auto refund, etc. The main reason for this is: I don’t know the business side of this. Of course I’d be easy to add the required fields to the Payment class – but IMHO its not a good idea to put all these into the forms.

From discuss.tryton.org:

The Account Payment Taler module is done. It is modeled like the other account-payment-… modules.

The Account Payment Taler module allows receipt of payments using Taler. It communicates with the GNU Taler Merchant Backend for creating “orders” and checks whether they are paid. The module also provides the possibility to send refunds and checks whether they have been acquired by the customer.

For your web-shop it provides a “checkout” page containing the QR-code the customer’s wallet needs to scan. It also provides a sample report showing how to integrate the Taler payment QR-code into PDF invoices. Of course, the QR-code and the URL contained can also be send to the customer via an e-mail.

The module’s documentation includes comprehensive tutorial.

The package is available at PyPI, the module source is at heptapod. Contributions are welcome.

2 Likes