For those planning to use Defold as their engine of choice for the jam we just released a new version of the Web Monetization extension. The new version returns event details in the listener callback.
New release: https://github.com/defold/extension-webmonetization/releases/tag/1.0.0
webmonetization.set_listener(function(self, event, details)
pprint(details)
end)
Details table:
{
paymentPointer = "$ilp.uphold.com/QkG86UgXzKq8",
assetScale = 9,
amount = "26009",
requestId = "a1f728aa-21e0-4376-ae99-0ccb22642956",
assetCode = "XRP"
}
