For the developers if they want to control over showing pay, cancel option, they cannot currently.
When the pay option is clicked, customers are selecting cancel option. But, the form is not cancelling the transaction to proceed. But, customers are not unaware and they are submitting another transaction. More details here.
Can we have the following so that developers can have the option to hide in the form? this helps the merchant customers not to cancel after they click pay.
<settingName>hostedCancelButtonOptions</settingName>
<settingValue>{"show": false}</settingValue>
OR
once the pay button is clicked, disable the cancel button so that end-user doesnt have an option to select cancel.
-Bhavana