plentymarkets / plugin-payment-cash-in-advance

Official plentymarkets payment plugin for integrating the payment method Cash in advance in plentymarkets 7 online stores.
Other
0 stars 3 forks source link

Problem after install #2

Open gnusmus opened 7 years ago

gnusmus commented 7 years ago

payever: Syntax errors Plugin payever in File payeverServiceProvider.hh at line 0 call function not allowed

payever: Syntax errors Plugin payever in File payeverServiceProvider.hh at line 0 call use not allowed

payever: Syntax errors Plugin payever in File payeverServiceProvider.hh at line 0 call function not allowed

payever: Syntax errors Plugin payever in File payeverServiceProvider.hh at line 0 call use not allowed

PrePayment: "PrePaymentHelper.php" - unsupported file extension PrePayment: "PrePaymentHelper.php" - hackfiles in strict mode allowed only PrePayment: "PrePaymentServiceProvider.php" - unsupported file extension PrePayment: "PrePaymentServiceProvider.php" - hackfiles in strict mode allowed only PrePayment: "PrePaymentOrderConfirmationDataProvider.php" - unsupported file extension PrePayment: "PrePaymentOrderConfirmationDataProvider.php" - hackfiles in strict mode allowed only PrePayment: "PrePaymentPaymentMethod.php" - unsupported file extension PrePayment: "PrePaymentPaymentMethod.php" - hackfiles in strict mode allowed only PrePayment: "CreatePaymentMethod.php" - unsupported file extension PrePayment: "CreatePaymentMethod.php" - hackfiles in strict mode allowed only PrePayment: Syntax errors Plugin PrePayment in File PrePaymentServiceProvider.php at line 0 call function not allowed

PrePayment: Syntax errors Plugin PrePayment in File PrePaymentServiceProvider.php at line 0 call use not allowed

PrePayment: Syntax errors Plugin PrePayment in File PrePaymentServiceProvider.php at line 0 call function not allowed

PrePayment: Syntax errors Plugin PrePayment in File PrePaymentServiceProvider.php at line 0 call use not allowed

Syntax errors Plugin in File PaymentHelper.hh at line 288 Could not find member paymentRepository in an object of type payever\Helper\PaymentHelper $payment = $this->paymentRepository->createPayment($paymentData); Plugin in File PaymentHelper.hh at line 288 This is why I think it is an object of type payever\Helper\PaymentHelper $payment = $this->paymentRepository->createPayment($paymentData); Plugin in File PaymentHelper.hh at line 21 Declaration of payever\Helper\PaymentHelper is here class PaymentHelper Plugin in File PaymentHelper.hh at line 292 Could not find method addPaymentProperty in an object of type payever\Helper\PaymentHelper $this->addPaymentProperty($payment->id, array('typeId'=>3, 'value'=>'payeverPayID: '.(string)$payeverPayment->bookingText)); Plugin in File PaymentHelper.hh at line 292 This is why I think it is an object of type payever\Helper\PaymentHelper

$this->addPaymentProperty($payment->id, array('typeId'=>3, 'value'=>'payeverPayID: '.(string)$payeverPayment->bookingText)); Plugin in File PaymentHelper.hh at line 21 Declaration of payever\Helper\PaymentHelper is here class PaymentHelper

