Handle a submission result with a payment submission event. Will throw an
error if a transaction has already been made using this submission result.
Will return undefined if the submission does not have an amount. Will
return the submission result passed in with a payment property if the
submission requires processing.
Handle a submission result with a payment submission event. Will throw an error if a transaction has already been made using this submission result. Will return
undefinedif the submission does not have an amount. Will return the submission result passed in with apaymentproperty if the submission requires processing.Example