Ensure proper thing happens when payment is received #378
Labels
enhancement (behind the scenes)
Stuff that users won't see
enhancement (development)
Improvement to the development situation
Milestone
There's a lot going on right now when a payment is received. I'll try to describe each case here:
Note that both the normal payment dialog and widget should behave almost the same.
When a payment is detected...
onSuccess (including QR code check mark and toast) should fire if:
onTransaction (only the function -- nothing else) should fire if:
What does it mean for an address to be "correct"?
What does it mean for an amount to be "correct"?
What does it mean for an OP_RETURN to be "correct"?
disable-payment-id=true
. It's up to us if we want to have it accept any or even no OP_RETURN ifdisable-payment-id=true
andop-return
is not populated.The text was updated successfully, but these errors were encountered: