OpenBravo with CreditCall EMV integration

 

Client Configuration

 

 

 

<?xml version=”1.0″ encoding=”utf-8″?>

<!–File should be named client.config.xml and placed in same directory as client sample –>

<ChipDnaClient version=”1.0.0″>

<!– Must match Terminal attribute posid in server config –>

<PosId>Till1</PosId>

<!– Key can be obtained from gateway control pannel –>

<ApiKey>32X322S8dzvC565F62hfGD548FMkZ674</ApiKey>

<!– Must match socket tag from server config–>

<Server>127.0.0.1:1869</Server>

</ChipDnaClient>

 

 

 

 

 

  1. PaymentPanelEMV.java

 

package com.openbravo.pos.payment;

 

  1. PaymentGatewayFac.java

package com.openbravo.pos.payment;

 

  1. PaymentGatewayCreditCall.java

package com.openbravo.pos.payment;

 

  1. JPanelConfigPayment.java

com.openbravo.pos.config;

 

  1. CreditCall.java

com.bm.pos.payment;

 

 

 

 

 

 

StartPOS.java

 

 

Pos_message.properties

label.emvterminalid=Terminal ID

lable.emvserverip=Server IP

 

 

For the signature integration;

 

 

 

PaymentPanelEMV.java

 

if (transactionFinishedEvent == true && (resetMsg != null && (resetMsg.indexOf(“UPDATE:Removed”) != -1 || resetMsg.indexOf(“SIGNATURE_CAPTURED”) != -1))) {

 

CreditCall.java

if (item.getKey().equals(ParameterKeys.SignatureCaptured) && item.getValue().equals(“True”)) {

retrunValues = retrunValues+”SIGNATURE_CAPTURED”;

 

 

server config example for Ingenico-iSC250-RBA

 

-<Terminal posid=”KINGT2″>

-<PaymentDevices>

-<PaymentDevice>

<Model>Ingenico-iSC250-RBA</Model>

<!– comment out previous line and uncomment one of the following lines for different terminal support –>

<!–Model>Ingenico-iSC250-RBA</Model–>

<!–Model>VeriFone-Mx915-XPI</Model–>

<!–Model>VeriFone-Vx820-XPI</Model–>

<!– id is located on the back of the device, typically looks like 2216340PT015555–>

<Id>xxxxx</Id>

<Protocol>serial</Protocol>

<Port>COM5</Port>

<Baudrate>115200</Baudrate>

<Parity>none</Parity>

<Stopbits>1</Stopbits>

<Databits>8</Databits>

<StandbyMessage>Kaaa</StandbyMessage>

</PaymentDevice>

</PaymentDevices>

</Terminal>

 

MAke sur eto have proper com port number

[Magento 2] Authorized.net completion pending or error issue (Not moving to next page.)

The Magento 2 improves in many ways but it is still lagging with many small issues to use properly.
The major credit card processing that is the Authorized.net direct post way which is processing properly at the backend.
I can see the transaction that is successfully in placed at the authrozed.net and admin console got the order properly.
but the page was not moving at all after the completion of payment from the client side.

The solution should be temporary but it is working fine at this moment.
The Magento version is 2.1.1 and authorized.net direct post.

From /shop/vendor/magento/module-authorizenet/Model/Directpost.php,
You should comment out the $this->checkTransId(); as below sameple;

protected function processOrder(\Magento\Sales\Model\Order $order)
{
try {
$this->checkResponseCode();
//$this->checkTransId();
} catch (\Exception $e) {
//decline the order (in case of wrong response code) but don’t return money to customer.
$message = $e->getMessage();
$this->declineOrder($order, $message, false);
throw $e;
}

error: Content is protected !!