Subversion Repositories SmartDukaan

Rev

Rev 6060 | Rev 13287 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 6060 Rev 6062
Line 33... Line 33...
33
})
33
})
34
public class PayuPayController extends ValidationAwareSupport{
34
public class PayuPayController extends ValidationAwareSupport{
35
 
35
 
36
	private static Logger log = Logger.getLogger(Class.class);
36
	private static Logger log = Logger.getLogger(Class.class);
37
	
37
	
38
	private static String accountId = "C0Dr8m";
38
	private static String accountId;
39
	
39
	
40
	private static String returnUrl = "http://local.shop2020.in:8080/payu-pay-response";
40
	private static String returnUrl = "http://local.shop2020.in:8080/payu-pay-response";
41
	
41
	
42
	private static String salt = "3sf0jURk";
42
	private static String salt;
43
	
43
	
44
	static{
44
	static{
45
		try {
45
		try {
46
			accountId = ConfigClient.getClient().get("payu_account_id");
46
			accountId = ConfigClient.getClient().get("payu_account_id");
47
			returnUrl = ConfigClient.getClient().get("payu_return_url");
47
			returnUrl = ConfigClient.getClient().get("payu_return_url");
48
			accountId = ConfigClient.getClient().get("payu_secret_key");
48
			salt = ConfigClient.getClient().get("payu_secret_key");
49
			//"https://test.payu.in/_payment";
49
			//"https://test.payu.in/_payment";
50
		} catch (ConfigException e) {
50
		} catch (ConfigException e) {
51
			log.error("Unable to get EBS payment configuration.");
51
			log.error("Unable to get EBS payment configuration.");
52
		}
52
		}
53
	}
53
	}