Skip to content

Commit

Permalink
Auto-updating Spryker modules on 2024-04-30 13:25 for release group #…
Browse files Browse the repository at this point in the history
…5367 / Jira ticket ACP-2252 (#440)

* Applied release group `ACP-2252 Stripe B2B/B2C App: Support for Refunds in OMS`, RG link https://api.release.spryker.com/release-group/5367

* ACP-2252: Fixed test

---------

Co-authored-by: upgrader <upgrader@spryker.com>
Co-authored-by: Anton Zubariev <anton.zubariev@spryker.com>
  • Loading branch information
3 people committed May 2, 2024
1 parent d606f61 commit effb411
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 19 deletions.
39 changes: 21 additions & 18 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions src/Pyz/Zed/Oms/OmsDependencyProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
use Spryker\Zed\ProductBundle\Communication\Plugin\Oms\ProductBundleReservationPostSaveTerminationAwareStrategyPlugin;
use Spryker\Zed\ProductPackagingUnit\Communication\Plugin\Oms\ProductPackagingUnitOmsReservationAggregationPlugin;
use Spryker\Zed\ProductPackagingUnit\Communication\Plugin\Reservation\LeadProductReservationPostSaveTerminationAwareStrategyPlugin;
use Spryker\Zed\Refund\Communication\Plugin\Oms\RefundCommandPlugin;
use Spryker\Zed\SalesInvoice\Communication\Plugin\Oms\GenerateOrderInvoiceCommandPlugin;
use Spryker\Zed\SalesPayment\Communication\Plugin\Oms\SendCancelPaymentMessageCommandPlugin;
use Spryker\Zed\SalesPayment\Communication\Plugin\Oms\SendCapturePaymentMessageCommandPlugin;
Expand Down Expand Up @@ -160,6 +161,7 @@ protected function extendCommandPlugins(Container $container): Container
$commandCollection->add(new SendCancelPaymentMessageCommandPlugin(), 'Payment/Cancel');
$commandCollection->add(new SendOrderStatusChangedMessagePlugin(), 'Order/RequestProductReviews');
$commandCollection->add(new SubmitPaymentTaxInvoicePlugin(), 'TaxApp/SubmitPaymentTaxInvoice');
$commandCollection->add(new RefundCommandPlugin(), 'Payment/Refund/Confirm');

return $commandCollection;
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class PaymentRefundedMessageCest
/**
* @var string
*/
public const FINAL_ITEM_STATE = 'payment refunded';
public const FINAL_ITEM_STATE = 'payment refund succeeded';

/**
* @param \PyzTest\Zed\MessageBroker\PaymentPresentationTester $I
Expand Down

0 comments on commit effb411

Please sign in to comment.