I am trying to integrate a payment gateway (PayU) to an ExpressionEngine2 website. I have created the payment gateway extension and believe I have the required code to execute the payment.
When I do the checkout and I reach the credit card payment stage and clicking on 'Pay', I get the following error:
Fatal error: Class 'Omnipay\PayU\Message\SoapVar' not found in C:\wamp\www\flook\trunk\backend\expressionengine\third_party\store_payu\Omnipay\PayU\Message\PurchaseRequest.php on line 182
I have also tried to use the SimpleXMLElement() object in php, but get the same error (SimpleXMLElement not found in...). It's as if objects may not be used within this PurchaseRequest class.
I have activated the php_soap extension in my wamp server and restarted it, but still get the same error. Is there perhaps something else I am missing?