I am trying to use the payment verification service from devtodev. I am suppose to call their method, which will validate the purchase and return the response.
I do not understand how to implement the listener provided. most listeners that I have used have methods raised where a response value is returned.
The call is here..
The response types are here..
I am not sure how to capture these values because the Listener has no methods such as onReturn etc. I believe this requires a different implementation that I have not seen before
I do not understand how to implement the listener provided. most listeners that I have used have methods raised where a response value is returned.
The call is here..
B4X:
DevToDevCheat.verifyPayment(String receipt, String signature, String publicKey, OnVerifyListener onVerifyListener);
The response types are here..
B4X:
public enum VerifyStatus {
Valid,
Invalid,
InternalError,
ServerError
};
I am not sure how to capture these values because the Listener has no methods such as onReturn etc. I believe this requires a different implementation that I have not seen before