- integrityChecksum(HashMap payload)
- returns
String
(hashed)
RaveConstant.PUBLIC_KEY="FLWPUBK-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-X";
RaveConstant.SECRET_KEY="FLWSECK-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-X";
RaveConstant.ENVIRONMENT=Environment.STAGING; //or live
IntegrityChecksum ch=new IntegrityChecksum();
ch.setAmount("20")
.setPayment_method("both")
.setCustom_description("Pay Internet")
.setCustom_logo("http://localhost/payporte-3/skin/frontend/ultimo/shoppy/custom/images/logo.svg")
.setCountry("NG")
.setCurrency("NGN")
.setCustomer_email( "[email protected]")
.setCustomer_firstname("Temi")
.setCustomer_lastname("Adelewa")
.setCustomer_phone("234099940409")
.setTxref("MG-CKSKKHH");
String hash= ch.integrityChecksum();