Thinking about ActivityPub crypto integrations
https://gitlab.com/soapbox-pub/soapbox/-/issues/1355#note_1265864906
Thinking about ActivityPub crypto integrations
https://gitlab.com/soapbox-pub/soapbox/-/issues/1355#note_1265864906
@jawsh @silverpill Do you have a gitlab.com account?
There's a thread on SocialHub where I posted some ideas about payment links: https://socialhub.activitypub.rocks/t/fep-8c3f-web-monetization/2719/21
I think payment information should be represented as objects with type Link (or it could be a new subtype of Link such as PaymentLink), because in most cases you can generate payment URI of some kind. For example, here's how we can represent LN payment link:
Can be an attachment or a tag, IMO both are fine. Subscriptions links in Mitra are currently added to attachment array on actor object.
I've been planning to propose it as a FEP, so it's good to see people requesting such features.
@alex @jawsh No, I don't have gitlab account and it probably won't let me in because of cloudflare.
@raphael @jawsh @alex It seems that OP wants static links, and they can be represented as attachments or tags.
In cases where actors need to interact somehow it is recommended to use standardized activities such as Offer() or Invite(). Any activity can carry payment details, what's more important is the context of payment
Generalizing the use case, couldn't we have "PaymentRequest" and "Payment" activity types? And perhaps use the Payment Request Web API to implement the UI as a browser extension?
https://developer.mozilla.org/en-US/docs/Web/API/Payment_Request_API/Using_the_Payment_Request_API
@teknomunk @raphael @alex I would send an Offer activity:
{ "type": "Offer", "object": "https://my-store.com/item/1", "paymentDetails": { ... }, "to": "https://example.com/users/happy_customer" }GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.
All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.