Attempting to send a purchase to WorldPay results in a PurchaseResponse object being returned seemingly without any attempt being made to contact WorldPay servers?
Here's the code:
$gateway = Omnipay::create('WorldPay');
$gateway->setInstallationId('123456');
$gateway->setTestMode(true);
$data = array(
'amount' => '10.00',
'card' => array(
'cvv' => '123',
'expiryMonth' => '6',
'expiryYear' => '2016',
'number' => '4242424242424242'
),
'currency' => 'GBP',
'returnUrl' => 'http://returnurl.com'
);
$response = $gateway->purchase($data)->send();
A look through the code for the plugin shows no access being attempted to WorldPay servers. What am I missing?
Per this github issue, no data is expected to be sent to worldpay:
https://github.com/omnipay/worldpay/issues/1