Shopware Performance Alert: PayPal SDK Double-Loading Impacts Page Speed
A recent discussion in the Shopware community forum has brought to light a significant performance bottleneck affecting stores utilizing the official PayPal plugin. Merchants are reporting noticeable slowdowns in page load times, directly attributed to the PayPal SDK being loaded redundantly on key pages, particularly the homepage.
The Core Issue: Duplicate PayPal SDK Loading
The central problem, as identified by users and confirmed through PageSpeed and Lighthouse tests, is that the PayPal SDK is being loaded twice when the SwagPaypal plugin is active. This duplication results in approximately 265 KiB of unnecessary JavaScript being fetched, causing a measurable delay in page rendering and negatively impacting overall site performance and SEO scores.
One user, robertschoenfeld_1, highlighted this issue by linking to two crucial GitHub entries from the official Shopware repository:
- GitHub Issue #826: 'Paypal SDK is loaded twice on main page'
This issue, opened bydgruetershopwareon September 15, 2026, explicitly details the problem. It states that Shopware version 6.7.13.1 with PayPal plugin 10.8.3 exhibits this double-loading behavior. The issue emphasizes that loading the SDK twice can lead to errors and significant delays, referencing a similar past issue (shopware/shopware/issues/6277). This confirms that the problem is acknowledged and being officially tracked by Shopware. - GitHub Pull Request #468: 'feat: paypal sdk v6'
Dating back to November 19, 2025, this pull request indicates ongoing development to update the PayPal SDK to version 6. While not directly addressing the 'double load' bug, its 'ToDo list' includes items like 'Preload sdk + message script via script tag', 'Load SDK faster', 'Fetch client token dynamically on cached sites', and 'deprecate old scripts'. These efforts suggest a broader focus on optimizing SDK loading and integration, which could potentially resolve or mitigate the reported issue in future releases.
Community and Official Response
The forum discussion, initiated on October 8, 2026, quickly received attention. raymond-de, likely a Shopware community or support representative, requested users to create documented tickets in account.shopware.com. This is a standard procedure to ensure that critical bugs are properly logged, prioritized, and addressed by the development team.
Impact on Merchants and Developers
For e-commerce merchants, page load speed is paramount. Slow loading times can lead to higher bounce rates, reduced conversion rates, and lower search engine rankings. The PayPal plugin is a fundamental payment gateway for many Shopware stores, making this performance issue a critical concern.
Developers and store owners currently experiencing this issue should monitor GitHub Issue #826 for updates and consider submitting their own detailed reports via account.shopware.com to contribute to the resolution process. While there's no immediate user-side fix, the active development on SDK v6 and the acknowledgment of the double-loading bug provide hope for a comprehensive solution in upcoming plugin versions.