No sandbox, no test account: why my Shopware integration for BestPrice.gr is now open source
DEV Community

No sandbox, no test account: why my Shopware integration for BestPrice.gr is now open source

I originally wanted to publish a Shopware 6 integration for BestPrice.gr in the Shopware Store. I have now published the source on GitHub under the MIT license instead.

One reason is straightforward: I could not obtain the developer test access needed to complete official integration testing. This is the story of an independent plugin, the difference between local checks and provider acceptance, and the questions I would resolve earlier in my next integration project.

What I built

BestPrice.gr is a Greek price comparison platform. My independent Shopware plugin prepares selected catalog data for a product feed; checkout, payments and orders remain in the merchant's Shopware store.

The implemented feed core includes:

  • XML product feeds and merchant CSV export.
  • Product selection through individual products, dynamic groups, categories, manufacturers and tags.
  • Field mapping using native product data, custom fields and property groups.
  • Actual EUR gross prices from the selected sales channel.
  • Local validation for required fields, URLs, prices, GTIN check digits and duplicate identifiers.
  • Scheduled feed generation, with the last valid feed preserved when a build fails.
  • A native Shopware Administration interface with German, English and Greek text.

The current compatibility target is deliberately narrow: Shopware 6.7.16.1, PHP 8.4 and MariaDB 10.11. The repository documents the implementation and its limits.

What I asked BestPrice for

I contacted BestPrice to ask about developer access, an isolated test merchant, official feed validation and a safe way to test possible BestPrice 360 functionality - BestPrice's order-tracking snippet for merchant shops. My inquiry also covered partnership options and permissions for optional features.

I explicitly excluded paid activation, credit purchases and synthetic conversions reported as real orders. I wanted a supported way to verify behavior without publishing fictitious products or creating live commercial activity.

BestPrice declined the request for test merchant accounts, sandbox environments and developer API/360 test keys. In a follow-up response, the team clarified that it does not offer a third-party developer program, sandbox environments, API access, branding rights or commercial data/competitor-analysis rights for external plugins.

According to that response, technical documentation and tools are reserved for active, registered merchants. That is the policy they communicated to me; I don't know the internal reasons behind it.

What the local tests actually establish

The local checks include 56 passing unit tests. The exact release ZIP was also installed and activated in an isolated Shopware installation. Reinstallation, deactivation and uninstall behavior with and without data retention were checked.

Some rules can be verified completely on your own machine. The GTIN check digit is a good example - it is pure arithmetic:

public function gtin(string $value): bool {
  if (!preg_match('/^(?:\d{8}|\d{12}|\d{13}|\d{14})$/D', $value)) {
    return false;
  }
  $digits = str_split(substr($value, 0, -1));
  $sum = 0;
  foreach (array_reverse($digits) as $i => $digit) {
    $sum += (int) $digit * ($i % 2 === 0 ? 3 : 1);
  }
  return (10 - $sum % 10) % 10 === (int) substr($value, -1);
}

A unit test can prove this function right or wrong. It cannot prove that BestPrice accepts a generated feed, interprets every field as intended or handles a merchant's real configuration correctly. A fixture written against my own assumptions cannot independently confirm those assumptions.

The distinction is reflected in the public verification record. Official BestPrice acceptance remains unverified.

There is also unfinished implementation

The missing account does not explain every remaining task. BestPrice 360 and consent/conversion processing are not implemented. Fashion grouping, some additional catalog attributes, historical analytics and automated repricing also remain incomplete. Tracking and market intelligence are disabled.

Price-preview, profitability and additional-feed code exists, but these features remain subject to Shopware In-App Purchase (IAP) checks - Shopware's mechanism for unlocking paid plugin features - with no active IAP offers for this release.

I want contributors to see those boundaries before investing their time. The project is a v0.9 community release, with its current status documented.

What I would establish earlier next time

For my next provider integration, I would clarify these points before committing to the full feature set:

  • Which account type can access the technical documentation and validation tools?
  • Can an independent developer obtain that account, or is an eligible merchant required?
  • Is there an official sample feed, schema or validation facility available before live enrollment?
  • What is the supported procedure for test events, especially conversions and payments?
  • Which additional permissions would optional features require?

The answers would determine how far I could verify the integration independently and what would need a separately authorized merchant or provider relationship.

I would also keep local test evidence and official provider acceptance visibly separate from the beginning. That makes the project's status easier for merchants, reviewers and contributors to assess.

Why publish it anyway?

The implemented code can still be useful to Shopware developers who want to inspect, adapt or improve a product-feed integration. Publishing it also lets me document the unresolved parts openly and invite reproducible feedback.

The MIT license covers this project's code only: it grants no BestPrice access, branding or data rights, and the project has no official BestPrice support, endorsement or certification.

You can find the project here: StPiGhBestPriceIntegration on GitHub. Issues, pull requests and technical feedback are welcome. If you have an eligible merchant relationship and are permitted to share non-sensitive validation findings, that feedback would be particularly useful. Please keep credentials, feed keys and customer data out of public issues.

How do you establish provider test access before starting an independent integration? Have you found a practical approach when a platform has no developer program?

I am Stefan Pilz, a freelance Shopware developer, working on plugins, integrations, customizations and technical support. stefanpilz.ltd ยท gh********@stefanpilz.ltd

Read on DEV Community ↗ ← Back to News

Comments

No comments yet. Start the discussion.