web-monetization-extension
web-monetization-extension copied to clipboard
[Monetization flow - Background] Stop& resume monetization
- Listen for messages:
- On "STOP_MONETIZATION" event with payload requestId and mark active
false
for that requestId - On "RESUME_MONETIZATION" event with payload requestId and mark active
true
for that requestId- repeat steps 5-6 from ticket #165 - if IP expired, go back to 4.1 and update payment details instead of adding a new record
- On "STOP_MONETIZATION" event with payload requestId and mark active