event handling on payment option buttons opens correct url with payment option information payload encoded in JSON.