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 (#481)

* 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 authored May 2, 2024
1 parent 95b8b56 commit c78513e
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 @@ -25,6 +25,7 @@
use Spryker\Zed\PickingList\Communication\Plugin\Oms\IsPickingListGenerationFinishedConditionPlugin;
use Spryker\Zed\PickingList\Communication\Plugin\Oms\IsPickingStartedConditionPlugin;
use Spryker\Zed\ProductBundle\Communication\Plugin\Oms\ProductBundleReservationPostSaveTerminationAwareStrategyPlugin;
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 @@ -105,6 +106,7 @@ protected function extendCommandPlugins(Container $container): Container
$commandCollection->add(new SendCapturePaymentMessageCommandPlugin(), 'Payment/Capture');
$commandCollection->add(new SendRefundPaymentMessageCommandPlugin(), 'Payment/Refund');
$commandCollection->add(new SendCancelPaymentMessageCommandPlugin(), 'Payment/Cancel');
$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 c78513e

Please sign in to comment.