pfpayments / shopware-6 Goto Github PK
View Code? Open in Web Editor NEWPostFinance Checkout integration for Shopware 6
License: Apache License 2.0
PostFinance Checkout integration for Shopware 6
License: Apache License 2.0
Hi!
I have 6.4.20 running and tried to use the lastest Version of the post finance plugin.
I had PHP 8.1 installed on the server. but Postfinance always resulted in an error. Same for PHP 8.0. I then rolled back to PHP 7.4 and payment did work again.
Can you please test your plugin, if payment process is also failing when placing the order?
Error Log.
[2023-04-16T01:27:23.347167+00:00] postfinancecheckout_payment.CRITICAL: An exception occurred while executing 'INSERT INTO media_default_folder
(id
, association_fields
, entity
, created_at
) VALUES ('N�)2n‚Hã® =Ëp��ã','[]','payment_method_105788','2023-04-16 01:27:23.345');': SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'payment_method_105788' for key 'uniq.media_default_folder.entity'
Seit dem letzten Update auf Version: 4.0.44 sehe ich leider unter Einstellungen -> Erweiterungen keine "Postfinance Checkout" option mehr. Das Plugin und Postfinance Checkout Flex ist für mich momentan so unbrauchbar.
Gibts da ein Fix?
Beste Grüsse
Hello.
Your plugin is collecting Order+Customer data during the Checkout process for every order regardless of whether PostFinance is selected by the Customer.
Could you please stop doing this?
Thank you!
Hi,
Die installation ist viel zu komplziert.
Beide installationen sind composer abhängig.
Ein Otto normal Nutzer hat keinen Shell zugang geschweige denn zugriff auf Composer oder das knowhow.
Composer ist auch bei einem normalen hosting nicht immer installiert.
Für eine installation müssen wir derzeit das Plugin auf einem anderen Server hochladen wo wir composer haben.
Dort die Composer json anpassen und die Shopware abhängigkeiten raus löschen. Weil wir da kein Shopware haben.
Dann composer install ausführen. Eine Zip Datei erstellen aus den Ordnern/Dateien die man direkt im Admin von shopware hochladen kann. Viel zu umständlich. Mit ein paar kniffen für Ihren Release könnte das Plugin direkt im Admin hochgeladen werden.
Bitte ein Release raus bringen den man direkt im Shopware Admin hochladen kann auf der Plugin Seite.
In diesem Release sollten auch gleich die nötigen Bibliotheken (Composer "vendor" Ordner) integriert sein.
Sie können diesen ja mit einem neuen release auch gleich updaten. Falls sich die Bibiliotheken aktualisiert haben.
Damit der Upload klappt muss nur noch der Ordner und die Zipdatei den korrekten namen haben.
Ordner Struktur innerhalb der Zip Datei PostFinanceCheckoutPayment.zip
Dann kann man es endlich ganz simple im Admin hochladen.
Gruß Christian
Hi,
I just installed the new Shopware Version with the latest Version of your Plugin and it caused this issue:
Attempted to load class "TransactionState" from namespace "PostFinanceCheckout\Sdk\Model".
Did you forget a "use" statement for another namespace?
Symfony\Component\ErrorHandler\Error\ClassNotFoundError:
Attempted to load class "TransactionState" from namespace "PostFinanceCheckout\Sdk\Model".
Did you forget a "use" statement for another namespace?
at /home/xyz.com/htdocs/shopware/vendor/symfony/config/Resource/ReflectionClassResource.php:146
at ReflectionClass->getDefaultProperties()
(/home/xyz.com/htdocs/shopware/vendor/symfony/config/Resource/ReflectionClassResource.php:146)
at Symfony\Component\Config\Resource\ReflectionClassResource->generateSignature()
(/home/xyz.com/htdocs/shopware/vendor/symfony/config/Resource/ReflectionClassResource.php:115)
at Symfony\Component\Config\Resource\ReflectionClassResource->computeHash()
(/home/xyz.com/htdocs/shopware/vendor/symfony/config/Resource/ReflectionClassResource.php:72)
at Symfony\Component\Config\Resource\ReflectionClassResource->__sleep()
at serialize()
(/home/xyz.com/htdocs/shopware/vendor/symfony/config/ResourceCheckerConfigCache.php:131)
at Symfony\Component\Config\ResourceCheckerConfigCache->write()
(/home/xyz.com/htdocs/shopware/vendor/symfony/http-kernel/Kernel.php:750)
at Symfony\Component\HttpKernel\Kernel->dumpContainer()
(/home/xyz.com/htdocs/shopware/vendor/shopware/core/Kernel.php:406)
at Shopware\Core\Kernel->dumpContainer()
(/home/xyz.com/htdocs/shopware/vendor/symfony/http-kernel/Kernel.php:556)
at Symfony\Component\HttpKernel\Kernel->initializeContainer()
(/home/xyz.com/htdocs/shopware/vendor/shopware/core/Kernel.php:188)
at Shopware\Core\Kernel->boot()
(/home/xyz.com/htdocs/shopware/vendor/shopware/core/HttpKernel.php:122)
at Shopware\Core\HttpKernel->doHandle()
(/home/xyz.com/htdocs/shopware/vendor/shopware/core/HttpKernel.php:75)
at Shopware\Core\HttpKernel->handle()
(/home/xyz.com/htdocs/shopware/public/index.php:85)
As described in Adding Complex Data to Existing Entities in Shopware documentation, this plugin must implement an extension point. Manipulating the order
table as done in Migration1590646356OrderEntity.php is incorrect.
Please stick to the documentation and stop breaking the Shopware core!
Hi! I have this issue with the Plugin. can you fix that? it is blocking me from updating / activating / deactivating all other plugins in my shopware installation.
Error log:
[2022-08-24T09:34:37.199389+00:00] php.CRITICAL: Uncaught Error: Class 'PostFinanceCheckout\Sdk\Model\TransactionState' not found {"exception":"[object] (Error(code: 0): Class 'PostFinanceCheckout\Sdk\Model\TransactionState' not found at /home//www.xyz.com/htdocs/shopware/vendor/symfony/config/Resource/ReflectionClassResource.php:146)"} []
[2022-08-24T09:34:39.076313+00:00] request.CRITICAL: Uncaught PHP Exception Symfony\Component\ErrorHandler\Error\ClassNotFoundError: "Attempted to load class "TransactionState" from namespace "PostFinanceCheckout\Sdk\Model". Did you forget a "use" statement for another namespace?" at /home//www.xyz.com/htdocs/shopware/vendor/symfony/config/Resource/ReflectionClassResource.php line 146 {"exception":"[object] (Symfony\Component\ErrorHandler\Error\ClassNotFoundError(code: 0): Attempted to load class "TransactionState" from namespace "PostFinanceCheckout\Sdk\Model".\nDid you forget a "use" statement for another namespace? at /home//www.xyz.com/htdocs/shopware/vendor/symfony/config/Resource/ReflectionClassResource.php:146)"} []
when i activate the plugin the config is available, but if I leave the page and come back then it is no longer available and i have to deactivate/activate to get the option to enter the config menu.
i did not enter the config menu straight away.
only after i added the credentials the other config menu appeared.
also the command composer require postfinancecheckout/shopware-6 does not find the plugin, i had to do a manual install.
Payment Methods not belonging to Postfinance will be removed by the changes in 5.0.4
If i had to guess, i would say the problem belongs to this change:
5.0.3...5.0.4#diff-fa91b757d36a09fcc842189e62624e70c563476df2c9054daf02d4df96758a9bR177
We switched back to 5.0.3 and the Shopware default payment methods Prepayment and Invoice are able to be shown now.
Shopware v6.5.6.0 - Symfony Flex template
If the Webhook requests a Order which does no longer Exist the following Error will be returned:
Attempted to load class OrderNotFoundException from namespace Shopware\Core\Checkout\Cart\Exception.
Did you forget a use statement for Swag\PayPal\OrdersApi\Administration\Exception\OrderNotFoundException
This is because the referenced Class no longer exists in Shopware Core.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.