I got the create_order function working on testnet, but can't seem to pay the invoice. I have a channel open directly w your testnet node, and I have tried paying the invoice from Electrum on testnet but get this error:
lnpay('lntb...')
{
"log": [
[
"2",
"0x0x0",
"INCORRECT_OR_UNKNOWN_PAYMENT_DETAILS"
]
],
"payment_hash": "2f451....",
"preimage": null,
"success": false
Here is my channel info:
list_channels()
[
{
"channel_id": "4d322...",
"channel_point": "3d87...",
"closing_txid": null,
"local_balance": 400000,
"local_ctn": 9,
"local_reserve": 4000,
"local_unsettled_sent": 0,
"peer_state": "GOOD",
"remote_balance": 0,
"remote_ctn": 9,
"remote_pubkey": "02bf82...",
"remote_reserve": 4000,
"remote_unsettled_sent": 0,
"short_channel_id": "467...",
"state": "OPEN",
"type": "CHANNEL"
}
]