A Symfony bundle providing seamless integration for the wundii/afterbuy-sdk.
- CreateShopOrder
- GetAfterbuyTime
- GetListerHistory
- GetMailTemplates
- GetPaymentServices
- GetProductDiscounts
- GetShippingCost
- GetShippingServices
- GetShopCatalogs
- GetShopProducts
- GetSoldItems
- GetStockInfo
- GetTranslatedMailTemplate
- UpdateCatalogs
- UpdateShopProducts
- UpdateSoldItems
Require the bundle and its dependencies with composer:
composer require wundii/afterbuy-sdk-symfony-bundle
Include the bundle in your bundles.php
:
return [
// ...
Wundii\AfterbuySdk\SymfonyBundle\AfterbuySdkBundle::class => ['all' => true],
];
Create a Symfony configuration file config/packages/afterbuy_sdk.yaml
with the command:
bin/console afterbuy-sdk:default-config
The following setting options are available
afterbuy_sdk:
afterbuy_global:
accountToken: <your_account_token> / "%env(...)%"
partnerToken: <your_partner_token> / "%env(...)%"
endpointEnum: sandbox
errorLanguageEnum: DE
logger_interface: <your_logger_interface_class_string>
validatorBuilder: <your_validatorBuilder_class_string>
when@test:
afterbuy_sdk:
afterbuy_global:
endpointEnum: sandbox
when@prod:
afterbuy_sdk:
afterbuy_global:
endpointEnum: prod
bin/console cache:clear