my.verifyPaymentPin
This jsapi will show a popup for user to enter Super app Payment pin. Then it will return whether the pin is correct.
Sample Code
verifyPaymentPin() {
my.call('verifyPaymentPin', (res) => {
my.alert({
content: res
})
})
}Parameters
params | type | M/O | desc |
seedFactor | string | options | The security interference factor of payment pin is currently limited to the incoming order id in payment and transfer scenarios |
rut | String | options | Rut in login mode is not mandatory, it is mandatory in non login mode. If the client does not obtain Rut, it will directly return error 1002: internal error |
Success Callback Function
params | type | M/O | desc |
encryptContent | String | options | Used for verifying results When the resultCode is 0, it will return |
resultCode | string | mandatory | 0: verfiy payment pin successfully. 1001: pin is blocked 1002: internal error 1003: canceled by user 1004: network error 1008: user has not enrolled pin 1011: payment pin is invalid |
resultMessage | string | mandatory | Return on failure |
