Subversion Repositories SmartDukaan

Rev

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

Rev 9630 Rev 9631
Line 443... Line 443...
443
			snapdealOrder.setSnapdealTxnDate(snapdealTxnDate.getTime());
443
			snapdealOrder.setSnapdealTxnDate(snapdealTxnDate.getTime());
444
			snapdealOrder.setListingPrice(order.getSellingPricePerItem());
444
			snapdealOrder.setListingPrice(order.getSellingPricePerItem());
445
			snapdealOrder.setMaxNlc(snapdealItem.getMaxNlc());
445
			snapdealOrder.setMaxNlc(snapdealItem.getMaxNlc());
446
			try {
446
			try {
447
				transaction_client.createSnapdealOrder(snapdealOrder);
447
				transaction_client.createSnapdealOrder(snapdealOrder);
448
				new PaymentClient().getClient().updatePaymentDetails(paymentId, null, null, null, null, null, null, Long.toString(subOrderId), null, PaymentStatus.SUCCESS, null, null);
448
				new PaymentClient().getClient().updatePaymentDetails(paymentId, null, null, null, null, null, null, subOrderId, null, PaymentStatus.SUCCESS, null, null);
449
 
449
 
450
			} catch (TException e) {
450
			} catch (TException e) {
451
				logger.error("Could not create Snapdeal Order");
451
				logger.error("Could not create Snapdeal Order");
452
				sb.append(order.getSuborderId() + " Could not create snapdeal order"+"\n");
452
				sb.append(order.getSuborderId() + " Could not create snapdeal order"+"\n");
453
			} catch (PaymentException e) {
453
			} catch (PaymentException e) {