Subversion Repositories SmartDukaan

Rev

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

Rev 13376 Rev 13423
Line 67... Line 67...
67
	static{
67
	static{
68
		try {
68
		try {
69
			accountId = ConfigClient.getClient().get("payu_account_id");
69
			accountId = ConfigClient.getClient().get("payu_account_id");
70
			salt = ConfigClient.getClient().get("payu_secret_key");
70
			salt = ConfigClient.getClient().get("payu_secret_key");
71
			returnUrl = ConfigClient.getClient().get("payu_return_url");
71
			returnUrl = ConfigClient.getClient().get("payu_return_url");
72
			cancelUrl = ConfigClient.getClient().get("pay_options_url");
72
			cancelUrl = ConfigClient.getClient().get("payu_return_url");
73
			rechargeCancelUrl = ConfigClient.getClient().get("recharge_url");
73
			rechargeCancelUrl = ConfigClient.getClient().get("payu_return_url");
74
			postActionUrl = ConfigClient.getClient().get("payu_post_url");
74
			postActionUrl = ConfigClient.getClient().get("payu_post_url");
75
			//"https://test.payu.in/_payment";
75
			//"https://test.payu.in/_payment";
76
		} catch (ConfigException e) {
76
		} catch (ConfigException e) {
77
			log.error("Unable to get PayU payment configuration.");
77
			log.error("Unable to get PayU payment configuration.");
78
		}
78
		}