Reverted back to .on( 'click' ) from .onclick( ). Added inline onclick to order-option='checkout'.