Payload.googlepay(view, new pl.Payment(){{
set("amount", 10.0);
}}).processed((pl.Payment pmt) -> {
handleSuccess(pmt);
}).error((Exception err) -> {
handleError(err);
});
/* ApplePay support coming soon */
/* ApplePay support form coming soon */
To open Google Pay, create a button or trigger that will call the Payload.googlepay
function. The Payload.googlepay
accepts the view that contains the active inputs as
the first parameter and a second parameter of a Payload.Payment
object with additional
transaction details for the request.