omnipay icon indicating copy to clipboard operation
omnipay copied to clipboard

Values not being passed to WorldPay from Sylius website

Open KirbyFox opened this issue 8 years ago • 0 comments
trafficstars

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.

KirbyFox avatar Aug 22 '17 09:08 KirbyFox