Examples of PSIGate


Examples of com.jada.xml.paymentGateway.PSIGate

      }
      authorizeNet.setEnvironment(form.getAuthorizeNetEnvironment());
      paymentGatewayData = Utility.joxMarshall("AuthorizeNet", authorizeNet);
    }
    if (provider.equals(PsiGateEngine.class.getSimpleName())) {
      PSIGate psiGate = new PSIGate();
      if (!insertMode) {
        psiGate = (PSIGate) Utility.joxUnMarshall(PSIGate.class, paymentGatewayData);
      }
      psiGate.setStoreId(form.getPsiGateStoreId());
      if (!Format.isNullOrEmpty(form.getPsiGatePassPhrase())) {
        psiGate.setPassPhrase(form.getPsiGatePassPhrase());
      }
      psiGate.setEnvironment(form.getPsiGateEnvironment());
      paymentGatewayData = Utility.joxMarshall("PSIGate", psiGate);
    }
    if (provider.equals(PayPalEngine.class.getSimpleName())) {
      PayPalExpressCheckOut payPalExpressCheckOut = new PayPalExpressCheckOut();
      if (!insertMode) {
View Full Code Here

Examples of com.jada.xml.paymentGateway.PSIGate

        form.setAuthorizeNetLoginId(authorizeNet.getLoginId());
//        form.setAuthorizeNetTranKey(authorizeNet.getTranKey());
        form.setAuthorizeNetEnvironment(authorizeNet.getEnvironment());
      }
      if (provider.equals(PsiGateEngine.class.getSimpleName())) {
        PSIGate psiGate = (PSIGate) Utility.joxUnMarshall(PSIGate.class, data);
        form.setPsiGateStoreId(psiGate.getStoreId());
//        form.setPsiGatePassPhrase(psiGate.getPassPhrase());
        form.setPsiGateEnvironment(psiGate.getEnvironment());
      }
      if (provider.equals(PayPalEngine.class.getSimpleName())) {
        PayPalExpressCheckOut payPalExpressCheckOut = (PayPalExpressCheckOut) Utility.joxUnMarshall(PayPalExpressCheckOut.class, data);
        if (payPalExpressCheckOut.getPaymentPaypalCustClassId() != null) {
          form.setPaymentPaypalCustClassId(payPalExpressCheckOut.getPaymentPaypalCustClassId().toString());
View Full Code Here

Examples of com.jada.xml.paymentGateway.PSIGate

  static Logger logger = Logger.getLogger(PsiGateEngine.class);
 
  public PsiGateEngine(Site site, Long paymentGatewayId) throws Exception {
    this.site = site;
    PaymentGateway paymentGateway = PaymentGatewayDAO.load(site.getSiteId(), paymentGatewayId);
    PSIGate psiGate = (PSIGate) Utility.joxUnMarshall(PSIGate.class, paymentGateway.getPaymentGatewayData());

    String value = "";
    SiteDomainParamBean siteDomainParamBean = SiteDomainDAO.getSiteDomainParamBean(site.getSiteDomainDefault().getSiteDomainLanguage(),
                                             site.getSiteDomainDefault().getSiteDomainLanguage());
   
    storeId = psiGate.getStoreId();
    passphrase = psiGate.getPassPhrase();
    environment = psiGate.getEnvironment();

    bname = siteDomainParamBean.getBusinessContactName();
    bcompany = siteDomainParamBean.getBusinessCompany();
    baddress1 = siteDomainParamBean.getBusinessAddress1();
    baddress2 = siteDomainParamBean.getBusinessAddress2();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.