Subversion Repositories SmartDukaan

Rev

Rev 428 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 428 Rev 517
Line 3... Line 3...
3
import in.shop2020.thrift.clients.PaymentServiceClient;
3
import in.shop2020.thrift.clients.PaymentServiceClient;
4
 
4
 
5
import org.apache.struts2.rest.DefaultHttpHeaders;
5
import org.apache.struts2.rest.DefaultHttpHeaders;
6
import org.apache.struts2.rest.HttpHeaders;
6
import org.apache.struts2.rest.HttpHeaders;
7
 
7
 
8
public class PayerrorController extends BaseController{
8
public class PayErrorController extends BaseController{
9
	public static String AMOUNT = "amount";
9
	public static String AMOUNT = "amount";
10
	public static String TRACKID = "trackid";
10
	public static String TRACKID = "trackid";
11
	public static String TRACKID_CANCELLED = "trackId";
11
	public static String TRACKID_CANCELLED = "trackId";
12
	public static String RESULT = "ErrorText";
12
	public static String RESULT = "ErrorText";
13
	public static String AUTH = "auth";
13
	public static String AUTH = "auth";
Line 25... Line 25...
25
	String result;
25
	String result;
26
	String paymentId;
26
	String paymentId;
27
	
27
	
28
	PaymentServiceClient pclient = null;
28
	PaymentServiceClient pclient = null;
29
	
29
	
30
	public PayerrorController(){
30
	public PayErrorController(){
31
		try {
31
		try {
32
			pclient = new PaymentServiceClient();
32
			pclient = new PaymentServiceClient();
33
		} catch (Exception e) {
33
		} catch (Exception e) {
34
			// TODO Auto-generated catch block
34
			// TODO Auto-generated catch block
35
			e.printStackTrace();
35
			e.printStackTrace();