androlizer

For Rahul

Apr 17th, 2016
41
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 1.18 KB | None | 0 0
  1.         if (user has to be redirected to Payu Money based on amount of service) {
  2.             msg  = "You will be redirected to PayU Money to pay the amount, <b>service for 30 Days Paid @ ₹20000";
  3.             btn1 = "Continue";
  4.             btn2 = "Cancel";
  5.         } else {
  6.             if (userHaveSufficientFunds) {
  7.                 msg  = "Are you sure you want to subscribe to <b>service for 20 Days Free/Paid @ ₹1200";
  8.                 btn1 = "Continue";
  9.                 btn2 = "Cancel";
  10.             } else {
  11.                 msg = isFreeService ? "You don't have sufficient <b>free funds</b> in your wallet to subscribe this service.<br/><br/>" +
  12.                         "You can earn by sharing the app to your friends and when they sign-up for an account you'll get the <b>free funds</b>." :
  13.                         "You don't have sufficient <b>paid funds</b> in your wallet to subscribe this service.";
  14.                 btn1 = isFreeService ? "Share Now" : "Recharge";
  15.                 btn2 = "Cancel";
  16.  
  17.                 onclick of "Share Now" : Follow same approach as refer and earn
  18.                 onclick of "Recharge" : Take user to the payment gateway
  19.             }
  20.         }
Add Comment
Please, Sign In to add comment