Skip to content
Snippets Groups Projects
Commit 5227b5fc authored by Yassine Doghri's avatar Yassine Doghri
Browse files

refactor(webmonetization): update value tag to follow new WM proposal

parent 0bb1c963
No related branches found
No related tags found
No related merge requests found
......@@ -90,11 +90,10 @@ if (! function_exists('get_rss_feed')) {
if ($podcast->payment_pointer !== null) {
$valueElement = $channel->addChild('value', null, $podcastNamespace);
$valueElement->addAttribute('type', 'webmonetization');
$valueElement->addAttribute('method', '');
$valueElement->addAttribute('suggested', '');
$valueElement->addAttribute('method', 'ILP');
$recipientElement = $valueElement->addChild('valueRecipient', null, $podcastNamespace);
$recipientElement->addAttribute('name', $podcast->owner_name);
$recipientElement->addAttribute('type', 'ILP');
$recipientElement->addAttribute('type', 'paymentpointer');
$recipientElement->addAttribute('address', $podcast->payment_pointer);
$recipientElement->addAttribute('split', '100');
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment