recurly / recurly-js

Simple subscription billing in the browser
https://js.recurly.com/
MIT License
645 stars 138 forks source link

fix: Amazon Pay should be emitting the 'cancel' event when the window is manually closed #879

Closed douglasmiller closed 6 months ago

douglasmiller commented 6 months ago

The AmazonPay window was incorrectly emitting an error event when the user manually closed the recurly window frame. The cancel event should be emitted instead.