/** @return EcommercePaymentRequest*/ protected function provideMinimalPaymentRequest() { $paymentRequest = new EcommercePaymentRequest(new FakeShaComposer()); $paymentRequest->setPspid('123456789'); $paymentRequest->setOrderid('987654321'); $paymentRequest->setOgoneUri(EcommercePaymentRequest::TEST); // minimal required fields for ogone (together with pspid and orderid) $paymentRequest->setCurrency("EUR"); $paymentRequest->setAmount(100); // these fields are actually optional but are good practice to be included $paymentRequest->setCustomername("Louis XIV"); $paymentRequest->setOwnerAddress("1, Rue du Palais"); $paymentRequest->setOwnerTown("Versailles"); $paymentRequest->setOwnerZip('2300'); $paymentRequest->setOwnerCountry("FR"); $paymentRequest->setEmail("*****@*****.**"); return $paymentRequest; }