shopware-6 | PAYONE Payment Plugin for Shopware | Ecommerce library
kandi X-RAY | shopware-6 Summary
kandi X-RAY | shopware-6 Summary
This plugin enables merchants to accept payments in a simple and convenient way. We offer state-of-the art integration of the most used payment methods directly into your checkout.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Get payment parameters .
- Get hash data .
- Calculate the cart .
- Redirect to Paypal
- Makes a request to Pay1 .
- Send a Payone payment transaction .
- Updates the payment availability rule .
- Validate the ApplePay gateway .
- Transforms the transaction according to configuration data .
- Map the orderLineItems to a request array .
shopware-6 Key Features
shopware-6 Examples and Code Snippets
Community Discussions
Trending Discussions on shopware-6
QUESTION
I have a similar setup as described here. The only difference is that I'm building the whole project in my pipeline. This runs without problems and the code is deployed to the server without any issues. Deployer creates a new folder for the release and symlinks the "current" folder to this new release. I also make sure to run update commands for the plugins on the target server and clear the cache multiple times. Similar to this deployer recipe. This all goes off without a hitch.
Where I'm at a loss though is that the actual changes made to the project/plugins can take hours to show up. For example: when upgrading the Shopware version, the administration will still display the old version after deployment.
After further investigation I also found that the cache is still being written in the directory of the previous release (or a few releases back if multiple deployments happen in a short time).
It seems like Shopware/Symfony is resolving the symlink of the "current" folder to the actual path of that release and storing/caching this somewhere. So when a new release is made, it just keeps using the path to the old release.
What I have tried so far:
Setting the PROJECT_ROOT env variable to the "current" folder. Unfortunately this gives issues when running db migrations during deployment.
Running the system:update:finish command after deployment.
Deleting the whole cache directory after deployment.
Has anybody run into similar issues and knows how to fix this? It's obviously not feasible to wait hours for the new deployment to 'kick in' in a production environment.
...ANSWER
Answered 2022-Apr-17 at 00:57See my answer to the comment by Julien B. Turns out the opcache was not clearing correctly.
I'm using a managed cloud server and I don't have the rights to restart the server via the command line (only via the control panel). Restarting the whole server also seems kind of an overkill. I do have the rights to clear the opcache. It turns out this was the issue. I had already tried it, but for some reason it doesn't always clear the cache correctly, so now I just clear it twice after deployment and the changes take effect.
QUESTION
I created a plugin in which I would like to send a Mail to a customer.
It would be really convenient to use the email templates, since they are editable in the admin panel. The problem here is that the email templates need a type and I could not find a generic type, but only specific ones.
Should I create my own email template type? Or is there another way to use a template? Do I have to do it without Templates?
...ANSWER
Answered 2022-Mar-10 at 17:04To add a new type of email template which you can then select in the admin panel, you have to use a migration. See here for an example.
Then you can use the description in the section "An advanced email service for Shopware 6" in the tutorial to trigger the mail.
QUESTION
I have been following The developer training (SW6).
It seems like the author skipped some important information.
My question is why footer.html.twig
, footer was not visible in case of video but in my case it is displayed.
Did anyone encounter the same issue?
...ANSWER
Answered 2020-Dec-04 at 06:25A few things
- make sure your plugin is installed and active
- always make sure to clear the cash, e.g
psh cache
within the dev template, that's a common mistake to not clear the cache, while working with views - you should extend from the core twig file e.g
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install shopware-6
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page