Plugin in File PaymentHelper.hh at line 296 Could not find member paymentRepository in an object of type payever\Helper\PaymentHelper $originConstants = $this->paymentRepository->getOriginConstants(); Plugin in File PaymentHelper.hh at line 296 This is why I think it is an object of type payever\Helper\PaymentHelper $originConstants = $this->paymentRepository->getOriginConstants(); Plugin in File PaymentHelper.hh at line 21 Declaration of payever\Helper\PaymentHelper is here class PaymentHelper Plugin in File PaymentHelper.hh at line 302 Could not find method addPaymentProperty in an object of type payever\Helper\PaymentHelper $this->addPaymentProperty($payment->id, array('typeId'=>23, 'value'=>$paymentPropertyValue)); Plugin in File PaymentHelper.hh at line 21 This is why I think it is an object of type payever\Helper\PaymentHelper class PaymentHelper Plugin in File PaymentHelper.hh at line 21 Declaration of payever\Helper\PaymentHelper is here class PaymentHelper Plugin in File PaymentHelper.hh at line 313 Was expecting a return type hint public function mapStatus(string $status) Plugin in File PaymentHelper.hh at line 313 Method name already bound: mapStatus public function mapStatus(string $status) Plugin in File PaymentHelper.hh at line 317 Could not find member paymentRepository in an object of type payever\Helper\PaymentHelper $statusConstants = $this->paymentRepository->getStatusConstants(); Plugin in File PaymentHelper.hh at line 317 This is why I think it is an object of type payever\Helper\PaymentHelper $statusConstants = $this->paymentRepository->getStatusConstants(); Plugin in File PaymentHelper.hh at line 21 Declaration of payever\Helper\PaymentHelper is here class PaymentHelper Plugin in File payeverRouteServiceProvider.hh at line 17 Was expecting a return type hint public function map(Router $router) Plugin in File payeverServiceProvider.hh at line 68 Unbound name: payever\Providers\GetPaymentMethodContent (an object type) $eventDispatcher->listen(GetPaymentMethodContent::class, Plugin in File payeverServiceProvider.hh at line 69 Unbound name: payever\Providers\GetPaymentMethodContent (an object type) function(GetPaymentMethodContent $event) use( $paymentHelper, $basket, $paymentService) Plugin in File payeverServiceProvider.hh at line 75 Could not find method getReturnType in an object of type payever\Services\PaymentService $event->setType( $paymentService->getReturnType()); Plugin in File payeverServiceProvider.hh at line 51 This is why I think it is an object of type payever\Services\PaymentService

PaymentService $paymentService, Plugin in File PaymentService.hh at line 19 Declaration of payever\Services\PaymentService is here class PaymentService

Plugin in File payeverServiceProvider.hh at line 80 Unbound name: payever\Providers\ExecutePayment (an object type) $eventDispatcher->listen(ExecutePayment::class, Plugin in File payeverServiceProvider.hh at line 81 Unbound name: payever\Providers\ExecutePayment (an object type) function(ExecutePayment $event) use ( $paymentHelper, $paymentService) Plugin in File payeverServiceProvider.hh at line 86 Could not find method executePayment in an object of type payever\Services\PaymentService $payeverPayment = $paymentService->executePayment(); Plugin in File payeverServiceProvider.hh at line 51 This is why I think it is an object of type payever\Services\PaymentService

PaymentService $paymentService, Plugin in File PaymentService.hh at line 19 Declaration of payever\Services\PaymentService is here class PaymentService

Plugin in File ContactService.hh at line 17 Please add a type hint private $contactRepository; Plugin in File ContactService.hh at line 44 You cannot have an array without generics in strict mode public function createContact(array $contact):Contact Plugin in File ContactService.hh at line 44 You cannot have an array without generics in strict mode public function createContact(array $contact):Contact Plugin in File PaymentService.hh at line 27 Was expecting a type hint public function getPaymentContent(Basket $basket, $mode = 'payever'):string Plugin in File PaymentService.hh at line 32 Undefined variable: $resultJson $links = $resultJson->links; Plugin in File PaymentService.hh at line 41 Could not find member returnType in an object of type payever\Services\PaymentService $this->returnType = 'redirectUrl'; Plugin in File PaymentService.hh at line 41 This is why I think it is an object of type payever\Services\PaymentService

$this->returnType = 'redirectUrl'; Plugin in File PaymentService.hh at line 19 Declaration of payever\Services\PaymentService is here class PaymentService

Plugin in File PaymentService.hh at line 41 Could not find member returnType in an object of type payever\Services\PaymentService $this->returnType = 'redirectUrl'; Plugin in File PaymentService.hh at line 19 This is why I think it is an object of type payever\Services\PaymentService class PaymentService Plugin in File PaymentService.hh at line 19 Declaration of payever\Services\PaymentService is here class PaymentService Plugin in File PaymentService.hh at line 48 Could not find member returnType in an object of type payever\Services\PaymentService $this->returnType = 'errorCode'; Plugin in File PaymentService.hh at line 19 This is why I think it is an object of type payever\Services\PaymentService class PaymentService Plugin in File PaymentService.hh at line 19 Declaration of payever\Services\PaymentService is here class PaymentService

I have this errors after install plugin

j-konopka commented 7 years ago

Hey,

the problem is that you use .hh and .php Files at the same time. Your System is running on php7 so you have to use *.php Files. You have to update your plugin files and start the build again.

For more support, please use the plugin category in our forum. https://forum.plentymarkets.com/c/plugin-entwicklung/plugin-payment

Greetings, Jens

gnusmus commented 7 years ago

Hi, but I cloned your plugin only and it is not displayed in checkout. Also I tried plugin-payment-invoice, plugin-payment-payuponpickup, but nothing is displayed in checkout. Do I need use *.php files only to develop payment plugin? Do you have instructions how to configure your payment plugins?

j-konopka commented 7 years ago

Hi, to show the payment plugins in the Webshop you have to use the new template. https://github.com/plentymarkets/callisto-4 And the LayoutCore https://github.com/plentymarkets/layout-core-4

For more instructions you can read your payment tutorial on our developer page. https://developers.plentymarkets.com/tutorials/payment

gnusmus commented 7 years ago

hm, I installed it http://www.screencast.com/t/aYbP30Ps6foA But in CMS -> Webdesign I see callisto_light_en_3_2 only ( http://www.screencast.com/t/jXFGtk7mjWEj )

Can I use trial version of plentymarkets for development?

gnusmus commented 7 years ago

http://www.screencast.com/t/Bg11gf0IdF0M. It is after activate PluginCallisto and PluginLayoutCore.

j-konopka commented 7 years ago

Yes you can use it for development. Please give me your domain or your plenty Id.

In CMS -> Webdesign you only see the old Design.

gnusmus commented 7 years ago

https://iqm.plentymarkets-cloud01.com

gnusmus commented 7 years ago

Will you help me?

j-konopka commented 7 years ago

Okay i checked your system. The main problem was that you have to use the "stable" branch from the template plugins. I switch that for your. But at the moment we have a globally problem to build the plugins.

Please open a topic with this issue in your forum. We will inform you, if it is possible to build the plugins. Sry for that. Please use this category: https://forum.plentymarkets.com/c/plugin-entwicklung/plugin-payment

In your system you can create a forum user. Please read this manual page: https://www.plentymarkets.co.uk/manual/working-with-plentymarkets/manage-users/#11

gnusmus commented 7 years ago

Can I develop a payment plugin now? Or is it not working now?