PHP code example of billie / shopware6-payment-module
1. Go to this page and download the library: Download billie/shopware6-payment-module library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
billie / shopware6-payment-module example snippets
/** @var \Shopware\Core\Framework\DataAbstractionLayer\EntityRepository $repository */
$repository->upsert([
[
\Billie\BilliePayment\Components\Order\Model\OrderDataEntity::FIELD_ID => 'ID of the Billie order data entity', // This is always
\Billie\BilliePayment\Components\Order\Model\OrderDataEntity::FIELD_EXTERNAL_DELIVERY_NOTE_URL => 'external delivery note url',
]
], \Shopware\Core\Framework\Context::createDefaultContext());
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.