Hi Everyone
I am trying to integrate fortumo (Direct Career Billing) in my app
but gettinh an error "cannot resolve symbol TYPE_NON_CONSUMABLE" on a single line
this is my code below
public void onClick(View v) {
switch(v.getId()) {
case R.id.buy_button: {
PaymentRequest.PaymentRequestBuilder builder = new PaymentRequest.PaymentRequestBuilder();
builder.setService(SERVICE_ID, APP_SECRET);
builder.setDisplayString("Fortumo Sample1");
builder.setProductName("Fortumo Sample1"); // non-consumable purchases are restored using this value
builder.setType(MpUtils.TYPE_NON_CONSUMABLE); // non-consumable items can be later restored
builder.setIcon(R.drawable.ic_launcher);
PaymentRequest pr = builder.build();
makePayment(pr);
} break;
}
}
Kindly help
Loading
Tejas TrivediPosted Sep 19, 2016, 11:50 PM
JOHN JOHNNNYPosted Sep 20, 2016, 7:21 AM