resursPaymentMethodSelected
Fires when a payment method is selected. The detail property contains:
resursPaymentMethodDeselected
Fires when a payment method is deselected. The detail property contains { id } for a specific deselection, or null when all methods are deselected.
JavaScript API reference
The script exposeswindow.resurs with utility functions for programmatic control.
resurs.dispatchSelected(id)
Programmatically select a payment method. Fires the global resursPaymentMethodSelected event.
resurs.dispatchDeselected()
Programmatically deselect all payment methods. Fires the global resursPaymentMethodDeselected event.