Open gnusmus opened 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
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?
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
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?
http://www.screencast.com/t/Bg11gf0IdF0M. It is after activate PluginCallisto and PluginLayoutCore.
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.
Will you help me?
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
Can I develop a payment plugin now? Or is it not working now?
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
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
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
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
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