Skip to content

Add "Buy Now" style payment widget #32

@RenegadeButcher

Description

@RenegadeButcher

I believe the issue with payment notes would need to be addressed first:
getAlby/lightning-browser-extension#2312

I have an idea that I think would probably be really useful in expand the WordPress LN publisher. I've attempted to make it work with the donate widget, and the twentyuno, but not quite there yet.

So, if there was a widget or shortcode that allowed you to do essentially what the donate widget does now, but also attach a string to the beginning of the payment note, it could be very useful as a "buy it now" type addition to a product listing. I'd love the ability to allow a customer to click "buy now with Lightning" and have it generate a QR code but append a product number to the note, while still allowing them to enter an email address or shipping address in the note. There may be easier ways to do that, but I think it would really expand the lightning marketplace.

One issue I found with the donation widget is that even if I pay an invoice with say, Wallet of Satoshi, the information I put in the payment note does not display in Alby. Not sure why it doesn't. (getAlby/lightning-browser-extension#2312)

Anyways, nothing critical but I thought I would pass the idea on. Perhaps there is already a solution to this I'm not yet aware of.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions