Dead simple, platform agnostic,
modern device integration.
**** **** **** 9837
John Doe
10/25
Device.on(this, new Device.Callback(){
@Override
public void connected(Device device) {
device.beginTransaction(new pl.Payment(15),
new Device.TransactionCallback(){
public void processed(pl.Payment pymt) {
Log.i(TAG, "Payment Processed :)");
}
public void declined(pl.Payment pymt) {
Log.i(TAG, "Payment Declined :(");
}
});
}
});