Open KirbyFox opened 7 years ago
Within OmnipayBridge/Action/OffsiteCaptureAction.php I had to add the following line of code to the execute() function in order to get the cartId passed to WorldPay.
$details['transactionId'] = $request->getToken()->getDetails()->getId();
However, the installationId and accountId are still not being passed to WorldPay.
I've tried adding the following lines to the execute() function but those values are still not being passed and the payment fails.
$details['installationId'] = $this->omnipayGateway->getInstallationId(); $details['accountId'] = $this->omnipayGateway->getAccountId();
https://github.com/Payum/OmnipayBridge/blob/master/src/Action/OffsiteCaptureAction.php
Please could someone suggest what I am doing wrong.
Within OmnipayBridge/Action/OffsiteCaptureAction.php I had to add the following line of code to the execute() function in order to get the cartId passed to WorldPay.
$details['transactionId'] = $request->getToken()->getDetails()->getId();
However, the installationId and accountId are still not being passed to WorldPay.
I've tried adding the following lines to the execute() function but those values are still not being passed and the payment fails.
$details['installationId'] = $this->omnipayGateway->getInstallationId(); $details['accountId'] = $this->omnipayGateway->getAccountId();
https://github.com/Payum/OmnipayBridge/blob/master/src/Action/OffsiteCaptureAction.php
Please could someone suggest what I am doing wrong.