Error implementing Web Monetisation [SOLVED]

#1

Following the tutorial for adding web monetisation - seems straightforward - I get the following error when building…

No key, method or field with name 'webmonetization.payment_pointer' on line 3

Any ideas?

0 Likes

#2

Did you add this to your game.project file?

[webmonetization]
payment_pointer = ADD PAYMENT POINTER HERE
0 Likes

#3

Yes I have the coil extension set up and running. The error occurs in the Defold console, before I get anywhere near a browser.

image

0 Likes

#4

I ninja edited reply! :slight_smile:

0 Likes

#5

That’s better, thanks! Had to add the line manually to game.project

1 Like

#6

Made issue, this feels like it should not break building when not set to me.

1 Like