slickage / baron

Baron is a Bitcoin payment processor that anyone can deploy
163 stars 35 forks source link

Arbitrary Title and Description per Invoice #39

Closed wtogami closed 10 years ago

wtogami commented 10 years ago

.title contains the title to replace the "Baron" at the top of invoices and payments.

.text contains arbitrary text to display at the bottom of invoices and payments. This will usually contain instructions and potentially links to elsewhere to things like Terms and Conditions. It should be sanitized of scripts but allow links.

akinsey commented 10 years ago

This for invoice titles?

wtogami commented 10 years ago

No, it's arbitrary text for optional instructions. It could include basic HTML like a link.

wtogami commented 10 years ago

We also need the title configurable per invoice.

akinsey commented 10 years ago

Ok sounds good. Do you have a name you'd prefer for the two new fields? What is the behavior of the arbitrary text field? Is this still considered the terms and linked from the invoice when provided?

wtogami commented 10 years ago

The arbitrary text field displays at the bottom of the invoice.

How about .title and .description?

akinsey commented 10 years ago

Sounds good where would we display the description html?

wtogami commented 10 years ago

Below everything else on the Invoice and Payment view?

wtogami commented 10 years ago

The two invoice fields are named .title and .text